Branch Coverage

blib/lib/App/sdview.pm
Criterion Covered Total %
branch 0 36 0.0


line true false branch
90 0 0 if (($format // "") eq "?")
96 0 0 if (($output // "") eq "?")
103 0 0 if (-f (my $configpath = "$ENV{'HOME'}/.sdviewrc"))
108 0 0 if (/^(.*?)=(.*)$/u) { }
113 0 0 if (defined $format)
114 0 0 if $_->can("format")
0 0 unless $parser_class = first({$_->format eq $format if $_->can("format");} @PARSER_CLASSES)
118 0 0 unless (defined $file)
122 0 0 unless (-f $file)
125 0 0 $parser_class ? :
126 0 0 if defined($file = $class->find_file($name))
130 0 0 unless defined $file
135 0 0 unless first {$_->can_parse_file($file);} @PARSER_CLASSES
139 0 0 if $_->can("format")
0 0 unless my $output_class = first({$_->format eq $output if $_->can("format");} @OUTPUT_CLASSES)
144 0 0 if ($highlight)
154 0 0 if ($para->type eq "verbatim" and defined(my $language = $para->language))
158 0 0 if ($para->type =~ /^list-/u)