Variable.xsi

filter: Statementstmt 100% 9 / 9 Branchbran 53.8% 14 / 26 Conditioncond n/a MC/DCmcdc n/a Subroutinesub n/a Podpod n/a totaltotal 65.7% 23 / 35 CC 0 SCAR 0
CC
0
Cov
0%
CRAP 0
« Kiwisolver.xs ↑ Summary Expression.xsi »
1 MODE: INLINE
2  
3 #include <xs.h>
4 #include <kiwi/kiwi.h>
5  
6 namespace xs {
7 template <>
8 struct Typemap<kiwi::Variable*> : TypemapObject<kiwi::Variable*, kiwi::Variable*, ObjectTypeRefcntPtr, ObjectStorageMG, StaticCast> {
9 static std::string package () { return "Graphics::Layout::Kiwisolver::Variable"; }
10 };
11 }
12  
13 MODULE = Graphics::Layout::Kiwisolver PACKAGE = Graphics::Layout::Kiwisolver::Variable
14 PROTOTYPES: DISABLE
15  
16 kiwi::Variable* kiwi::Variable::new( std::string name = "" ) {
17 2497 RETVAL = new kiwi::Variable(name);
18 2497 ▶}
Branch: 1 branch
BranchTrueFalseTotal
} 2497 0 2497
19 2497 ▶ 
Branch: 5 branches
BranchTrueFalseTotal
2497 0 2497
2497 0 2497
2497 0 2497
2497 0 2497
0 0 0
20 27 ▶std::string kiwi::Variable::name()
Branch: 2 branches
BranchTrueFalseTotal
std::string kiwi::Variable::name() 27 0 27
std::string kiwi::Variable::name() 27 0 27
21  
22 513 ▶void kiwi::Variable::setName( std::string name )
Branch: 1 branch
BranchTrueFalseTotal
void kiwi::Variable::setName( std::string name ) 513 0 513
23  
24 784 ▶double kiwi::Variable::value()
Branch: 1 branch
BranchTrueFalseTotal
double kiwi::Variable::value() 731 53 784
25  
26 8 void kiwi::Variable::setValue( double value )
27  
28 2 ▶bool kiwi::Variable::equals( kiwi::Variable& other )
Branch: 1 branch
BranchTrueFalseTotal
bool kiwi::Variable::equals( kiwi::Variable& other ) 1 1 2
29  
30 BOOT {
31 8 ▶ Stash(__PACKAGE__, GV_ADD).mark_as_loaded(__MODULE__);
Branch: 2 branches
BranchTrueFalseTotal
Stash(__PACKAGE__, GV_ADD).mark_as_loaded(__MODULE__); 8 0 8
Stash(__PACKAGE__, GV_ADD).mark_as_loaded(__MODULE__); 8 0 8
32 }
« Kiwisolver.xs ↑ Summary Expression.xsi »