| 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
Condition0%0/8
not xeof() and print $_ and $_ =~ /foo/ || 1
not xeof() and print $_
$_ =~ /foo/ or 1
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/
| |||||||||||||||||||||||||||||||||||||||||||||||
| 15 | } | ||||||||||||||||||||||||||||||||||||||||||||||
| 16 | |||||||||||||||||||||||||||||||||||||||||||||||
| 17 | 1 | 1; | |||||||||||||||||||||||||||||||||||||||||||||