Filter/Essex/Foo.pm

filter: Statementstmt 92.8% 13 / 14 Branchbran 0.0% 0 / 2 Conditioncond 0.0% 0 / 8 MC/DCmcdc 0.0% 0 / 3 Subroutinesub 66.6% 2 / 3 Podpod 100% 1 / 1 totaltotal 51.6% 16 / 31 CC 5 SCAR 30.8
CC
5
Cov
54%
main
30.0
BEGIN
1.0
BEGIN
1.0
CRAP 21.7
« SAX/Writer/XML.pm ↑ Summary Essex/NamespaceMap.pm »
1 package XML::Filter::Essex::Foo;
2  
3 1 $VERSION = 0.000_1;
4  
5 1 require XML::Filter::Essex;
6  
7 1 @ISA = qw( XML::Filter::Essex );
8  
9 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
10  
11 1 ▶use XML::Essex;
Subroutine BEGIN: called CC=1 SCAR=0.0
12 1  
13 0 ▶sub main {
Subroutine main: not called CC=5 SCAR=34.0
Pod documented
14 0 ▶ get while !xeof and print $_ and $_ =~ /foo/ || 1;
Branch: 1 branch
BranchTrueFalseTotal
not xeof() and print $_ and $_ =~ /foo/ || 1 and do { get() } 0 0 0
Condition0%0/8
not xeof() and print $_ and $_ =~ /foo/ || 1
!ll&&!rl&&r
000
not xeof() and print $_
!ll&&!rl&&r
000
$_ =~ /foo/ or 1
l!l
00
MC/DC0%0/3
not xeof() and print $_ and $_ =~ /foo/ || 1
not xeof() print $_ $_ =~ /foo/
Truth table0%0/4
not(A) and B and C
A= not xeof()B= print $_C= $_ =~ /foo/
ABCresult
0XX0
10X0
1100
1111
15 }
16  
17 1 1;
« SAX/Writer/XML.pm ↑ Summary Essex/NamespaceMap.pm »