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.02003'; | ||||||
3 | 2 | 2 | 886 | use strict; | |||
2 | 4 | ||||||
2 | 59 | ||||||
4 | 2 | 2 | 11 | use warnings; | |||
2 | 4 | ||||||
2 | 53 | ||||||
5 | |||||||
6 | |||||||
7 | 2 | 2 | 10 | use parent qw(Class::Accessor); | |||
2 | 4 | ||||||
2 | 11 | ||||||
8 | |||||||
9 | |||||||
10 | sub new | ||||||
11 | { | ||||||
12 | 2662 | 2662 | 1 | 66630 | my $class = shift; | ||
13 | 2662 | 4218 | my $self = {}; | ||||
14 | 2662 | 4324 | bless $self, $class; | ||||
15 | 2662 | 6833 | $self->_initialize(@_); | ||||
16 | 2662 | 7600 | return $self; | ||||
17 | } | ||||||
18 | |||||||
19 | |||||||
20 | 1; | ||||||
21 | |||||||
22 | __END__ |