Conveyor/App/Test/SIF/Unit.pm

filter: Statementstmt 57.1% 16 / 28 Branchbran 0.0% 0 / 2 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 85.7% 6 / 7 Podpod 100% 1 / 1 totaltotal 60.5% 23 / 38 CC 3 SCAR 15.4
CC
3
Cov
53%
run_subtest
12.0
BEGIN
1.0
BEGIN
1.0
CRAP 4.7
« Conveyor/Stage/SingleTicket.pm ↑ Summary Conveyor/Charset/ASCII.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::App::Test::SIF::Unit;
6 1 ▶BEGIN {
Subroutine BEGIN: called CC=1 SCAR=0.0
7 1 $Data::Conveyor::App::Test::SIF::Unit::VERSION = '1.103130';
8 }
9 # ABSTRACT: Stage-based conveyor-belt-like ticket handling system
10 1 ▶use Test::More;
Subroutine BEGIN: called CC=1 SCAR=0.0
11 1 ▶use parent 'Class::Scaffold::App::Test::YAMLDriven';
Subroutine BEGIN: called CC=1 SCAR=0.0
12  
13 0 ▶sub run_subtest {
Subroutine run_subtest: not called CC=3 SCAR=24.8
Pod documented
14 0 my $self = shift;
15 0 my $test_def = $self->current_test_def->{execute};
16 0 my $meth = $test_def->{method};
17 0 $self->expect($self->current_test_def->{expect});
18 0 my $sif = $self->delegate->make_obj('service_interface_soap');
19 0 ▶ $sif->args(%{ $test_def->{param} }) if $test_def->{param};
Branch: 1 branch
BranchTrueFalseTotal
if $test_def->{"param"} 0 0 0
20 0 my $result = $sif->$meth;
21 0 foreach my $check (keys %{ $self->{expect} }) {
22 0 my $call = "check_$check";
23 0 $self->$call($result);
24 }
25 }
26 1 1;
27  
28  
29 __END__
« Conveyor/Stage/SingleTicket.pm ↑ Summary Conveyor/Charset/ASCII.pm »