Conveyor/Ticket/Payload/BusinessObject.pm

filter: Statementstmt 63.6% 14 / 22 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 62.5% 5 / 8 Podpod 100% 3 / 3 totaltotal 66.6% 22 / 33 CC 1 SCAR 3.2
CC
1
Cov
64%
check
2.0
apply_instruction_container
2.0
prepare_comparable
2.0
CRAP 1.4
« Conveyor/Storage/Null.pm ↑ Summary Conveyor/Transaction.pm »
1 1 ▶use 5.008;
Subroutine BEGIN: called CC=1 SCAR=0.0
2 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
4  
5 package Data::Conveyor::Ticket::Payload::BusinessObject;
6 1 ▶BEGIN {
Subroutine BEGIN: called CC=1 SCAR=0.0
7 1 $Data::Conveyor::Ticket::Payload::BusinessObject::VERSION = '1.103130';
8 }
9 # ABSTRACT: Stage-based conveyor-belt-like ticket handling system
10  
11 1 ▶use parent 'Data::Conveyor::Ticket::Payload::Item';
Subroutine BEGIN: called CC=1 SCAR=0.0
12 1 __PACKAGE__->mk_framework_object_accessors(
13 payload_instruction_container => 'instruction_container',
14 # value_command => 'command',
15 )->mk_scalar_accessors(qw(command));
16  
17 0 ▶sub check {
Subroutine check: not called CC=1 SCAR=6.9
Pod documented
18 0 my ($self, $ticket) = @_;
19 0 $self->SUPER::check($ticket);
20 0 $self->instruction_container->check($self->exception_container, $ticket);
21 }
22  
23 0 ▶sub apply_instruction_container {
Subroutine apply_instruction_container: not called CC=1 SCAR=6.9
Pod documented
24 0 my $self = shift;
25 0 $self->SUPER::apply_instruction_container(@_);
26 0 $self->data->apply_instruction_container($self->instruction_container,
27 $self->exception_container);
28 }
29  
30 0 ▶sub prepare_comparable {
Subroutine prepare_comparable: not called CC=1 SCAR=6.9
Pod documented
31 0 my $self = shift;
32 0 $self->instruction_container;
33 }
34 1 1;
35  
36  
37 __END__
« Conveyor/Storage/Null.pm ↑ Summary Conveyor/Transaction.pm »