blib/lib/XML/Filter/Essex/Foo.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 6 | 7 | 85.7 |
branch | n/a | ||
condition | 0 | 8 | 0.0 |
subroutine | 2 | 3 | 66.6 |
pod | n/a | ||
total | 8 | 18 | 44.4 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package XML::Filter::Essex::Foo; | ||||||
2 | |||||||
3 | $VERSION = 0.000_1; | ||||||
4 | |||||||
5 | require XML::Filter::Essex; | ||||||
6 | |||||||
7 | @ISA = qw( XML::Filter::Essex ); | ||||||
8 | |||||||
9 | 1 | 1 | 6982 | use strict; | |||
1 | 2 | ||||||
1 | 44 | ||||||
10 | |||||||
11 | 1 | 1 | 766 | use XML::Essex; | |||
1 | 3 | ||||||
1 | 7 | ||||||
12 | |||||||
13 | sub main { | ||||||
14 | 0 | 0 | 0 | get while !xeof and print $_ and $_ =~ /foo/ || 1; | |||
0 | |||||||
0 | |||||||
15 | } | ||||||
16 | |||||||
17 | 1; |