Scaffold/App/Test/Class.pm

filter: Statementstmt 81.4% 22 / 27 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 88.8% 8 / 9 Podpod 100% 1 / 1 totaltotal 83.7% 31 / 37 CC 1 SCAR 0.3
CC
1
Cov
81%
app_code
1.2
BEGIN
1.1
BEGIN
1.0
CRAP 1.0
« Scaffold/Test.pm ↑ Summary Scaffold.pm »
1 1 ▶use 5.008;
Subroutine BEGIN: called CC=1 SCAR=0.0
2 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4  
5 package Class::Scaffold::App::Test::Class;
6 1 ▶BEGIN {
Subroutine BEGIN: called CC=1 SCAR=0.0
7 1 $Class::Scaffold::App::Test::Class::VERSION = '1.102280';
8 }
9 # ABSTRACT: Base class for Test::Class-based test programs
10 1 ▶use parent qw(Class::Scaffold::App::CommandLine Test::Class::GetoptControl);
Subroutine BEGIN: called CC=1 SCAR=0.0
11 1 ▶use constant GETOPT => qw(
Subroutine BEGIN: called CC=1 SCAR=0.0
12 runs|r=s
13 1 );
14 1 ▶use constant GETOPT_DEFAULTS => (runs => 2,);
Subroutine BEGIN: called CC=1 SCAR=0.0
15  
16 0 ▶sub app_code {
Subroutine app_code: not called CC=1 SCAR=2.2
Pod documented
17 0 my $self = shift;
18 0 $self->SUPER::app_code(@_);
19 0 ▶ { no warnings 'once'; $::app = $self; }
Subroutine BEGIN: called CC=1 SCAR=0.6
20 0 $self->runtests;
21 }
22 1 1;
23  
24 __END__
« Scaffold/Test.pm ↑ Summary Scaffold.pm »