Condition Coverage

blib/lib/Biblio/Thesaurus.pm
Criterion Covered Total %
condition 16 92 17.3


and 2 conditions

line l !l condition
1315 0 0 warn "'${t2}' => '${term}'\n" and return

and 3 conditions

line !l l&&!r l&&r condition
221 0 0 8 exists $$a{$c} and exists $$b{$c}
253 5 9 6 $self->isDefined($term) and $other->isDefined($term)
285 1 2 6 exists $$self{$$self{'baselang'}}{$a_def}{$class} and exists $$other{$$other{'baselang'}}{$b_def}{$class}
375 0 0 0 defined $$self{'externals'}{uc $ext} && defined $$self{'externals'}{uc $ext} == 1
592 228 0 22 exists $$self{'externals'}{$class} and defined $$self{'externals'}{$class}
223 0 5 exists $$self{'languages'}{$class} and defined $$self{'languages'}{$class}
621 10 0 0 exists $opt{'completed'} and $opt{'completed'}
867 0 0 0 exists $$conf{'title'} and $$conf{'title'} eq 'no'
1075 0 0 0 defined $limit and $limit != 0
0 0 0 defined $limit and $limit != 0 and @termos > $limit
1189 270 0 0 defined $$thesaurus{$palavra} and defined $$thesaurus{$palavra}{'_NAME_'}

or 2 conditions

line l !l condition
556 147 1 $2 || ''
840 0 0 $ENV{'SCRIPT_NAME'} || ''
846 0 0 $$conf{'expand'} || []
848 0 0 $$conf{'lang'} || undef
849 0 0 $$conf{'level2size'} || 0
850 0 0 $$conf{'level1hide'} || []
851 0 0 $$conf{'level2hide'} || \@tmp
852 0 0 $$conf{'capitalize'} || 0
853 0 0 $$conf{'topic_name'} || 't'
953 0 0 shift() || {}
954 0 0 shift() || {}
965 0 0 $$_corres{$rel}[1] || "\n"
983 0 0 shift() || {}
984 0 0 shift() || {}
1389 0 0 &{$$handler{$rel};} // ''
1391 0 0 &{$$handler{-'default'};} // ''
1428 1 0 $rel //= 'NT'
1452 0 0 $rel //= 'NT'

or 3 conditions

line l !l&&r !l&&!r condition
433 0 0 0 shift() || $ENV{'SCRIPT_NAME'}
729 0 0 0 $$obj{'inverses'}{$_} eq $a or $$obj{'inverses'}{$_} eq $b
961 0 0 0 $descs{$rel} || $rel
964 0 0 0 $$_corres{$rel}[0] || "\\\\\\emph{$auxrel} -- "
989 0 0 0 $$_corres{$rel}[0] || "$rel"
990 0 0 0 $$_corres{$rel}[1] || "/$rel"
1084 0 0 0 $obj->_translateTerm($_, $language) || $_