lib/Log/Shiras/Switchboard.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 13 | 28 | 46.4 |
line | l | !l | condition |
---|---|---|---|
111 | 5 | 0 | @args and 0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
114 | 5 | 0 | 0 | $args[0] and $args[0] =~ /^v?\d+\.?\d*/ |
147 | 0 | 0 | 7 | @args > 1 && scalar(@args) % 2 == 0 |
157 | 6 | 7 | 0 | $arguments and exists $arguments->{'conf_file'} |
839 | 15 | 58 | 19 | $word and $level =~ /^$word$/i |
line | l | !l | condition |
---|---|---|---|
351 | 2 | 0 | $report //= 'log_file' |
378 | 6 | 0 | $report //= 'log_file' |
407 | 1 | 0 | $report //= 'log_file' |
431 | 2 | 0 | $report //= 'log_file' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
147 | 0 | 0 | 0 | is_YamlFile($args[0]) || is_JsonFile($args[0]) |
762 | 1 | 0 | 0 | not $element or length $element == 0 |