blib/lib/Math/GrahamFunction/Object.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 14 | 14 | 100.0 |
branch | n/a | ||
condition | n/a | ||
subroutine | 4 | 4 | 100.0 |
pod | 1 | 1 | 100.0 |
total | 19 | 19 | 100.0 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package Math::GrahamFunction::Object; | ||||||
2 | $Math::GrahamFunction::Object::VERSION = '0.02002'; | ||||||
3 | 2 | 2 | 895 | use strict; | |||
2 | 5 | ||||||
2 | 55 | ||||||
4 | 2 | 2 | 12 | use warnings; | |||
2 | 5 | ||||||
2 | 72 | ||||||
5 | |||||||
6 | |||||||
7 | 2 | 2 | 15 | use parent qw(Class::Accessor); | |||
2 | 5 | ||||||
2 | 12 | ||||||
8 | |||||||
9 | |||||||
10 | sub new | ||||||
11 | { | ||||||
12 | 2662 | 2662 | 1 | 64333 | my $class = shift; | ||
13 | 2662 | 4168 | my $self = {}; | ||||
14 | 2662 | 4422 | bless $self, $class; | ||||
15 | 2662 | 7224 | $self->_initialize(@_); | ||||
16 | 2662 | 7510 | return $self; | ||||
17 | } | ||||||
18 | |||||||
19 | |||||||
20 | 1; | ||||||
21 | |||||||
22 | __END__ |