Aspect/Library/Breakpoint.pm

filter: Statementstmt 85.7% 18 / 21 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 71.4% 5 / 7 Podpod 0.0% 0 / 1 totaltotal 79.3% 23 / 29 SCAR 0.0
CC
1
Cov
86%
__ANON__
2.0
get_advice
1.1
BEGIN
1.0
CRAP 1.0
« Aspect/Point/Static.pm ↑ Summary Aspect/Pointcut/Logic.pm »
1 package Aspect::Library::Breakpoint;
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 1 ▶use Aspect::Library ();
Subroutine BEGIN: called CC=1 SCAR=0.0
6 1 ▶use Aspect::Advice::Before ();
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 1 our $VERSION = '0.97_06';
9 1 our @ISA = 'Aspect::Library';
10  
11 sub get_advice {
12 0 ▶ my $self = shift;
Subroutine get_advice: not called CC=1 SCAR=1.2
Pod undocumented
13 Aspect::Advice::Before->new(
14 lexical => $self->lexical,
15 pointcut => $_[0],
16 code => sub {
17 1 ▶ no warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
18 0 ▶ $DB::single = 1;
Subroutine __ANON__: not called CC=1 SCAR=6.9
19 },
20 0 );
21 }
22  
23 1 1;
24  
25 __END__
« Aspect/Point/Static.pm ↑ Summary Aspect/Pointcut/Logic.pm »