Branch Coverage

blib/lib/Config/Model/Tester.pm
Criterion Covered Total %
branch 6 202 2.9


line true false branch
59 0 0 if ($conf_dir and $home_for_test)
70 0 0 if $conf_dir and $conf_file_name
78 0 0 if (my $setup = $t_data->{'setup'}) { }
0 0 elsif ($ex_data->is_dir) { }
0 0 elsif ($ex_data->exists) { }
83 0 0 ref $map eq 'ARRAY' ? :
0 0 ref $map eq 'HASH' ? :
85 0 0 unless (defined $destination_str)
88 0 0 if $home_for_test
92 0 0 unless $data_file->exists
95 0 0 if (ref $map eq 'ARRAY')
99 0 0 if $home_for_test
110 0 0 $conf_dir ? :
112 0 0 if $trace
114 0 0 unless dircopy($ex_data->stringify, $destination_dir->stringify)
120 0 0 unless defined $conf_dir
121 0 0 unless defined $conf_file
124 0 0 if $trace
126 0 0 unless fcopy($ex_data->stringify, $conf_file->stringify)
148 0 0 if $child->is_dir
161 0 0 if ($t->{'config_file'})
162 0 0 $conf_dir ? :
171 0 0 if (my $info = $t->{'log4perl_load_warnings'} or $main::_use_log4perl_to_warn) { }
0 0 elsif ($t->{'no_warnings'} || exists $t->{'load_warnings'} and not defined $t->{'load_warnings'}) { }
196 0 0 if (my $info = $t->{'log4perl_update_warnings'}) { }
0 0 elsif (my $uw = delete $args{'update_warnings'}) { }
212 0 0 if (defined $ret) { }
223 0 0 if $trace
238 0 0 if $trace
244 0 0 if (defined $t->{'dump_errors'})
256 0 0 if ($test_logs and (my $info = $t->{'log4perl_dump_warnings'}) || $main::_use_log4perl_to_warn) { }
0 0 elsif (not $test_logs or $no_warnings) { }
0 0 elsif (exists $t->{'dump_warnings'} and not defined $t->{'dump_warnings'}) { }
272 0 0 if $t->{'dump_warnings'}
277 0 0 if $trace
286 0 0 ref $c eq 'ARRAY' ? :
298 0 0 ref $check_data_l eq 'ARRAY' ? :
301 0 0 ref $check_data eq 'HASH' ? :
302 0 0 ref $check_data eq 'HASH' ? :
303 0 0 @check_args ? :
307 0 0 ref $check_v_l eq 'ARRAY' ? :
309 0 0 if (ref $check_v eq 'Regexp') { }
345 0 0 ref $c eq 'ARRAY' ? :
350 0 0 ref $spec eq 'ARRAY' ? :
358 0 0 if (ref $check eq 'Regexp') { }
359 0 0 if $k =~ /$check/l
362 0 0 if $k eq $check
365 0 0 if ($invert) { }
385 0 0 if ($^O eq 'MSWin32' and my $fm = $t->{'file_mode'})
390 0 0 if (my $fm = $t->{'file_mode'})
395 0 0 if ($stat)
406 0 0 if (my $fc = $t->{'file_contents'} || $t->{'file_content'})
409 0 0 ref $t eq 'ARRAY' ? :
417 0 0 if (my $fc = $t->{'file_contents_like'})
420 0 0 ref $t eq 'ARRAY' ? :
428 0 0 if (my $fc = $t->{'file_contents_unlike'})
431 0 0 ref $t eq 'ARRAY' ? :
445 0 0 $conf_dir ? :
0 0 $t->{'setup'} ? :
449 0 0 if defined $t->{'file_check_sub'}
457 0 0 unless dircopy($wr_dir->stringify, $wr_dir2->stringify)
461 0 0 if $t->{'backend_arg'}
485 0 0 unless $config_classes
488 0 0 ref $c eq 'HASH' ? :
511 0 0 unless ($result = do "./$test_group_conf")
512 0 0 if $@
513 0 0 unless defined $result
514 0 0 unless $result
518 0 0 if (ref $result eq 'ARRAY') { }
0 0 elsif (ref $result eq 'HASH') { }
543 0 0 if ($test_suite_data->{'skip'})
554 0 0 unless (defined $test_suite_data->{'model_to_test'})
556 0 0 unless (defined $test_suite_data->{'model_to_test'})
578 0 0 if defined $conf_file_name
585 0 0 if (defined $do and not $t_name =~ /$do/l)
598 0 0 if $model->has_instance($inst_name)
602 0 0 if $t->{'backend_arg'}
621 0 0 if $test_logs
623 0 0 if $t->{'update'}
625 0 0 if $t->{'load'}
628 0 0 if $t->{'check_before_fix'}
630 0 0 if $t->{'apply_fix'}
636 0 0 if $t->{'check'}
638 0 0 if $t->{'has_key'}
639 0 0 if $t->{'has_not_key'}
641 0 0 if $t->{'verify_annotation'}
649 0 0 if $ex_data->is_dir
653 0 0 if $t->{'load2'}
666 0 0 if defined $test_suite_data->{'conf_file_name'}
668 0 0 if $t->{'wr_check'}
680 0 0 if $t->{$_}
686 0 0 if ($@)
698 1 0 if (@_) { }
705 0 1 $arg =~ /t/l ? :
706 0 1 if $arg =~ /l/l
710 0 1 if ($log and -e $log4perl_user_conf_file) { }
714 0 1 $log ? :
717 0 1 if $arg =~ /e/l
727 0 0 $opts->{'log'} ? :
737 0 0 if $test_only_app and $test_only_app ne $test_group
739 0 0 unless $model