blib/lib/Every.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 12 | 16 | 75.0 |
line | true | false | branch |
---|---|---|---|
26 | 0 | 205 | unless (defined $arg) |
30 | 0 | 205 | unless (&Scalar::Util::looks_like_number($arg)) |
34 | 0 | 205 | if ($arg <= 0) |
46 | 4 | 201 | if (defined $div and $div =~ /^sec/) |
54 | 3 | 1 | if (my $then = $time_counters{$key}) { } |
56 | 1 | 2 | $diff >= 0 ? : |
65 | 0 | 201 | if (int $div != $div) |
71 | 20 | 181 | !(++$counters{$key} % $div) ? : |