File Coverage

src/xs/Scalar.cc
Criterion Covered Total %
statement 9 9 100.0
branch 2 4 50.0
condition n/a
subroutine n/a
pod n/a
total 11 13 84.6


line stmt bran cond sub pod time code
1             #include
2              
3             namespace xs {
4              
5 36           const Scalar Scalar::undef(&PL_sv_undef);
6 36           const Scalar Scalar::yes(&PL_sv_yes);
7 36           const Scalar Scalar::no(&PL_sv_no);
8              
9 36           void Scalar::__at_perl_destroy () {
10 36           const_cast(&undef)->reset();
11 36           const_cast(&yes)->reset();
12 36           const_cast(&no)->reset();
13 36           }
14              
15 144 50         }
    50