Branch Coverage

/usr/local/lib/perl5/site_perl/5.26.1/x86_64-linux/XS/Framework.x/i/xs/Scalar.h
Criterion Covered Total %
branch 2 8 25.0


line true false branch
21 0 0 Scalar (SV* sv, bool policy = INCREMENT) : Sv(sv, policy) { _validate(); }
91 0 147 if (!sv) return;
92 147 0 if (is_scalar_unsafe()) return;
94 0 0 throw std::invalid_argument("SV is not a scalar value");