Tangerine/Hook.pm

filter: Statementstmt 93.7% 15 / 16 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 83.3% 5 / 6 Podpod 66.6% 2 / 3 totaltotal 88.0% 22 / 25 CC 1 SCAR 1.5
CC
1
Cov
94%
run
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.2
« Tangerine/Occurence.pm ↑ Summary
1 package Tangerine::Hook;
2 15 $Tangerine::Hook::VERSION = '0.22';
3 15 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 15 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 15 ▶use Tangerine::Utils qw/accessor/;
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7 sub new {
8 196 ▶ my $class = shift;
Subroutine new: called CC=1 SCAR=0.0
Pod undocumented
9 196 my %args = @_;
10 bless {
11 _type => $args{type},
12 196 }, $class
13 }
14  
15 1111 ▶sub type { accessor _type => @_ }
Subroutine type: called CC=1 SCAR=0.0
Pod documented
16  
17 sub run {
18 0 ▶ warn "Hook run() method not implemented."
Subroutine run: not called CC=1 SCAR=6.9
Pod documented
19 }
20  
21 15 1;
22  
23 __END__
« Tangerine/Occurence.pm ↑ Summary