blib/lib/Parse/Tinymush.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 25 | 45 | 55.5 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
137 | 31 | 0 | 5 | $current eq '(' and $self->output eq '' |
159 | 3 | 0 | 0 | ref $variable and UNIVERSAL::can($variable, 'eval') |
180 | 114 | 0 | 0 | $$self{'options'}{'space_compression'} and $prev =~ /\s/o || $$self{'func_depth'} && $prev eq ',' |
196 | 98 | 9 | 1 | $$self{'brace_depth'} and $char eq '}' |
323 | 1 | 5 | 1 | $argc and $funcargs[$argc - 1] eq '' |
336 | 3 | 3 | 0 | $$func_info[1] != -1 and $min_arg > $argc || $max_arg < $argc |
line | l | !l | condition |
---|---|---|---|
26 | 1 | 0 | $args{'functions'} || {} |
1 | 0 | $args{'variables'} || {} | |
349 | 1 | 5 | $$func_info[2] || 0 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
105 | 0 | 0 | 8 | not defined $string or length $string == 0 |
117 | 0 | 8 | 44 | not defined $current or length $current == 0 |
180 | 0 | 0 | 0 | $prev =~ /\s/o || $$self{'func_depth'} && $prev eq ',' |
201 | 9 | 0 | 98 | $$self{'brace_depth'} or $char =~ /\s/o |
240 | 0 | 0 | 70 | not defined $current or length $current == 0 |
285 | 6 | 0 | 38 | $current eq ')' or $current eq ']' |
336 | 0 | 0 | 3 | $min_arg > $argc || $max_arg < $argc |