Branch Coverage

blib/lib/Config/Model/Describe.pm
Criterion Covered Total %
branch 43 48 89.5


line true false branch
42 3 63 if $_[0]->has_warning
48 3 5 $pattern ? :
57 5 18 unless $show_empty or defined $value and length $value
59 1 33 if $value and length $value > 12
61 10 24 if defined $value and $value =~ /\s/
63 8 26 defined $index ? :
64 31 3 defined $value ? :
68 18 16 if (my $default = $value_obj->fetch("mode", "standard"))
69 10 8 $type =~ /uniline|string/ ? :
72 6 28 if $type eq "enum"
74 4 30 if $value_obj->mandatory
88 3 9 if ($elt_type eq 'node') { }
90 3 0 @keys ? :
94 14 7 unless $show_empty
95 7 2 if $show_empty or @values
106 3 0 if $show_empty or @checked
117 4 13 if ($elt_type eq 'node') { }
4 9 elsif (@keys) { }
119 4 0 @keys ? :
127 5 4 if $show_empty
157 0 9 if @left
163 1 8 if (defined $element and $desc_node->has_element($element)) { }
0 8 elsif (defined $element) { }
186 6 3 if ($verbose) { }