Conveyor/Value/Command.pm

filter: Statementstmt 100% 12 / 12 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 5 / 5 Podpod n/a totaltotal 100% 17 / 17 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Conveyor/Ticket/Payload/Transaction.pm ↑ Summary Conveyor/Value/Enum.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::Value::Command;
6 1 ▶BEGIN {
Subroutine BEGIN: called CC=1 SCAR=0.0
7 1 $Data::Conveyor::Value::Command::VERSION = '1.103130';
8 }
9 # ABSTRACT: Stage-based conveyor-belt-like ticket handling system
10 1 ▶use parent 'Data::Conveyor::Value::Enum';
Subroutine BEGIN: called CC=1 SCAR=0.0
11 sub get_valid_values_list { our $cache_values ||= $_[0]->delegate->CMD }
12  
13 sub send_notify_value_invalid {
14 my ($self, $value) = @_;
15 local $Error::Depth = $Error::Depth + 2;
16 $self->exception_container->record(
17 'Data::Conveyor::Exception::NoSuchCommand',
18 command => $value,);
19 }
20 1;
21  
22  
23 __END__
« Conveyor/Ticket/Payload/Transaction.pm ↑ Summary Conveyor/Value/Enum.pm »