Condition Coverage

blib/lib/Config/JSON/Enhanced.pm
Criterion Covered Total %
condition 29 50 58.0


and 3 conditions

line !l l&&!r l&&r condition
47 609 0 19 exists $params->{'filename'} and defined(my $infile = $params->{'filename'})
598 0 11 exists $params->{'filehandle'} and defined(my $fh = $params->{'filehandle'})
0 0 598 exists $params->{'string'} and defined $params->{'string'}
60 628 0 0 exists $params->{'debug'} && defined $params->{'debug'}
64 0 0 628 exists $params->{'commentstyle'} && defined $params->{'commentstyle'}
68 606 0 22 exists $params->{'tags'} and defined $params->{'tags'}
97 602 0 18 exists $params->{'remove-comments-in-strings'} && defined $params->{'remove-comments-in-strings'}

or 2 conditions

line l !l condition
44 628 0 shift() // {}

or 3 conditions

line l !l&&r !l&&!r condition
78 2 1 2010 $tvop eq $coop or $tvop eq $cocl
3 0 2010 $tvop eq $coop or $tvop eq $cocl or $tvcl eq $coop
1 0 2010 $tvop eq $coop or $tvop eq $cocl or $tvcl eq $coop or $tvcl eq $cocl
82 2 0 2008 $tvop =~ /\Q$coop\E/ or $tvop =~ /\Q$cocl\E/
2 0 2008 $tvop =~ /\Q$coop\E/ or $tvop =~ /\Q$cocl\E/ or $tvcl =~ /\Q$coop\E/
0 1 2007 $tvop =~ /\Q$coop\E/ or $tvop =~ /\Q$cocl\E/ or $tvcl =~ /\Q$coop\E/ or $tvcl =~ /\Q$cocl\E/
85 0 0 2007 $coop =~ /\Q$tvop\E/ or $coop =~ /\Q$tvcl\E/
0 0 2007 $coop =~ /\Q$tvop\E/ or $coop =~ /\Q$tvcl\E/ or $cocl =~ /\Q$tvop\E/
0 1 2006 $coop =~ /\Q$tvop\E/ or $coop =~ /\Q$tvcl\E/ or $cocl =~ /\Q$tvop\E/ or $cocl =~ /\Q$tvcl\E/