Branch Coverage

bin/yfrom
Criterion Covered Total %
branch 19 28 67.8


line true false branch
20 0 4 if $opt{'help'}
21 0 4 if ($opt{'version'})
27 1 3 unless $format
28 1 2 unless $class->format_modules($format)
31 1 1 unless @argv
35 1 1 if ($ARGV eq '-') { }
40 0 1 unless (open $fh, '<', $ARGV)
46 0 2 unless my $f = $class->can_format($format)
53 4 16 if @docs
86 0 0 unless (@names)
98 0 0 unless (@names)
114 1 7 unless $FORMAT_MODULES{$format}
121 4 0 unless ($m)
124 3 2 if (eval { do { use_module $module; 1 } })