Condition Coverage

lib/Devel/PerlySense/Document/Api.pm
Criterion Covered Total %
condition 16 25 64.0


and 3 conditions

line !l l&&!r l&&r condition
114 96 1 1 $file ne $fileCurrent && $_ =~ /^_/ && !$oPerlySense->isFileInProject('file', $file, 'fileProjectOf', $fileCurrent)
292 22 14 69 $oLocation->row == 0 and $oLocationBase->row == 0
297 69 22 14 $oLocationBase->row != 0 and $oLocation->row == 0

or 2 conditions

line l !l condition
338 15 1 scalar @$raNameSub || 1
361 19 0 scalar keys %{$self->rhSub;} || 1

or 3 conditions

line l !l&&r !l&&!r condition
145 79 294 0 !$$rhSub{$b}->row <=> !$$rhSub{$a}->row or uc $a cmp uc $b
373 0 0 !$$rhSub{$b}->row <=> !$$rhSub{$a}->row or uc $a cmp uc $b or ($$rhSub{$a}->file eq $fileCurrent) <=> ($$rhSub{$b}->file eq $fileCurrent)
294 0 0 !$$rhSub{$b}->row <=> !$$rhSub{$a}->row or uc $a cmp uc $b or ($$rhSub{$a}->file eq $fileCurrent) <=> ($$rhSub{$b}->file eq $fileCurrent) or $$rhSub{$a}->file cmp $$rhSub{$b}->file
0 0 0 !$$rhSub{$b}->row <=> !$$rhSub{$a}->row or uc $a cmp uc $b or ($$rhSub{$a}->file eq $fileCurrent) <=> ($$rhSub{$b}->file eq $fileCurrent) or $$rhSub{$a}->file cmp $$rhSub{$b}->file or $$rhSub{$a}->row <=> $$rhSub{$b}->row