blib/lib/C/Scan.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 20 | 43 | 46.5 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
175 | 1 | 730 | 0 | not eof C and $line = |
190 | 0 | 0 | 0 | not eof C and $mline =~ s/\\\n/\n/ |
500 | 0 | 0 | 1 | not $chunk =~ / \( .* \( # Multiple parenths /x and $chunk =~ / \w \s* \( /x |
697 | 0 | 2 | 0 | $decl =~ /(\w+)/g and $$typedefs{$1} || $$keywords{$1} |
765 | 0 | 10 | 0 | $decl =~ /(\w+)/g and $$typedefs{$1} || $$keywords{$1} |
844 | 0 | 0 | 5 | defined $Includes and @$Includes |
line | l | !l | condition |
---|---|---|---|
840 | 5 | 0 | $Cpp ||= \%Config::Config |
841 | 5 | 0 | $filename || '.' |
842 | 5 | 0 | $Includes ||= [$filedir, '/usr/local/include', '.'] |
851 | 5 | 0 | open $sym, $cmd or die "Cannot open pipe from `${cmd}': $!" |
870 | 0 | 0 | shift() || die(q[Expecting argument in `text_only_from']) |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
287 | 0 | 0 | 81 | $wh =~ /,/ or not $wh =~ /\w/ |
414 | 3 | 3 | 11 | $word eq ';' or $word eq '' |
697 | 0 | 1 | 1 | $$typedefs{$1} || $$keywords{$1} |
765 | 3 | 2 | 5 | $$typedefs{$1} || $$keywords{$1} |
836 | 0 | 0 | 5 | @_ < 2 or @_ > 5 |