File Coverage

lib/Aspect/Pointcut/NotOp.pm
Criterion Covered Total %
statement 12 17 70.5
branch n/a
condition n/a
subroutine 4 7 57.1
pod 0 3 0.0
total 16 27 59.2


line stmt bran cond sub pod time code
1             package Aspect::Pointcut::NotOp;
2              
3 1     1   4 use strict;
  1         1  
  1         29  
4 1     1   3 use warnings;
  1         2  
  1         18  
5 1     1   3 use Carp;
  1         1  
  1         43  
6              
7 1     1   3 use base 'Aspect::Pointcut';
  1         1  
  1         159  
8              
9 0     0 0   sub init { shift->{op} = pop }
10              
11             sub match_define {
12 0     0 0   my ($self, $sub_name) = @_;
13 0           return !$self->{op}->match_define($sub_name);
14             }
15              
16             sub match_run {
17 0     0 0   my ($self, $sub_name) = @_;
18 0           return !$self->{op}->match_run($sub_name);
19             }
20              
21             1;