Strength.xsi

filter: Statementstmt 87.5% 7 / 8 Branchbran 45.4% 10 / 22 Conditioncond n/a MC/DCmcdc n/a Subroutinesub n/a Podpod n/a totaltotal 56.6% 17 / 30 CC 0 SCAR 0
CC
0
Cov
0%
CRAP 0
« Kiwisolver_xsgen.cc ↑ Summary Kiwisolver.xs »
1 MODE: INLINE
2  
3 #include <xs.h>
4 #include <kiwi/kiwi.h>
5  
6 MODULE = Graphics::Layout::Kiwisolver PACKAGE = Graphics::Layout::Kiwisolver::Strength
7 PROTOTYPES: DISABLE
8  
9 double create( double a, double b, double c, double w = 1.0 ) {
10 0 ▶ RETVAL = kiwi::strength::create(a, b, c, w);
Branch: 1 branch
BranchTrueFalseTotal
RETVAL = kiwi::strength::create(a, b, c, w); 0 0 0
11 }
12  
13 BOOT {
14 8 ▶ Stash stash = Stash(__PACKAGE__, GV_ADD);
Branch: 1 branch
BranchTrueFalseTotal
Stash stash = Stash(__PACKAGE__, GV_ADD); 8 0 8
15 8 ▶ stash.mark_as_loaded(__MODULE__);
Branch: 1 branch
BranchTrueFalseTotal
stash.mark_as_loaded(__MODULE__); 8 0 8
16 8 ▶ stash.add_const_sub("REQUIRED" , Simple(kiwi::strength::required) );
Branch: 2 branches
BranchTrueFalseTotal
stash.add_const_sub("REQUIRED" , Simple(kiwi::strength::required) ); 8 0 8
stash.add_const_sub("REQUIRED" , Simple(kiwi::strength::required) ); 8 0 8
17 8 ▶ stash.add_const_sub("STRONG" , Simple(kiwi::strength::strong) );
Branch: 2 branches
BranchTrueFalseTotal
stash.add_const_sub("STRONG" , Simple(kiwi::strength::strong) ); 8 0 8
stash.add_const_sub("STRONG" , Simple(kiwi::strength::strong) ); 8 0 8
18 8 ▶ stash.add_const_sub("MEDIUM" , Simple(kiwi::strength::medium) );
Branch: 2 branches
BranchTrueFalseTotal
stash.add_const_sub("MEDIUM" , Simple(kiwi::strength::medium) ); 8 0 8
stash.add_const_sub("MEDIUM" , Simple(kiwi::strength::medium) ); 8 0 8
19 8 ▶ stash.add_const_sub("WEAK" , Simple(kiwi::strength::weak) );
Branch: 2 branches
BranchTrueFalseTotal
stash.add_const_sub("WEAK" , Simple(kiwi::strength::weak) ); 8 0 8
stash.add_const_sub("WEAK" , Simple(kiwi::strength::weak) ); 8 0 8
20 8 }
« Kiwisolver_xsgen.cc ↑ Summary Kiwisolver.xs »