Conveyor/Stage.pm

filter: Statementstmt 83.3% 20 / 24 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 63.6% 7 / 11 Podpod 100% 4 / 4 totaltotal 79.4% 31 / 39 CC 1 SCAR 0.9
CC
1
Cov
83%
run
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.1
« Conveyor/Control.pm ↑ Summary Conveyor/Ticket/Payload/Instruction.pm »
1 4 ▶use 5.008;
Subroutine BEGIN: called CC=1 SCAR=0.0
2 4 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 4 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
4  
5 package Data::Conveyor::Stage;
6 4 ▶BEGIN {
Subroutine BEGIN: called CC=1 SCAR=0.0
7 4 $Data::Conveyor::Stage::VERSION = '1.103130';
8 }
9 # ABSTRACT: Stage-based conveyor-belt-like ticket handling system
10  
11 # Base class for stages.
12 #
13 # To use it, create an object of this class, set the ticket and
14 # call run(). You can then read the status the stage's ticket and act on it.
15 4 ▶use Error::Hierarchy::Util 'assert_defined';
Subroutine BEGIN: called CC=1 SCAR=0.0
16 4 ▶use parent 'Class::Scaffold::Storable';
Subroutine BEGIN: called CC=1 SCAR=0.0
17 4 __PACKAGE__->mk_scalar_accessors(qw(will_shift_ticket));
18 4 ▶use constant DEFAULTS => (will_shift_ticket => 1,);
Subroutine BEGIN: called CC=1 SCAR=0.0
19  
20 0 ▶sub run {
Subroutine run: not called CC=1 SCAR=6.9
Pod documented
21 0 my $self = shift;
22 0 $self->begin;
23 0 $self->main;
24 0 $self->end;
25 }
26 0 ▶sub begin { }
Subroutine begin: not called CC=1 SCAR=0.0
Pod documented
27 0 ▶sub main { }
Subroutine main: not called CC=1 SCAR=0.0
Pod documented
28 0 ▶sub end { }
Subroutine end: not called CC=1 SCAR=0.0
Pod documented
29 4 1;
30  
31  
32 __END__
« Conveyor/Control.pm ↑ Summary Conveyor/Ticket/Payload/Instruction.pm »