Condition Coverage

blib/lib/Code/Class/C.pm
Criterion Covered Total %
condition 0 96 0.0


and 3 conditions

line !l l&&!r l&&r condition
215 0 0 0 not defined $subname and defined $top
0 0 0 not defined $subname and defined $bottom
0 0 0 not defined $subname and defined $types
341 0 0 0 defined $classname and defined $subname
0 0 0 defined $classname and defined $subname and defined $buffer
0 0 0 defined $funcname and defined $buffer
0 0 0 defined $classname and defined $before
0 0 0 defined $classname and defined $before and defined $buffer
0 0 0 defined $classname and defined $after
0 0 0 defined $classname and defined $after and defined $buffer
373 0 0 0 defined $classnames && !scalar(grep {$_ eq $classname;} @{$classnames;})
383 0 0 0 $autogen == 0 and $$self{'autogen'} == 1
438 0 0 0 $autogen == 0 and $$self{'autogen'} == 1
605 0 0 0 $autogen == 0 and $$self{'autogen'} == 1
661 0 0 0 exists $$self{'classes'}{$attrtype} and not _skip_class($attrtype, $classnames)
1329 0 0 0 $paramtype eq 'Object' and not exists $$self{'classes'}{$$sign{'params'}[$p][1]}
0 0 0 $paramtype ne 'Object' and $paramtype ne $$sign{'params'}[$p][1]
1480 0 0 0 $membertype eq 'attr' and exists $$class{$membertype}{$membername}
1802 0 0 0 not $code =~ /\n/ and -f $code
0 0 0 not $code =~ /\n/ and -f $code and -r $code

or 2 conditions

line l !l condition
165 0 0 $opts{'top'} || ''
0 0 $opts{'bottom'} || ''
181 0 0 $opts{'attr'} || {}
185 0 0 $opts{'subs'} || {}
960 0 0 $opts{'file'} || die("Error: generate() needs a filename.\n")
961 0 0 $opts{'localheaders'} || []
963 0 0 $opts{'globalheaders'} || []
964 0 0 $opts{'main'} || ''
965 0 0 $opts{'debug'} || 0
967 0 0 $opts{'top'} || ''
971 0 0 $opts{'bottom'} || ''
975 0 0 $opts{'types'} || ''

or 3 conditions

line l !l&&r !l&&!r condition
1329 0 0 0 $p > scalar @{$$sign{'params'};} - 1 or $paramtype eq 'Object' and not exists $$self{'classes'}{$$sign{'params'}[$p][1]}
0 0 0 $p > scalar @{$$sign{'params'};} - 1 or $paramtype eq 'Object' and not exists $$self{'classes'}{$$sign{'params'}[$p][1]} or $paramtype ne 'Object' and $paramtype ne $$sign{'params'}[$p][1]
1511 0 0 0 $methname eq 'new' or $methname eq 'delete'
1802 0 0 0 $code =~ m[^\.?\.?/[^\*]] or not $code =~ /\n/ and -f $code and -r $code