Condition Coverage

blib/lib/Open/This.pm
Criterion Covered Total %
condition 23 35 65.7


and 3 conditions

line !l l&&!r l&&r condition
70 26 12 4 not $parsed{'file_name'} and $text =~ m[\Ahttps?://]i
74 30 5 7 not $parsed{'file_name'} and $parsed{'is_module_name'}
80 33 5 4 not $parsed{'file_name'} and $parsed{'is_module_name'}
115 0 0 0 $parsed and $parsed->{'file_name'}
118 0 0 0 $url and $url->can("host")
265 6 12 5 $file_name and $sub_name
18 0 5 $file_name and $sub_name and open my $fh, "<", $file_name
292 3 1 0 $uri->fragment and $uri->fragment =~ /\A[\d]\z/
362 2 0 1 $threshold == 0 and not $file_name

or 2 conditions

line l !l condition
351 1 2 shift() || 5000

or 3 conditions

line l !l&&r !l&&!r condition
160 0 0 2 $ENV{'EDITOR'} eq "nvim" or $ENV{'EDITOR'} eq "vi"
0 1 1 $ENV{'EDITOR'} eq "nvim" or $ENV{'EDITOR'} eq "vi" or $ENV{'EDITOR'} eq "vim"