| blib/lib/Csistck/Test/Pkg.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % | 
| branch | 11 | 24 | 45.8 | 
| line | true | false | branch | 
|---|---|---|---|
| 18 | 17 | 0 | if ("$^O" eq 'linux') | 
| 109 | 0 | 10 | unless ($type) | 
| 112 | 0 | 10 | unless $type | 
| 114 | 0 | 10 | unless $$Cmds{$type} | 
| 130 | 0 | 4 | unless my $cmd = sprintf($$Cmds{$type}{'check'}, $pkg) | 
| 136 | 1 | 3 | unless $ret == 0 | 
| 148 | 1 | 0 | if (defined $$Cmds{$type}{'install'}) { } | 
| 159 | 0 | 1 | unless $ret == 0 | 
| 172 | 0 | 0 | if (defined $$Cmds{$type}{'diff'}) { } | 
| 183 | 0 | 0 | unless $ret == 0 | 
| 230 | 13 | 0 | if $pkg =~ m[^[A-Za-z0-9\-\_\./]+$] | 
| 234 | 4 | 0 | if $pkg_name =~ m[^[A-Za-z0-9\-\_\./]+$] |