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.02004'; | ||||||
3 | 1 | 1 | 465 | use strict; | |||
1 | 2 | ||||||
1 | 29 | ||||||
4 | 1 | 1 | 5 | use warnings; | |||
1 | 2 | ||||||
1 | 28 | ||||||
5 | |||||||
6 | |||||||
7 | 1 | 1 | 5 | use parent qw(Class::Accessor); | |||
1 | 2 | ||||||
1 | 8 | ||||||
8 | |||||||
9 | |||||||
10 | sub new | ||||||
11 | { | ||||||
12 | 2662 | 2662 | 1 | 67978 | my $class = shift; | ||
13 | 2662 | 3990 | my $self = {}; | ||||
14 | 2662 | 4387 | bless $self, $class; | ||||
15 | 2662 | 6851 | $self->_initialize(@_); | ||||
16 | 2662 | 7489 | return $self; | ||||
17 | } | ||||||
18 | |||||||
19 | |||||||
20 | 1; | ||||||
21 | |||||||
22 | __END__ |