Sugar/Minimal.pm

filter: Statementstmt 100% 17 / 17 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 7 / 7 Podpod 100% 3 / 3 totaltotal 100% 27 / 27 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Sugar.pm ↑ Summary
1 3 ▶use 5.006; # pragmas
Subroutine BEGIN: called CC=1 SCAR=0.0
2 3 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 3 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4  
5 package MooseX::Has::Sugar::Minimal;
6  
7 3 our $VERSION = '1.000006';
8  
9 # ABSTRACT: Less Sugary Syntax for moose 'has' fields
10  
11 3 our $AUTHORITY = 'cpan:KENTNL'; # AUTHORITY
12  
13 3 ▶use Sub::Exporter::Progressive -setup => {
Subroutine BEGIN: called CC=1 SCAR=0.0
14 exports => [ 'ro', 'rw', 'bare', ],
15 groups => {
16 is => [ 'ro', 'rw', 'bare', ],
17 default => [ '-all', ],
18 },
19 3 };
20  
21  
22  
23  
24  
25  
26  
27  
28  
29  
30  
31  
32  
33  
34  
35  
36  
37 2 ▶sub bare() {
Subroutine bare: called CC=1 SCAR=0.0
Pod documented
38 2 return ('bare');
39 }
40  
41  
42  
43  
44  
45  
46  
47 3 ▶sub ro() {
Subroutine ro: called CC=1 SCAR=0.0
Pod documented
48 3 return ('ro');
49 }
50  
51  
52  
53  
54  
55  
56  
57 2 ▶sub rw() {
Subroutine rw: called CC=1 SCAR=0.0
Pod documented
58 2 return ('rw');
59 }
60  
61 3 1;
62  
63 __END__
« Sugar.pm ↑ Summary