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)
47 0 1 unless $DumpModule =~ /^( (?:YAML|JSON)(?:::.*)?| Data::Dumper| Data::Dump(?:::Color)? )$/x
59 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' ? :
66 2 1 unless (defined ${"${DumpModule}::VERSION";})
67 0 2 unless eval "require $DumpModule; 1"
69 2 1 if ($DumpModule eq 'YAML::PP')
72 0 1 if ($dump_type eq 'yaml')
75 0 1 if ($dump_type eq 'json')
78 1 0 if ($dump_type eq 'dumper')
83 0 0 if ($dump_type eq 'dump')
86 0 0 if ($dump_type eq 'dumpcolor')
98 0 3 if defined &$skipper and &$skipper()
107 0 0 if (defined &main::diag and defined &Test::More::diag and \&main::diag eq \&Test::More::diag) { }
116 0 0 wantarray ? :
125 0 0 if (defined &main::note and defined &Test::More::note and \&main::note eq \&Test::More::note) { }
134 0 0 wantarray ? :