| blib/lib/Zoidberg/Fish/Log.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 0 | 47 | 0.0 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 65 | 0 | 0 | 0 | $tag eq 'cmd' and defined $$self{'config'}{'maxlines'} |
| 112 | 0 | 0 | 0 | -e $file and not -r _ |
| 127 | 0 | 0 | 0 | exists $tags{$3} and $2 < $$self{'init_time'} || $1 == $$self{'pid'} |
| 158 | 0 | 0 | 0 | $$self{'settings'}{'interactive'} and $$self{'logfh'} |
| 161 | 0 | 0 | 0 | $$self{'config'}{'no_duplicates'} and $cmd eq $$self{'prev_cmd'} |
| 173 | 0 | 0 | 0 | $$self{'config'}{'no_duplicates'} and $string eq $$self{'logs'}{$type}[-1] |
| line | l | !l | condition |
|---|---|---|---|
| 42 | 0 | 0 | $$opts{'type'} || 'cmd' |
| 169 | 0 | 0 | $type ||= 'log' |
| 172 | 0 | 0 | $$self{'logs'}{$type} ||= [] |
| 328 | 0 | 0 | $$opt{'editor'} || $ENV{'FCEDIT'} || $ENV{'EDITOR'} || 'vi' |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 48 | 0 | 0 | 0 | $$opts{'read'} or not $$self{'read_log'} |
| 75 | 0 | 0 | 0 | @$args == 0 or $$args[0] == $$args[1] |
| 84 | 0 | 0 | 0 | $_ == 0 or $_ < -$total |
| 0 | 0 | 0 | $_ == 0 or $_ < -$total or $_ > $total | |
| 123 | 0 | 0 | 0 | $file || error('Could not open log file !?') |
| 127 | 0 | 0 | 0 | $2 < $$self{'init_time'} || $1 == $$self{'pid'} |
| 329 | 0 | 0 | 0 | $$opt{'-s'} || $editor eq '-' |