Conveyor/Charset/ASCII.pm

filter: Statementstmt 80.0% 16 / 20 Branchbran 0.0% 0 / 4 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 85.7% 6 / 7 Podpod 100% 1 / 1 totaltotal 71.8% 23 / 32 CC 3 SCAR 15.4
CC
3
Cov
67%
is_valid_string
12.0
BEGIN
1.0
BEGIN
1.0
CRAP 4.7
« Conveyor/App/Test/SIF/Unit.pm ↑ Summary Conveyor/Ticket/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::Charset::ASCII;
6 1 ▶BEGIN {
Subroutine BEGIN: called CC=1 SCAR=0.0
7 1 $Data::Conveyor::Charset::ASCII::VERSION = '1.103130';
8 }
9 # ABSTRACT: Stage-based conveyor-belt-like ticket handling system
10  
11 1 ▶use charnames ':full';
Subroutine BEGIN: called CC=1 SCAR=0.0
12 1 ▶use parent 'Data::Conveyor::Charset';
Subroutine BEGIN: called CC=1 SCAR=0.0
13  
14 0 ▶sub is_valid_string {
Subroutine is_valid_string: not called CC=3 SCAR=24.8
Pod documented
15 0 my ($self, $string) = @_;
16 0 ▶ return 0 unless $self->SUPER::is_valid_string($string);
Branch: 1 branch
BranchTrueFalseTotal
unless $self->SUPER::is_valid_string($string) 0 0 0
17 0 ▶ return 0 unless defined $string;
Branch: 1 branch
BranchTrueFalseTotal
unless defined $string 0 0 0
18 0 $string !~ /[^ -~]/;
19 }
20 1 1;
21  
22  
23 __END__
« Conveyor/App/Test/SIF/Unit.pm ↑ Summary Conveyor/Ticket/Transaction.pm »