/usr/local/lib/perl5/site_perl/5.26.1/x86_64-linux/XS/Framework.x/i/xs/typemap/string.h | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 7 | 14 | 50.0 |
line | true | false | branch |
---|---|---|---|
13 | 2 | 6 | const char* data = SvPV_nomg(arg, len); |
6 | 0 | const char* data = SvPV_nomg(arg, len); | |
14 | 8 | 0 | return panda::string(data, len); |
16 | 149 | 0 | static inline Sv out (const panda::string& str, const Sv& = Sv()) { return Simple(str); } |
25 | 129 | 0 | static inline Sv out (const std::string& str, const Sv& = Sv()) { return Simple(panda::string_view(str.data(), str.length())); } |
31 | 29 | 0 | const char* data = SvPV_nomg(arg, len); |
0 | 0 | const char* data = SvPV_nomg(arg, len); |