blib/lib/Open/This.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 26 | 38 | 68.4 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
71 | 44 | 12 | 4 | not $parsed{'file_name'} and $text =~ m[\Ahttps?://]i |
75 | 48 | 5 | 7 | not $parsed{'file_name'} and $parsed{'is_module_name'} |
81 | 51 | 5 | 4 | not $parsed{'file_name'} and $parsed{'is_module_name'} |
116 | 0 | 0 | 0 | $parsed and $parsed->{'file_name'} |
119 | 0 | 0 | 0 | $url and $url->can("host") |
284 | 6 | 18 | 5 | $file_name and $sub_name |
24 | 0 | 5 | $file_name and $sub_name and open my $fh, "<", $file_name | |
311 | 3 | 1 | 0 | $uri->fragment and $uri->fragment =~ /\A[\d]\z/ |
381 | 2 | 0 | 1 | $threshold == 0 and not $file_name |
line | l | !l | condition |
---|---|---|---|
370 | 1 | 2 | shift() || 5000 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
150 | 3 | 12 | 20 | $ENV{'EDITOR'} eq "kate" or $ENV{'EDITOR'} =~ /^(idea|rubymine|pycharm|phpstorm|webstorm|goland|rider|clion|fleet|aqua|data(grip|spell)|appcode)/i |
179 | 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" |