Condition Coverage

lib/Config/Grammar/Dynamic.pm
Criterion Covered Total %
condition 18 33 54.5


and 3 conditions

line !l l&&!r l&&r condition
61 2 2 3 $self->{'grammar'}{'_recursive'} and grep {$_ eq $s;} @{$$self{'grammar'}{'_recursive'};}
241 18 0 0 $tree->{'_mandatory'} && grep({$_ eq $var;} @{$$tree{'_mandatory'};})
247 10 4 4 $tree->{'_inherited'} && grep({$_ eq $var;} @{$$tree{'_inherited'};})
304 4 0 0 $tree->{'_mandatory'} && grep({$_ eq $section;} @{$$tree{'_mandatory'};})
317 3 0 1 $tree->{'_recursive'} and grep {$_ eq $section;} @{$$tree{'_recursive'};}
322 3 1 0 $tree->{$section}{'_dyn'} and $tree->{$section}{'_dyndoc'}
344 15 1 0 $tree->{$var}{'_dyn'} and $tree->{$var}{'_dyndoc'}

or 2 conditions

line l !l condition
54 1 0 $self->{'grammar'}{'_sections'} ||= []
63 3 0 $self->{'grammar'}{$name}{'_sections'} ||= []
64 2 1 $self->{'grammar'}{$name}{'_recursive'} ||= []
274 0 0 $tree->{'_text'}{'_doc'} || 'Unspecified Text content'
285 0 0 $tree->{'_table'}{'_doc'} || 'This section can contain a table with the following structure:'
291 0 0 $tree->{'_table'}{$i}{'_doc'} || 'Unspecific Content'