Branch Coverage

blib/lib/XXX.pm
Criterion Covered Total %
branch 17 44 38.6


line true false branch
18 1 0 if ($arg eq '-with') { }
19 0 1 unless $i++ < @args
28 0 3 if (grep /^-?global$/, @args)
45 0 1 unless $DumpModule =~ /^( (?:YAML|JSON)(?:::.*)?| Data::Dumper| Data::Dump(?:::Color)? )$/x
57 0 0 $DumpModule eq 'Data::Dump::Color' ? :
0 0 $DumpModule eq 'Data::Dump' ? :
1 0 $DumpModule eq 'Data::Dumper' ? :
0 1 substr($DumpModule, 0, 4) eq 'JSON' ? :
2 1 substr($DumpModule, 0, 4) eq 'YAML' ? :
64 2 1 unless (defined ${"${DumpModule}::VERSION";})
65 0 2 unless eval "require $DumpModule; 1"
67 2 1 if ($DumpModule eq 'YAML::PP')
70 0 1 if ($dump_type eq 'yaml')
73 0 1 if ($dump_type eq 'json')
76 1 0 if ($dump_type eq 'dumper')
81 0 0 if ($dump_type eq 'dump')
84 0 0 if ($dump_type eq 'dumpcolor')
96 0 3 if defined &$skipper and &$skipper()
105 0 0 if (defined &main::diag and defined &Test::More::diag and \&main::diag eq \&Test::More::diag) { }
114 0 0 wantarray ? :
123 0 0 if (defined &main::note and defined &Test::More::note and \&main::note eq \&Test::More::note) { }
132 0 0 wantarray ? :