Comment.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%
as_tap
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.2
« Plan/SkipAll.pm ↑ Summary JunkLine.pm »
1 package TAP::Spec::Comment;
2 2 ▶BEGIN {
Subroutine BEGIN: called CC=1 SCAR=0.0
3 2 $TAP::Spec::Comment::AUTHORITY = 'cpan:ARODLAND';
4 }
5 {
6 2 $TAP::Spec::Comment::VERSION = '0.10';
7 }
8 # ABSTRACT: A comment in a TAP stream
9 2 ▶use Mouse;
Subroutine BEGIN: called CC=1 SCAR=0.0
10 2 ▶use namespace::autoclean;
Subroutine BEGIN: called CC=1 SCAR=0.0
11  
12  
13 2 has 'text' => (
14 is => 'rw',
15 isa => 'Str',
16 required => 1,
17 );
18  
19  
20 0 ▶sub as_tap {
Subroutine as_tap: not called CC=1 SCAR=6.9
Pod documented
21 0 my ($self) = @_;
22  
23 0 return "#" . $self->text . "\n";
24 }
25  
26 2 __PACKAGE__->meta->make_immutable;
27  
28 __END__
« Plan/SkipAll.pm ↑ Summary JunkLine.pm »