Mock.pm

filter: Statementstmt 100% 20 / 20 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 6 / 6 Podpod 100% 1 / 1 totaltotal 100% 27 / 27 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Mock/Event.pm ↑ Summary
1 package JIP::Mock;
2  
3 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 1 ▶use Exporter qw(import);
Subroutine BEGIN: called CC=1 SCAR=0.0
7 1 ▶use English qw(-no_match_vars);
Subroutine BEGIN: called CC=1 SCAR=0.0
8  
9 1 ▶use JIP::Mock::Control;
Subroutine BEGIN: called CC=1 SCAR=0.0
10  
11 1 our $VERSION = 'v0.0.4';
12  
13 1 our @EXPORT_OK = qw(take_control);
14  
15 2 ▶sub take_control {
Subroutine take_control: called CC=1 SCAR=0.0
Pod documented
16 2 my ( $package, %args ) = @ARG;
17  
18 2 return JIP::Mock::Control->new(
19 package => $package,
20 %args,
21 );
22 }
23  
24 1 1;
25  
26 __END__
« Mock/Event.pm ↑ Summary