Condition Coverage

blib/lib/Iterator/IO.pm
Criterion Covered Total %
condition 33 42 78.5


and 3 conditions

line !l l&&!r l&&r condition
61 18 18 55 $next ne '.' and $next ne '..'
104 24 0 16 -d $next and not -l $next
145 2 2 0 $chomp_opt ne 'chomp' and $chomp_opt ne 'nochomp'
202 9 12 24 defined $line and $autochomp
250 2 2 0 $chomp_opt ne 'chomp' and $chomp_opt ne 'nochomp'

or 3 conditions

line l !l&&r !l&&!r condition
40 18 0 0 shift() || Cwd::getcwd()
140 2 2 5 $_[0] eq 'chomp' or $_[0] eq 'nochomp'
4 0 5 $_[0] eq 'chomp' or $_[0] eq 'nochomp' or not defined $_[0]
176 1 1 1 $lcopt eq 'rs' or $lcopt eq '$/'
2 1 0 $lcopt eq 'rs' or $lcopt eq '$/' or $lcopt eq 'input_record_separator'
245 2 2 5 $_[0] eq 'chomp' or $_[0] eq 'nochomp'
4 0 5 $_[0] eq 'chomp' or $_[0] eq 'nochomp' or not defined $_[0]
281 1 1 1 $lcopt eq 'rs' or $lcopt eq '$/'
2 1 0 $lcopt eq 'rs' or $lcopt eq '$/' or $lcopt eq 'input_record_separator'