Branch Coverage

blib/lib/Java/Doc.pm
Criterion Covered Total %
branch 30 54 55.5


line true false branch
25 6 192 if ($i >= 0)
39 12 60 if $t =~ /$_/s
51 1 0 $fileOrString =~ /\n/s ? :
60 18 12 if ($state == 0) { }
12 0 elsif ($state == 1) { }
61 1 17 if (/\A\s*package\s+((\w+|\.)+)/) { }
2 15 elsif (m[\A.*?class\s+(\w+)\s*\{?\s*//C\s+(.*?)\s*\Z]) { }
0 15 elsif (m[\A\s*}\s*//C\s+(\w+)]) { }
3 12 elsif (m[\A\s*(.*?)\s+(\w+)\s*(\(\))?\s*\(?\s*//(M|c|O=\S+)\s+(.*?)\s*\Z]) { }
73 0 0 unless (@class)
76 0 0 if ($1 ne $class[-1]) { }
91 0 3 if ($res =~ /\Ac\Z/s) { }
0 3 elsif ($res =~ /\AO=(.+?)\Z/s) { }
100 3 0 if ($package and $class) { }
106 3 0 unless $empty or $override
111 0 0 unless $package
112 0 0 unless $class
117 9 3 if (m[\A.\s*(.+?)\s+(\w+)\s*[,\)\{]*\s*//P\s+(.*?)\s*\Z]) { }
126 3 0 if ($package and $class and $method) { }
128 3 0 if (my $p = $m->{'parameters'})
129 3 0 if (my(@p) = @$p)
157 0 1 unless @c
253 3 0 if (my $parameters = $method{'parameters'})
333 0 1 if (my $file = $javaDoc->target)
539 0 1 if eval "eof(${p}::DATA)"
541 0 1 if $@
543 0 1 if $@