blib/lib/VS/RuleEngine/Cv.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 12 | 12 | 100.0 |
branch | n/a | ||
condition | n/a | ||
subroutine | 4 | 4 | 100.0 |
pod | 1 | 1 | 100.0 |
total | 17 | 17 | 100.0 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package VS::RuleEngine::Cv; | ||||||
2 | |||||||
3 | 23 | 23 | 141 | use strict; | |||
23 | 47 | ||||||
23 | 835 | ||||||
4 | 23 | 23 | 124 | use warnings; | |||
23 | 46 | ||||||
23 | 667 | ||||||
5 | |||||||
6 | 23 | 23 | 124 | use Carp qw(croak); | |||
23 | 43 | ||||||
23 | 3038 | ||||||
7 | |||||||
8 | sub new { | ||||||
9 | 155 | 155 | 1 | 211 | my ($pkg, $cv) = @_; | ||
10 | 155 | 356 | my $self = bless $cv, $pkg; | ||||
11 | 155 | 392 | return $self; | ||||
12 | } | ||||||
13 | |||||||
14 | 1; | ||||||
15 | __END__ |