EPL2/Command/qq.pm

filter: Statementstmt 100% 23 / 23 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 7 / 7 Podpod n/a totaltotal 100% 30 / 30 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« EPL2/Command/O.pm ↑ Summary
1 package EPL2::Command::qq;
2 # ABSTRACT: q Command (Set Label Width)
3 3 $EPL2::Command::qq::VERSION = '0.001';
4 3 ▶use 5.010;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 3 ▶use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
6 3 ▶use MooseX::Method::Signatures;
Subroutine BEGIN: called CC=1 SCAR=0.0
7 3 ▶use namespace::autoclean;
Subroutine BEGIN: called CC=1 SCAR=0.0
8 3 ▶use EPL2::Types 'Padwidth';
Subroutine BEGIN: called CC=1 SCAR=0.0
9  
10 3 extends 'EPL2::Command';
11  
12 3 has width => ( is => 'rw', isa => Padwidth, default => 0, );
13  
14 #Methods
15 3 ▶method string ( Str :$delimiter = "\n" ) { sprintf 'q%d%s', $self->width, $delimiter; }
Subroutine BEGIN: called CC=1 SCAR=0.0
Subroutine __ANON__: called CC=1 SCAR=0.0
16  
17 3 __PACKAGE__->meta->make_immutable;
18  
19 3 1;
20  
21 __END__
« EPL2/Command/O.pm ↑ Summary