Condition Coverage

blib/lib/Config/Hierarchical.pm
Criterion Covered Total %
condition 4 84 4.7


and 3 conditions

line !l l&&!r l&&r condition
1088 0 0 0 defined $options{'FILE'} and not defined $options{'LINE'}
0 0 0 not defined $options{'FILE'} and defined $options{'LINE'}
1357 0 0 0 exists $$self{'CATEGORIES'}{$options{'CATEGORY'}}{$options{'NAME'}} and defined $$self{'CATEGORIES'}{$options{'CATEGORY'}}{$options{'NAME'}}{'OVERRIDE'}
0 0 0 exists $$self{'CATEGORIES'}{$options{'CATEGORY'}}{$options{'NAME'}} and defined $$self{'CATEGORIES'}{$options{'CATEGORY'}}{$options{'NAME'}}{'OVERRIDE'} and not exists $options{'OVERRIDE'}
1410 0 0 0 exists $$options{'VALUE'} and exists $$options{'EVAL'}
1473 0 0 0 not $crossed_protected_category and $$options{'OVERRIDE'}
1483 0 0 0 $name_exists_in_category and $value_exists_in_category
1525 0 0 0 $name_exists_in_category and $value_exists_in_category
1551 0 0 0 exists $$self{'CATEGORIES'}{$category} and exists $$self{'CATEGORIES'}{$category}{$name}
1602 0 0 0 $name_exists_in_category and $value_exists_in_category
1667 0 0 0 $name_exists_in_category and not Compare($value_in_category, $$options{'VALUE'})
2327 0 0 0 @default_categories and $category ne $default_categories[0]

or 2 conditions

line l !l condition
671 0 1 $$interaction_container{'INTERACTION'}{'INFO'} ||= sub {
672 0 1 $$interaction_container{'INTERACTION'}{'WARN'} ||= \&Carp::carp
673 0 1 $$interaction_container{'INTERACTION'}{'DIE'} ||= \&Carp::confess

or 3 conditions

line l !l&&r !l&&!r condition
508 0 1 0 ref $invocant || $invocant
796 0 0 0 'HASH' ne ref $validator_definition or $EXPECTED_NUMBER_OF_ARGUMENTS_FOR_ADD_VALIDATOR != keys %{$validator_definition;}
0 0 0 'HASH' ne ref $validator_definition or $EXPECTED_NUMBER_OF_ARGUMENTS_FOR_ADD_VALIDATOR != keys %{$validator_definition;} or not exists $$validator_definition{'CATEGORY_NAMES'}
0 0 0 'HASH' ne ref $validator_definition or $EXPECTED_NUMBER_OF_ARGUMENTS_FOR_ADD_VALIDATOR != keys %{$validator_definition;} or not exists $$validator_definition{'CATEGORY_NAMES'} or 'ARRAY' ne ref $$validator_definition{'CATEGORY_NAMES'}
0 0 0 'HASH' ne ref $validator_definition or $EXPECTED_NUMBER_OF_ARGUMENTS_FOR_ADD_VALIDATOR != keys %{$validator_definition;} or not exists $$validator_definition{'CATEGORY_NAMES'} or 'ARRAY' ne ref $$validator_definition{'CATEGORY_NAMES'} or not exists $$validator_definition{'NAMES'}
0 0 0 'HASH' ne ref $validator_definition or $EXPECTED_NUMBER_OF_ARGUMENTS_FOR_ADD_VALIDATOR != keys %{$validator_definition;} or not exists $$validator_definition{'CATEGORY_NAMES'} or 'ARRAY' ne ref $$validator_definition{'CATEGORY_NAMES'} or not exists $$validator_definition{'NAMES'} or 'ARRAY' ne ref $$validator_definition{'NAMES'}
0 0 0 'HASH' ne ref $validator_definition or $EXPECTED_NUMBER_OF_ARGUMENTS_FOR_ADD_VALIDATOR != keys %{$validator_definition;} or not exists $$validator_definition{'CATEGORY_NAMES'} or 'ARRAY' ne ref $$validator_definition{'CATEGORY_NAMES'} or not exists $$validator_definition{'NAMES'} or 'ARRAY' ne ref $$validator_definition{'NAMES'} or not exists $$validator_definition{'VALIDATORS'}
0 0 0 'HASH' ne ref $validator_definition or $EXPECTED_NUMBER_OF_ARGUMENTS_FOR_ADD_VALIDATOR != keys %{$validator_definition;} or not exists $$validator_definition{'CATEGORY_NAMES'} or 'ARRAY' ne ref $$validator_definition{'CATEGORY_NAMES'} or not exists $$validator_definition{'NAMES'} or 'ARRAY' ne ref $$validator_definition{'NAMES'} or not exists $$validator_definition{'VALIDATORS'} or 'HASH' ne ref $$validator_definition{'VALIDATORS'}
1088 0 0 0 defined $options{'FILE'} and not defined $options{'LINE'} or not defined $options{'FILE'} and defined $options{'LINE'}
1373 0 0 0 $$self{'CHECK_LOWER_LEVEL_CATEGORIES'} or $options{'CHECK_LOWER_LEVEL_CATEGORIES'}
1415 0 0 0 exists $$options{'VALUE'} or exists $$options{'EVAL'}
1606 0 0 0 $silent_override || $$self{'DISABLE_SILENT_OPTIONS'}
2286 0 0 0 $$self{'DIE_NOT_EXISTS'} or $options{'DIE_NOT_EXISTS'}
2292 0 0 0 $options{'SILENT_NOT_EXISTS'} or $$self{'DISABLE_SILENT_OPTIONS'}