blib/lib/Acme/Ane.pm

filter: Statementstmt 100% 22 / 22 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 8 / 8 Podpod 33.3% 1 / 3 totaltotal 93.9% 31 / 33 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
↑ Summary
1 package Acme::Ane;
2 2 ▶use 5.008001;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 2 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 2 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 2 ▶use Exporter "import";
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 2 our $VERSION = "0.01";
9 2 our @EXPORT_OK = qw( ane );
10  
11 2 ▶sub new {
Subroutine new: called CC=1 SCAR=0.0
Pod undocumented
12 2 my ($class, $object) = @_;
13 2 bless {object => $object}, $class
14 }
15  
16 2 ▶sub is_ane { 1; }
Subroutine is_ane: called CC=1 SCAR=0.0
Pod documented
17  
18 1 ▶sub ane {
Subroutine ane: called CC=1 SCAR=0.0
Pod undocumented
19 1 __PACKAGE__->new($_[0]);
20 }
21  
22 6 ▶sub AUTOLOAD {
Subroutine AUTOLOAD: called CC=1 SCAR=0.0
23 6 my $self = shift;
24 6 my $meth = our $AUTOLOAD;
25 6 $meth =~ s/.*:://;
26 6 $self->{object}->$meth(@_);
27 }
28  
29 2 1;
30 __END__
↑ Summary