blib/lib/Linux/DVB/DVBT/Advert/Config.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 13 | 88 | 14.7 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
606 | 0 | 0 | 12 | exists $ENV{'HOME'} and defined $ENV{'HOME'} |
617 | 0 | 0 | 0 | not $home and exists $ENV{'USERPROFILE'} |
0 | 0 | 0 | not $home and exists $ENV{'USERPROFILE'} and $ENV{'USERPROFILE'} | |
623 | 0 | 0 | 0 | not $home and exists $ENV{'HOMEDRIVE'} |
0 | 0 | 0 | not $home and exists $ENV{'HOMEDRIVE'} and exists $ENV{'HOMEPATH'} | |
0 | 0 | 0 | not $home and exists $ENV{'HOMEDRIVE'} and exists $ENV{'HOMEPATH'} and $ENV{'HOMEDRIVE'} | |
0 | 0 | 0 | not $home and exists $ENV{'HOMEDRIVE'} and exists $ENV{'HOMEPATH'} and $ENV{'HOMEDRIVE'} and $ENV{'HOMEPATH'} | |
629 | 0 | 0 | 0 | $home and -d $home |
646 | 0 | 0 | 0 | $home and -d $home |
664 | 0 | 0 | 0 | $home and -d $home |
978 | 0 | 0 | 0 | exists $$val{$subvar} and defined $$val{$subvar} |
1300 | 0 | 0 | 0 | $key and exists $$defaults_href{$key} |
1313 | 0 | 0 | 0 | $key and exists $$settings_href{$key} |
1368 | 0 | 1 | 0 | $channel and exists $$advert_settings_href{$channel} |
1461 | 0 | 0 | 0 | $subvar and exists $SETTINGS_COMMENTS{$subvar} |
line | l | !l | condition |
---|---|---|---|
749 | 436 | 16 | $dvb_adv{$channel} ||= {} |
922 | 0 | 0 | $commented_href ||= {} |
952 | 0 | 0 | $seen{$section} ||= {} |
988 | 0 | 0 | $seen{$section}{$field} ||= {} |
1274 | 36 | 7 | $$href{$1} ||= {} |
1292 | 0 | 0 | $settings_href ||= {} |
1293 | 0 | 0 | $defaults_href ||= {} |
1357 | 1 | 0 | $channel ||= '' |
1393 | 14 | 0 | $base_href ||= {} |
1402 | 11 | 28 | $$new_href{$key} ||= {} |
1422 | 0 | 0 | $base_href ||= {} |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
612 | 12 | 0 | 0 | $^O eq 'linux' or $^O eq 'cygwin' |
720 | 5 | 0 | 0 | $search_path ||= $DEFAULT_CONFIG_PATH |
782 | 0 | 0 | 0 | $search_path ||= $DEFAULT_CONFIG_PATH |
803 | 0 | 0 | 0 | $search_path ||= $DEFAULT_CONFIG_PATH |
825 | 5 | 0 | 0 | $search_path ||= $DEFAULT_CONFIG_PATH |
854 | 0 | 0 | 0 | $search_path ||= $DEFAULT_CONFIG_PATH |
962 | 0 | 0 | 0 | not $line or $line =~ /#/ |