Khonsu/Shape/Circle.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
shape
1.0
CRAP 1.0
« Khonsu/Shape.pm ↑ Summary Khonsu/Shape/Ellipse.pm »
1 package Khonsu::Shape::Circle;
2  
3 3 ▶use parent 'Khonsu::Shape';
Subroutine BEGIN: called CC=1 SCAR=0.0
4  
5 sub shape {
6 2 ▶ my ($self, $file, $shape, %args) = @_;
Subroutine shape: called CC=1 SCAR=0.0
Pod undocumented
7 2 my $circle = $shape->circle($args{x} + $args{r}, $file->page->h - ($args{y} + $args{r}), $args{r});
8 2 $circle->fillcolor($args{fill_colour});
9 2 $circle->fill;
10 }
11  
12 3 1;
« Khonsu/Shape.pm ↑ Summary Khonsu/Shape/Ellipse.pm »