| blib/lib/Log/Deep/Read.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 11 | 41 | 26.8 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 106 | 0 | 0 | 0 | $file and $files{$file} |
| line | l | !l | condition |
|---|---|---|---|
| 45 | 0 | 1 | $$self{'short_break'} ||= 2 |
| 46 | 0 | 1 | $$self{'short_lines'} ||= 2 |
| 47 | 0 | 1 | $$self{'long_break'} ||= 5 |
| 48 | 0 | 1 | $$self{'long_lines'} ||= 5 |
| 49 | 0 | 1 | $$self{'foreground'} ||= 0 |
| 50 | 0 | 1 | $$self{'background'} ||= 0 |
| 51 | 0 | 1 | $$self{'sessions_max'} ||= 100 |
| 52 | 0 | 1 | $$self{'sleep_time'} ||= 0.5 |
| 132 | 0 | 0 | $files{$file} ||= {'name', $file} |
| 212 | 0 | 0 | $sessions{$session} ||= '' |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 82 | 0 | 0 | 0 | not @files or $warn |
| 85 | 0 | 0 | 0 | $files{$file} ||= 'Log::Deep::File'->new($file) |
| 95 | 0 | 0 | 0 | $$self{'follow'} or $once == 1 |
| 126 | 0 | 0 | 0 | $once % 1000 or not %files |
| 282 | 0 | 0 | 0 | not $$self{'last_print_file'} or "$$self{'last_print_file'}" ne "$file" |
| 318 | 8 | 5 | 40 | $excludes{$colours[$$self{'foreground'}] . $colours[$$self{'background'}]} or $$self{'foreground'} == $$self{'background'} |