Kit/TAP.pm

filter: Statementstmt 100% 23 / 23 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 6 / 6 Podpod n/a totaltotal 100% 29 / 29 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Kit/cPanel.pm ↑ Summary
1 package Devel::Kit::TAP;
2  
3 3 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 3 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 3 $Devel::Kit::TAP::VERSION = '0.1';
6  
7 3 ▶use base 'Devel::Kit';
Subroutine BEGIN: called CC=1 SCAR=0.0
8 3 @Devel::Kit::TAP::ISA = ('Devel::Kit');
9  
10 5 ▶sub import {
Subroutine import: called CC=1 SCAR=0.0
11 5 my $caller = caller();
12 5 require Import::Into; # die here since we don't need it otherwise, so we know right off there's a problem, and so caller does not have to check status unless they want to
13 5 Devel::Kit->import::into( $caller, @_ );
14 }
15  
16 3 ▶use Test::More ();
Subroutine BEGIN: called CC=1 SCAR=0.0
17 {
18 3 ▶ no warnings 'redefine';
Subroutine BEGIN: called CC=1 SCAR=0.0
19 3 *Devel::Kit::o = \&Test::More::diag;
20 }
21  
22 3 1;
23  
24 __END__
« Kit/cPanel.pm ↑ Summary