Singleton/Exception/Invalid.pm

filter: Statementstmt 84.6% 11 / 13 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 75.0% 3 / 4 Podpod 100% 1 / 1 totaltotal 83.3% 15 / 18 CC 1 SCAR 2.2
CC
1
Cov
85%
new
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.2
« Singleton/Frame/Deducer.pm ↑ Summary Singleton.pm »
1  
2 9 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 9 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
4  
5 package Context::Singleton::Exception::Invalid;
6 9 $Context::Singleton::Exception::Invalid::VERSION = '1.0.9';
7 9 ▶use Exception::Class ( __PACKAGE__ );
Subroutine BEGIN: called CC=1 SCAR=0.0
8  
9 0 ▶sub new {
Subroutine new: not called CC=1 SCAR=6.9
Pod documented
10 0 my ($self, @params) = @_;
11  
12 0 $self->SUPER::new (error => q (Invalid value), @params);
13 }
14  
15 9 1;
16  
17 __END__
« Singleton/Frame/Deducer.pm ↑ Summary Singleton.pm »