Aspect/Point/Static.pm

filter: Statementstmt 75.0% 15 / 20 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 66.6% 4 / 6 Podpod 100% 1 / 1 totaltotal 74.0% 20 / 27 SCAR 0.2
CC
1
Cov
75%
return_value
2.0
AUTOLOAD
2.0
BEGIN
1.0
CRAP 1.0
« Aspect/Point/After.pm ↑ Summary Aspect/Library/Breakpoint.pm »
1 package Aspect::Point::Static;
2  
3 =pod
4  
5 =head1 NAME
6  
7 Aspect::Point - The Join Point context for join point static parts
8  
9 =head1 SYNOPSIS
10  
11 =head1 METHODS
12  
13 =cut
14  
15 21 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
16 21 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
17 21 ▶use Carp ();
Subroutine BEGIN: called CC=1 SCAR=0.0
18 21 ▶use Aspect::Point ();
Subroutine BEGIN: called CC=1 SCAR=0.0
19  
20 21 our $VERSION = '0.97_06';
21 21 our @ISA = 'Aspect::Point';
22  
23  
24  
25  
26  
27 ######################################################################
28 # Error on anything this doesn't support
29  
30 sub return_value {
31 0 ▶ Carp::croak("Cannot call return_value on static part of join point");
Subroutine return_value: not called CC=1 SCAR=6.9
Pod documented
32 }
33  
34 sub AUTOLOAD {
35 0 ▶ my $self = shift;
Subroutine AUTOLOAD: not called CC=1 SCAR=6.9
36 0 my $key = our $AUTOLOAD;
37 0 $key =~ s/^.*:://;
38 0 Carp::croak("Cannot call $key on static part of join point");
39 }
40  
41 21 1;
42  
43 =pod
44  
45 =head1 AUTHORS
46  
47 Adam Kennedy E<lt>adamk@cpan.orgE<gt>
48  
49 Marcel GrE<uuml>nauer E<lt>marcel@cpan.orgE<gt>
50  
51 Ran Eilam E<lt>eilara@cpan.orgE<gt>
52  
53 =head1 COPYRIGHT
54  
55 Copyright 2001 by Marcel GrE<uuml>nauer
56  
57 Some parts copyright 2009 - 2011 Adam Kennedy.
58  
59 This library is free software; you can redistribute it and/or modify
60 it under the same terms as Perl itself.
61  
62 =cut
« Aspect/Point/After.pm ↑ Summary Aspect/Library/Breakpoint.pm »