/usr/local/bin/prove

filter: Statementstmt 100% 14 / 14 Branchbran 50.0% 2 / 4 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 4 / 4 Podpod n/a totaltotal 90.9% 20 / 22 CC 2 SCAR 3.8
CC
2
Cov
89%
BEGIN
2.1
BEGIN
1.0
BEGIN
1.0
CRAP 1.5
« blib/lib/Dancer2/Core.pm ↑ Summary blib/lib/Dancer2/Core/Hook.pm »
1 #!/usr/local/bin/perl
2 1 eval 'exec /usr/local/bin/perl -S $0 ${1+"$@"}'
3 if 0; # ^ Run only under a shell
4 #!/usr/bin/perl -w
5  
6 1 ▶BEGIN { pop @INC if $INC[-1] eq '.' }
Subroutine BEGIN: called CC=2 SCAR=7.6
Branch: 1 branch
BranchTrueFalseTotal
if $INC[-1] eq "." 1 0 1
7 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
8 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
9 1 ▶use App::Prove;
Subroutine BEGIN: called CC=1 SCAR=0.0
10  
11 1 my $app = App::Prove->new;
12 1 $app->process_args(@ARGV);
13 1 ▶exit( $app->run ? 0 : 1 );
Branch: 1 branch
BranchTrueFalseTotal
$app->run ? : 1 0 1
14  
15 __END__
« blib/lib/Dancer2/Core.pm ↑ Summary blib/lib/Dancer2/Core/Hook.pm »