t/typemap/error.xsi

filter: Statementstmt 100% 5 / 5 Branchbran 50.0% 1 / 2 Conditioncond n/a MC/DCmcdc n/a Subroutinesub n/a Podpod n/a totaltotal 85.7% 6 / 7 CC 0 SCAR 0
CC
0
Cov
0%
CRAP 0
« src/xs/Sub.cc ↑ Summary src/xs/Glob.cc »
1 MODULE = MyTest::Typemap PACKAGE = MyTest::Error
2 PROTOTYPES: DISABLE
3  
4 std::error_code operation_canceled () {
5 1 RETVAL = make_error_code(std::errc::operation_canceled);
6 1 }
7  
8 ErrorCode operation_chain_canceled () {
9 4 ErrorCode orig(make_error_code(std::errc::operation_canceled));
10 4 RETVAL = ErrorCode(make_error_code(std::errc::connection_aborted), orig);
11 4 ▶}
Branch: 1 branch
BranchTrueFalseTotal
} 4 0 4
« src/xs/Sub.cc ↑ Summary src/xs/Glob.cc »