Khonsu/Shape.pm

filter: Statementstmt 100% 8 / 8 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 2 / 2 Podpod 0.0% 0 / 1 totaltotal 90.9% 10 / 11 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
add
1.0
CRAP 1.0
« Khonsu/Form.pm ↑ Summary Khonsu/Shape/Circle.pm »
1 package Khonsu::Shape;
2  
3 3 ▶use parent 'Khonsu::Ra';
Subroutine BEGIN: called CC=1 SCAR=0.0
4  
5 sub add {
6 134 ▶ my ($self, $file, %args) = @_;
Subroutine add: called CC=1 SCAR=0.0
Pod undocumented
7 134 my $shape = $file->page->current->gfx;
8 134 $self->shape($file, $shape, %args);
9 134 return $self;
10 }
11  
12 3 1;
« Khonsu/Form.pm ↑ Summary Khonsu/Shape/Circle.pm »