Branch Coverage

bin/yfrom
Criterion Covered Total %
branch 19 32 59.3


line true false branch
22 0 4 if $opt{'help'}
23 0 4 if ($opt{'version'})
33 1 3 unless $format
34 1 2 unless $class->format_modules($format)
37 1 1 unless @argv
41 1 1 if ($ARGV eq '-') { }
46 0 1 unless (open $fh, '<', $ARGV)
52 0 2 unless my $f = $class->can_format($format, %opt)
59 4 16 if @docs
94 0 0 unless (@names)
102 0 0 if ($opt{'trim'})
111 0 0 unless (@names)
119 0 0 if ($opt{'trim'})
132 1 7 unless $FORMAT_MODULES{$format}
139 4 0 unless ($m)
142 3 2 if (eval { do { use_module $module; 1 } })