blib/lib/Khonsu/Shape.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 7 | 7 | 100.0 |
branch | n/a | ||
condition | n/a | ||
subroutine | 2 | 2 | 100.0 |
pod | 0 | 1 | 0.0 |
total | 9 | 10 | 90.0 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package Khonsu::Shape; | ||||||
2 | |||||||
3 | 5 | 5 | 1868 | use parent 'Khonsu::Ra'; | |||
5 | 12 | ||||||
5 | 34 | ||||||
4 | |||||||
5 | sub add { | ||||||
6 | 102 | 102 | 0 | 588 | my ($self, $file, %args) = @_; | ||
7 | 102 | 466 | my $shape = $file->page->current->gfx; | ||||
8 | 102 | 24499 | $self->shape($file, $shape, %args); | ||||
9 | 102 | 4862 | return $self; | ||||
10 | } | ||||||
11 | |||||||
12 | 1; |