Condition Coverage

blib/lib/Declare/Opts.pm
Criterion Covered Total %
condition 26 31 83.8


and 3 conditions

line !l l&&!r l&&r condition
58 17 3 0 $config{'bool'} and $config{'check'}
61 17 3 0 $config{'bool'} and $config{'transform'}
64 15 4 1 $config{'list'} and $config{'bool'}
68 2 0 0 ref $config{'default'} and ref $config{'default'} ne 'CODE'
75 6 2 1 $ref and not $ref =~ /^(CODE|Regexp)$/
106 3 3 24 $opt =~ /^-+([^-=]+)(?:=(.+))?$/ and not $no_flags

or 2 conditions

line l !l condition
144 2 2 $self->opts->{$_}{'description'} || 'No Description'
177 4 8 ref $check || ''

or 3 conditions

line l !l&&r !l&&!r condition
75 2 5 1 $ref || $config{'check'} =~ /^(file|dir|number)$/
1 1 7 $ref and not $ref =~ /^(CODE|Regexp)$/ or not $ref || $config{'check'} =~ /^(file|dir|number)$/
198 2 3 0 $ref || $check