Condition Coverage

blib/lib/Lingua/YaTeA/PhraseSet.pm
Criterion Covered Total %
condition 38 144 26.3


and 3 conditions

line !l l&&!r l&&r condition
53 53 50 3 $option_set->optionExists('termino') and scalar keys %$term_frontiers_h > 0
66 0 34 72 &blessed($phrase) and $phrase->isa('Lingua::YaTeA::MultiWordPhrase')
117 0 34 0 defined $option_set->getOption('monolexical-all') and $option_set->getOption('monolexical-all')->getValue == 1
148 0 34 72 &blessed($phrase) and $phrase->isa('Lingua::YaTeA::MultiWordPhrase')
378 0 128 112 &blessed($term_candidate) and $term_candidate->isa('Lingua::YaTeA::MultiWordTermCandidate')
128 96 16 &blessed($term_candidate) and $term_candidate->isa('Lingua::YaTeA::MultiWordTermCandidate') and $term_candidate->containsIslands
387 0 2 0 defined $option_set->getOption('monolexical-included') and $option_set->getOption('monolexical-included')->getValue == 1
405 0 0 0 &blessed($phrase) and $phrase->isa('Lingua::YaTeA::MultiWordPhrase')
449 0 0 0 &blessed($term_candidate) and $term_candidate->isa('Lingua::YaTeA::MultiWordTermCandidate')
515 0 128 112 &blessed($term_candidate) and $term_candidate->isa('Lingua::YaTeA::MultiWordTermCandidate')
0 128 112 $term_list_style eq 'multi' and (&blessed($term_candidate) and $term_candidate->isa('Lingua::YaTeA::MultiWordTermCandidate'))
536 0 0 112 &blessed($term_candidate) and $term_candidate->isa('Lingua::YaTeA::MultiWordTermCandidate')
587 0 0 0 &blessed($term_candidate) and $term_candidate->isa('Lingua::YaTeA::MultiWordTermCandidate')
0 0 0 $term_list_style eq 'multi' and (&blessed($term_candidate) and $term_candidate->isa('Lingua::YaTeA::MultiWordTermCandidate'))
652 0 0 0 &blessed($term_candidate) and $term_candidate->isa('Lingua::YaTeA::MultiWordTermCandidate')
0 0 0 $term_list_style eq 'multi' and (&blessed($term_candidate) and $term_candidate->isa('Lingua::YaTeA::MultiWordTermCandidate'))
721 0 0 0 &blessed($term_candidate) and $term_candidate->isa('Lingua::YaTeA::MultiWordTermCandidate')
0 0 0 $term_list_style eq 'multi' and (&blessed($term_candidate) and $term_candidate->isa('Lingua::YaTeA::MultiWordTermCandidate'))
735 0 0 0 &blessed($term_candidate) and $term_candidate->isa('Lingua::YaTeA::MultiWordTermCandidate')
800 0 0 0 &blessed($phrase) and $phrase->isa('Lingua::YaTeA::MultiWordPhrase')
806 0 0 0 $file ne 'stdout' and $file ne 'stderr'
836 0 0 0 &blessed($phrase) and $phrase->isa('Lingua::YaTeA::MultiWordPhrase')
842 0 0 0 $file ne 'stdout' and $file ne 'stderr'
869 0 128 112 &blessed($term_candidate) and $term_candidate->isa('Lingua::YaTeA::MultiWordTermCandidate')
0 128 112 $ttg_style eq 'multi' and (&blessed($term_candidate) and $term_candidate->isa('Lingua::YaTeA::MultiWordTermCandidate'))
917 0 0 0 &blessed($term_candidate) and $term_candidate->isa('Lingua::YaTeA::MultiWordTermCandidate')
0 0 0 $ttg_style eq 'multi' and (&blessed($term_candidate) and $term_candidate->isa('Lingua::YaTeA::MultiWordTermCandidate'))
1054 0 128 112 &blessed($term_candidate) and $term_candidate->isa('Lingua::YaTeA::MultiWordTermCandidate')
128 96 16 &blessed($term_candidate) and $term_candidate->isa('Lingua::YaTeA::MultiWordTermCandidate') and $term_candidate->containsIslands
1064 0 5 11 &blessed($island) and $island->isa('Lingua::YaTeA::TermCandidate')
1088 0 128 112 &blessed($term_candidate) and $term_candidate->isa('Lingua::YaTeA::MultiWordTermCandidate')
1301 0 0 0 &blessed($term_candidate) and $term_candidate->isa('Lingua::YaTeA::MultiWordTermCandidate')
1305 0 0 0 exists $term2CC{$term_candidate->getRootHead->getID} and $term2CC{$term_candidate->getRootHead->getID} ne $term2CC{$term_candidate->getID}
1336 0 0 0 exists $term2CC{$term_candidate->getRootModifier->getID} and $term2CC{$term_candidate->getRootModifier->getID} ne $term2CC{$term_candidate->getID}
1553 0 0 0 &blessed($term_candidate) and $term_candidate->isa('Lingua::YaTeA::MultiWordTermCandidate')

or 3 conditions

line l !l&&r !l&&!r condition
405 0 0 0 &blessed($phrase) and $phrase->isa('Lingua::YaTeA::MultiWordPhrase') or not exists $$monolexical_transfer_h{$phrase->getID}
515 0 0 240 $term_list_style eq '' or $term_list_style eq 'all'
0 112 128 $term_list_style eq '' or $term_list_style eq 'all' or $term_list_style eq 'multi' and (&blessed($term_candidate) and $term_candidate->isa('Lingua::YaTeA::MultiWordTermCandidate'))
587 0 0 0 $term_list_style eq '' or $term_list_style eq 'all'
0 0 0 $term_list_style eq '' or $term_list_style eq 'all' or $term_list_style eq 'multi' and (&blessed($term_candidate) and $term_candidate->isa('Lingua::YaTeA::MultiWordTermCandidate'))
652 0 0 0 $term_list_style eq '' or $term_list_style eq 'all'
0 0 0 $term_list_style eq '' or $term_list_style eq 'all' or $term_list_style eq 'multi' and (&blessed($term_candidate) and $term_candidate->isa('Lingua::YaTeA::MultiWordTermCandidate'))
721 0 0 0 $term_list_style eq '' or $term_list_style eq 'all'
0 0 0 $term_list_style eq '' or $term_list_style eq 'all' or $term_list_style eq 'multi' and (&blessed($term_candidate) and $term_candidate->isa('Lingua::YaTeA::MultiWordTermCandidate'))
869 0 0 240 $ttg_style eq '' or $ttg_style eq 'all'
0 112 128 $ttg_style eq '' or $ttg_style eq 'all' or $ttg_style eq 'multi' and (&blessed($term_candidate) and $term_candidate->isa('Lingua::YaTeA::MultiWordTermCandidate'))
917 0 0 0 $ttg_style eq '' or $ttg_style eq 'all'
0 0 0 $ttg_style eq '' or $ttg_style eq 'all' or $ttg_style eq 'multi' and (&blessed($term_candidate) and $term_candidate->isa('Lingua::YaTeA::MultiWordTermCandidate'))