blib/lib/App/Getconf.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 19 | 49 | 38.7 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
508 | 0 | 0 | 0 | $$self{'help'}{'order'} and @{$$self{'help'}{'order'};} |
729 | 32 | 1 | 1 | not $self->has_option($option_name) and $option_name =~ /^no-/ |
734 | 0 | 0 | 1 | $self->has_option($negated_name) and $self->option_node($negated_name)->type eq 'bool' |
742 | 1 | 14 | 19 | $self->has_option($option_name) and $self->option_node($option_name)->requires_arg |
line | l | !l | condition |
---|---|---|---|
431 | 0 | 0 | $opts{'screen'} ||= 80 |
433 | 0 | 0 | $opts{'synopsis'} ||= '%0 [ options ... ]' |
435 | 0 | 0 | $opts{'option_indent'} ||= 2 |
436 | 0 | 0 | $opts{'description_indent'} ||= 6 |
623 | 0 | 0 | $indent ||= 0 |
942 | 44 | 31 | $path ||= '' |
944 | 43 | 32 | lc ref $data || 'scalar' |
1176 | 287 | 35 | $$data{'type'} || 'string' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
432 | 0 | 0 | 0 | $opts{'arg0'} ||= (split(m[/], $0, 0))[-1] |
567 | 0 | 0 | 0 | _nlines($line) > 16 or $format_markers{'multiline_synopsis'} |
0 | 0 | 0 | _nlines($line) > 16 or $format_markers{'multiline_synopsis'} or $opts{'header'} | |
0 | 0 | 0 | _nlines($line) > 16 or $format_markers{'multiline_synopsis'} or $opts{'header'} or $opts{'description'} | |
829 | 144 | 10 | 40 | defined $$self{'options'}{$name} || defined $$self{'aliases'}{$name} |
962 | 36 | 0 | 5 | not $self->has_option($path) or $self->option_node($path)->storage ne 'hash' |
1032 | 0 | 1 | 0 | not defined $package or $package eq 'main' |