blib/lib/Test/Standalone.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 6 | 12 | 50.0 |
line | true | false | branch |
---|---|---|---|
22 | 0 | 1 | if (@ARGV and $ARGV[0] eq '--test') |
31 | 3 | 5 | if (/$TEST_START/ .. /$TEST_END/) |
32 | 1 | 1 | unless (/$TEST_START/ or /$TEST_END/) |
36 | 0 | 8 | if ($IN_TEST) |
37 | 0 | 0 | if (s/^\s*main\s*\(\)/Test::Standalone::test_run()/) |
50 | 0 | 0 | unless eval $code |