blib/lib/Zoidberg/Utils/Output.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 8 | 32 | 25.0 |
line | l | !l | condition |
---|---|---|---|
77 | 0 | 0 | print "\e[$colours{$type}m" and $coloured = 1 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
77 | 0 | 10 | 0 | exists $colours{$type} and $$Zoidberg::CURRENT{'settings'}{'interactive'} |
10 | 0 | 0 | exists $colours{$type} and $$Zoidberg::CURRENT{'settings'}{'interactive'} and $ENV{'CLICOLOR'} | |
84 | 10 | 0 | 0 | ref $_ eq 'ARRAY' and not grep({ref $_;} @$_) |
111 | 0 | 0 | 0 | $_ > $len and $len = $_ |
131 | 0 | 0 | 0 | $$Zoidberg::CURRENT{'settings'}{'interactive'} and defined $width |
181 | 6 | 0 | 0 | not defined $$s[1] and $$s[2] |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
51 | 0 | 0 | 7985 | $$Zoidberg::CURRENT{'settings'}{'debug'} or ${$class . '::DEBUG';} |
60 | 0 | 0 | 10 | @_ or $@ |
73 | 10 | 0 | 0 | $$Zoidberg::CURRENT{'settings'}{'output'}{$type} || $type |
89 | 10 | 0 | 0 | $$_{'silent'} or $$_{'printed'}++ |