blib/lib/Test/Parse/Crontab/Simple.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 12 | 18 | 66.6 |
line | true | false | branch |
---|---|---|---|
32 | 0 | 1 | unless Data::Util::is_string($prefix) |
50 | 0 | 3 | unless Data::Util::is_instance($crontab, 'Parse::Crontab') |
54 | 7 | 1 | if (Data::Util::is_hash_ref($sample)) { } |
59 | 0 | 1 | if ($STRICT_MATCH) { } |
75 | 7 | 29 | if ($find_flg) { } |
8 | 21 | elsif ($entry->line_number eq $job->line_number) { } | |
76 | 7 | 0 | if (_is_sample($entry)) { } |
92 | 7 | 0 | if $entry->line =~ /\A$PREFIX/ |
98 | 7 | 0 | if ($sample_entry->line =~ /\A$PREFIX (\d+)-(\d+)-(\d+) (\d+):(\d+):(\d+)/) |