Condition Coverage

blib/lib/Config/Model/Describe.pm
Criterion Covered Total %
condition 24 32 75.0


and 3 conditions

line !l l&&!r l&&r condition
57 5 0 18 defined $value and length $value
59 3 30 1 $value and length $value > 12
61 3 21 10 defined $value and $value =~ /\s/
163 8 0 1 defined $element and $desc_node->has_element($element)

or 2 conditions

line l !l condition
32 1 8 delete $args{'check'} || 'yes'
36 3 6 delete $args{'hide_empty'} // 0
37 6 3 delete $args{'verbose'} // 0
167 0 0 $desc_node->location || 'configuration root'

or 3 conditions

line l !l&&r !l&&!r condition
31 9 0 0 delete $args{'node'} || croak(q[describe: missing 'node' parameter])
57 16 23 0 $show_empty or defined $value and length $value
95 3 4 2 $show_empty or @values
106 1 2 0 $show_empty or @checked