blib/lib/App/MonM/Notifier/Util.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 15 | 41 | 36.5 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
111 | 0 | 0 | 0 | %periods and keys %periods |
119 | 0 | 0 | 0 | $start and $curtime >= $start |
0 | 0 | 0 | $start and $curtime >= $start and $finish | |
0 | 0 | 0 | $start and $curtime >= $start and $finish and $curtime <= $finish | |
129 | 0 | 0 | 3 | is_hash($us) and keys %$us |
137 | 3 | 2 | 4 | $channel and lc $chname ne lc $channel |
139 | 0 | 2 | 3 | $ch and keys %$ch |
149 | 1 | 0 | 5 | $r->[0] and $r->[0] > $s |
150 | 0 | 0 | 6 | $r->[1] and $r->[1] < $f |
line | l | !l | condition |
---|---|---|---|
135 | 3 | 0 | value($us, 'period') || '00:00-23:59' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
142 | 3 | 0 | 0 | value($ch, 'period') || $period_global |
144 | 4 | 17 | 0 | value($ch, $dow[$i]) || value($ch, $dows[$i]) || $period_channel |
196 | 0 | 0 | 20 | $start < 0 or $start > 86399 |
197 | 0 | 0 | 20 | $finish <= 0 or $finish > 86399 |