Branch Coverage

blib/lib/Novel/Robot.pm
Criterion Covered Total %
branch 6 16 37.5


line true false branch
42 0 1 unless $novel_ref
43 0 1 unless @{$novel_ref->{'item_list'};}
44 0 1 unless grep {$_->{'content'};} @{$$novel_ref{"item_list"};}
53 1 0 scalar @{$novel_ref->{'item_list'};} > 0 ? :
55 0 1 if $o{'verbose'}
59 0 1 wantarray ? :
64 0 0 if $s =~ /^\d+$/
65 0 0 if ($s =~ /^\d*-\d*$/)