line |
true |
false |
branch |
121
|
18 |
4 |
if (exists $$opts{'in'}) { } |
|
3 |
1 |
elsif (exists $$opts{'infile'}) { } |
128
|
1 |
2 |
if (ref $$opts{'infile'}) { } |
|
0 |
2 |
elsif ($$opts{'infile'} eq '-') { } |
140
|
1 |
1 |
unless open IN, '<', $$opts{'infile'} |
158
|
13 |
5 |
if (exists $$opts{'out'}) { } |
|
1 |
4 |
elsif ($out eq '') { } |
|
3 |
1 |
elsif (exists $$opts{'outfile'}) { } |
160
|
12 |
1 |
if (ref $$opts{'out'}) { } |
176
|
1 |
2 |
if (ref $$opts{'outfile'}) { } |
|
0 |
2 |
elsif ($$opts{'outfile'} eq '-') { } |
188
|
1 |
1 |
unless open OUT, '>', $$opts{'outfile'} |
190
|
0 |
1 |
unless print OUT $out |
192
|
0 |
1 |
unless close OUT |
207
|
4 |
13 |
unless ($$opts{'code'} or $content =~ m[/\*\*]) |
221
|
32 |
47 |
if ($i < $#parts and $parts[$i] =~ m[^/\*\*]) |
224
|
1 |
31 |
if $parts[$i] =~ m[^/\*\*+[^\n\*]*\*+/] |
239
|
11 |
20 |
if ($parts[$i + 1] and $parts[$i + 1] =~ /^\s*(?:class|interface)\s+([^\s;]+)/) { } |
|
6 |
14 |
elsif ($parts[$i + 1] and $parts[$i + 1] =~ /^\s*((?:public|private)\s+|)(static\s+|)function\s+(\w+)\s*\(([^\)]*)\)(:\w+|)/) { } |
|
12 |
2 |
elsif ($parts[$i + 1] and $parts[$i + 1] =~ /^\s*((?:public|private)\s+|)(static\s+|)var\s+(\w+)(:\w+|)(\s*=\s*[^;]+|)/) { } |
250
|
4 |
7 |
if ($comment =~ /\S/) |
269
|
0 |
6 |
unless ($inapi) |
275
|
0 |
6 |
unless ($over) |
282
|
3 |
3 |
$private ? : |
|
3 |
3 |
$static ? : |
302
|
6 |
6 |
if ($default ne '') |
307
|
3 |
9 |
unless ($inapi) |
313
|
3 |
9 |
unless ($over) |
320
|
3 |
9 |
$private ? : |
|
3 |
9 |
$static ? : |
333
|
29 |
1 |
if ($comment =~ /^=/) |
340
|
1 |
29 |
if ($parts[$i] =~ /^\s*(\@\w*)/m) |
347
|
3 |
11 |
if ($over > 0) |
358
|
2 |
12 |
if (not $$opts{'code'} and @out == 0) |
363
|
3 |
9 |
$$opts{'code'} ? : |
379
|
3 |
3 |
$paramlist ? : |
452
|
3 |
8 |
if ($$R_comment =~ s/^\n*([\w\.]+)[ \t]+\-[ \t]+([^\n]+)(?:\n+|$)//s) |
466
|
0 |
29 |
if $$opts{'verbose'} |