blib/lib/Shipwright/Test.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 5 | 33 | 15.1 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
33 | 0 | 0 | 0 | can_run($ENV{'SHIPWRIGHT_SVK'}) and can_run($ENV{'SHIPWRIGHT_SVN'} . 'admin') |
38 | 0 | 0 | 0 | $out and $out =~ /version v(\d)\./i |
53 | 0 | 0 | 0 | can_run($ENV{'SHIPWRIGHT_SVN'}) and can_run($ENV{'SHIPWRIGHT_SVN'} . 'admin') |
58 | 0 | 0 | 0 | $out and $out =~ /version 1\.(\d)/i |
87 | 2 | 0 | 0 | $ENV{'SHIPWRIGHT_TEST_SVN'} and has_svn() |
100 | 1 | 0 | 0 | $ENV{'SHIPWRIGHT_TEST_SVK'} and has_svk() |
113 | 0 | 0 | 0 | $ENV{'SHIPWRIGHT_TEST_GIT'} and has_git() |
line | l | !l | condition |
---|---|---|---|
183 | 7 | 0 | $ENV{'SHIPWRIGHT_SVK'} ||= 'svk' |
184 | 7 | 0 | $ENV{'SHIPWRIGHT_SVN'} ||= 'svn' |
185 | 7 | 0 | $ENV{'SHIPWRIGHT_GIT'} ||= 'git' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
226 | 0 | 0 | 0 | shift() || "@$cmd out" |
228 | 0 | 0 | 0 | shift() || "@$cmd err" |