CCS/Ufunc/t/common.plt

filter: Statementstmt 100% 10 / 10 Branchbran 50.0% 1 / 2 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 3 / 3 Podpod n/a totaltotal 93.3% 14 / 15 CC 2 SCAR 4.1
CC
2
Cov
92%
BEGIN
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.5
« CCS/t/01_encode.t ↑ Summary CCS/Utils/t/01_nnz.t »
1 # -*- Mode: CPerl -*-
2 # File: t/common.plt
3 # Description: re-usable test subs for Math::PartialOrder
4  
5 ##-- common subs
6 4 ▶BEGIN {
Subroutine BEGIN: called CC=2 SCAR=7.0
7 4 ▶ use File::Basename;
Subroutine BEGIN: called CC=1 SCAR=0.0
8 4 ▶ use Cwd;
Subroutine BEGIN: called CC=1 SCAR=0.0
9 4 my $topdir = Cwd::abs_path(dirname(__FILE__)."/../../..");
10 4 ▶ do "$topdir/t/common.plt" or die("$0: failed to load $topdir/t/common.plt: $@");
Branch: 1 branch
BranchTrueFalseTotal
do "$topdir/t/common.plt" or die "$0: failed to load $topdir/t/common.plt: $@" 4 0 4
11 }
12  
13 4 print "loaded ", __FILE__, "\n";
14 4 1;
15  
« CCS/t/01_encode.t ↑ Summary CCS/Utils/t/01_nnz.t »