blib/lib/Imager/Filter/FishEye.pm

filter: Statementstmt 87.5% 14 / 16 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 80.0% 4 / 5 Podpod n/a totaltotal 85.7% 18 / 21 CC 1 SCAR 1.8
CC
1
Cov
88%
__ANON__
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.2
↑ Summary FishEye.xs »
1 package Imager::Filter::FishEye;
2 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 1 ▶use 5.008001;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 1 ▶BEGIN {
Subroutine BEGIN: called CC=1 SCAR=0.0
7 1 our $VERSION = "0.04";
8 1 require XSLoader;
9 1 XSLoader::load( 'Imager::Filter::FishEye', $VERSION );
10 }
11  
12 1 my %defaults = ( d => 40, r => -1 );
13  
14 Imager->register_filter(
15 type => 'fisheye',
16 0 ▶ callsub => sub { my %hsh = @_; __fisheye( $hsh{image}, $hsh{r}, $hsh{d} ) },
Subroutine __ANON__: not called CC=1 SCAR=6.9
17 1 defaults => \%defaults,
18 callseq => ['image']
19 );
20  
21 1 1;
22 __END__
↑ Summary FishEye.xs »