t/Test-Assertion_style.pl

filter: Statementstmt 100% 13 / 13 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 5 / 5 Podpod n/a totaltotal 100% 18 / 18 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« lib/Test/Assertions/TestScript.pm ↑ Summary t/fails.pl »
1 #!/usr/local/bin/perl
2 4 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 4 ▶use lib qw(./lib ../lib);
Subroutine BEGIN: called CC=1 SCAR=0.0
4 4 ▶use Test::Assertions shift();
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 4 Test::Assertions::plan tests => 1;
7 4 go();
8 4 ▶sub go {
Subroutine go: called CC=1 SCAR=0.0
9 4 to();
10 }
11 4 ▶sub to {
Subroutine to: called CC=1 SCAR=0.0
12 #line 100
13 ASSERT(0, 'deliberatefail');
14 }
15  
« lib/Test/Assertions/TestScript.pm ↑ Summary t/fails.pl »