Sleep/Resource.pm

filter: Statementstmt 55.5% 10 / 18 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 37.5% 3 / 8 Podpod 100% 5 / 5 totaltotal 58.0% 18 / 31 CC 1 SCAR 4.9
CC
1
Cov
56%
new
2.0
get
2.0
put
2.0
CRAP 1.6
« SleepTest/Test1.pm ↑ Summary Sleep/Response.pm »
1 package Sleep::Resource;
2  
3 2 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 2 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 2 ▶use Carp;
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 0 ▶sub new {
Subroutine new: not called CC=1 SCAR=6.9
Pod documented
9 0 my $klass = shift;
10 0 my $args = shift;
11  
12 0 my $self = bless { %$args }, $klass;
13  
14 0 return $self;
15 }
16  
17 0 ▶sub get {
Subroutine get: not called CC=1 SCAR=6.9
Pod documented
18 0 croak "No GET method implemented";
19 }
20  
21 0 ▶sub put {
Subroutine put: not called CC=1 SCAR=6.9
Pod documented
22 0 croak "No PUT method implemented";
23 }
24  
25 0 ▶sub post {
Subroutine post: not called CC=1 SCAR=6.9
Pod documented
26 0 croak "No POST method implemented";
27 }
28  
29 0 ▶sub delete {
Subroutine delete: not called CC=1 SCAR=6.9
Pod documented
30 0 croak "No DELETE method implemented";
31 }
32  
33 2 1;
34  
35 __END__
« SleepTest/Test1.pm ↑ Summary Sleep/Response.pm »