blib/lib/Fortune.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 12 | 25 | 48.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
224 | 1 | 0 | 0 | not -f $filename and -f $$self{'filename'} |
349 | 0 | 0 | 18 | defined $$self{'file'} and defined fileno $$self{'file'} |
353 | 2 | 0 | 16 | $num < $$self{'numstr'} and $num >= 0 |
line | l | !l | condition |
---|---|---|---|
280 | 0 | 0 | $$self{'delim'} || '%' |
362 | 16 | 0 | length $$self{'delim'} || 1 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
111 | 0 | 2 | 0 | ref $class || $class |
112 | 0 | 2 | 0 | $header_filename || $filename . '.dat' |
294 | 1 | 0 | 5 | not defined $min or $len < $min |
1 | 3 | 1 | not defined $max or $len > $max |