/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(); } |
88 | 0 | 180 | if (!sv) return; |
89 | 180 | 0 | if (is_scalar_unsafe()) return; |
91 | 0 | 0 | throw std::invalid_argument("wrong SV* type for Scalar"); |