Moose/Role/Reporting.pm

filter: Statementstmt 100% 22 / 22 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 6 / 6 Podpod n/a totaltotal 100% 28 / 28 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Moose/Report/Instance.pm ↑ Summary
1 package Test::Class::Moose::Role::Reporting;
2  
3 # ABSTRACT: Reporting gathering role
4  
5 30 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
6 30 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
7 30 ▶use namespace::autoclean;
Subroutine BEGIN: called CC=1 SCAR=0.0
8  
9 30 ▶use 5.010000;
Subroutine BEGIN: called CC=1 SCAR=0.0
10  
11 30 our $VERSION = '1.00';
12  
13 30 ▶use Moose::Role;
Subroutine BEGIN: called CC=1 SCAR=0.0
14 30 with 'Test::Class::Moose::Role::HasTimeReport';
15  
16 30 has 'name' => (
17 is => 'ro',
18 isa => 'Str',
19 required => 1,
20 );
21  
22 has 'notes' => (
23 is => 'rw',
24 isa => 'HashRef',
25 508 ▶ default => sub { {} },
Subroutine __ANON__: called CC=1 SCAR=0.0
26 30 );
27  
28 30 has 'skipped' => (
29 is => 'rw',
30 isa => 'Str',
31 predicate => 'is_skipped',
32 );
33  
34 30 has 'passed' => (
35 is => 'rw',
36 isa => 'Bool',
37 default => 0,
38 );
39  
40 30 1;
41  
42 __END__
« Moose/Report/Instance.pm ↑ Summary