OOP/Accessor.pm

filter: Statementstmt 77.7% 7 / 9 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 66.6% 2 / 3 Podpod 0.0% 0 / 1 totaltotal 69.2% 9 / 13 CC 1 SCAR 2.9
CC
1
Cov
78%
getProperty
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.3
« OOP/Constructor.pm ↑ Summary
1 package OOP::Accessor;
2  
3 1 ▶use Carp;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 0 ▶sub getProperty {
Subroutine getProperty: not called CC=1 SCAR=6.9
Pod undocumented
7  
8 0 my($self, $property) = @_;
9  
10 0 return $property;
11  
12 }
13  
14 1 1;
« OOP/Constructor.pm ↑ Summary