Branch Coverage

blib/lib/CPAN/Testers/WWW/Reports/Parser.pm
Criterion Covered Total %
branch 31 36 86.1


line true false branch
30 0 4 unless $hash{'format'}
31 0 4 unless $hash{'format'} =~ /^(yaml|json)$/i
32 0 4 unless $hash{'data'} or $hash{'file'}
33 0 4 if defined $hash{'file'} and not -f $hash{'file'}
43 1 3 if ($$self{'objects'})
49 0 4 if $@
66 9 4 if (@_) { }
67 4 5 $_[0] =~ /^ALL$/i ? :
82 6 3 if @_
88 3 6 unless defined $$self{'fields'}
99 1611 1611 if $$self{'all'}
102 22554 6444 unless $$self{'fields'}{$key}
115 8 537 unless ($$self{'loaded'})
120 1 544 unless scalar @{$$self{'reports'};}
125 3 541 if (scalar keys %{$$self{'fields'};})
132 2 1 unless ($$self{'all'})
134 15 23 unless $$self{'fields'}{$key}
139 1 543 if ($$self{'objects'})