lib/Log/Shiras/Switchboard.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 13 | 28 | 46.4 |
line | l | !l | condition |
---|---|---|---|
108 | 5 | 0 | @args and 0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
111 | 5 | 0 | 0 | $args[0] and $args[0] =~ /^v?\d+\.?\d*/ |
144 | 0 | 0 | 7 | @args > 1 && scalar(@args) % 2 == 0 |
154 | 6 | 7 | 0 | $arguments and exists $arguments->{'conf_file'} |
836 | 15 | 58 | 19 | $word and $level =~ /^$word$/i |
line | l | !l | condition |
---|---|---|---|
348 | 2 | 0 | $report //= 'log_file' |
375 | 6 | 0 | $report //= 'log_file' |
404 | 1 | 0 | $report //= 'log_file' |
428 | 2 | 0 | $report //= 'log_file' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
144 | 0 | 0 | 0 | is_YamlFile($args[0]) || is_JsonFile($args[0]) |
759 | 1 | 0 | 0 | not $element or length $element == 0 |