Scaffold/App/Test.pm

filter: Statementstmt 68.4% 13 / 19 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 83.3% 5 / 6 Podpod 100% 1 / 1 totaltotal 73.0% 19 / 26 CC 1 SCAR 1.5
CC
1
Cov
68%
app_code
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.2
« Scaffold/App/CommandLine.pm ↑ Summary Scaffold/YAML/Active/Constant.pm »
1 3 ▶use 5.008;
Subroutine BEGIN: called CC=1 SCAR=0.0
2 3 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 3 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4  
5 package Class::Scaffold::App::Test;
6 3 ▶BEGIN {
Subroutine BEGIN: called CC=1 SCAR=0.0
7 3 $Class::Scaffold::App::Test::VERSION = '1.102280';
8 }
9 # ABSTRACT: Base class for test programs
10 3 ▶use parent 'Class::Scaffold::App::CommandLine';
Subroutine BEGIN: called CC=1 SCAR=0.0
11  
12 0 ▶sub app_code {
Subroutine app_code: not called CC=1 SCAR=6.9
Pod documented
13 0 my $self = shift;
14 0 $self->SUPER::app_code(@_);
15 0 $self->delegate->make_obj('test_util_loader');
16 0 $self->delegate->set_rollback_mode;
17 0 $self->delegate->test_mode(1);
18  
19 # We're not going through Environment's make_obj(), so we have
20 # to connect manually.
21 0 $self->delegate->core_storage->test_setup;
22 }
23 3 1;
24  
25 __END__
« Scaffold/App/CommandLine.pm ↑ Summary Scaffold/YAML/Active/Constant.pm »