/usr/local/bin/prove

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