| lib/Syntax/Keyword/Assert.xs | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 24 | 26 | 92.3 |
| line | true | false | branch |
|---|---|---|---|
| 23 | 3 | 90 | if(!SvOK(val)) { |
| 29 | 4 | 86 | if(SvIsBOOL(val)) { |
| 30 | 1 | 3 | SvTRUE(val) ? sv_catpvs(sv, "true") : sv_catpvs(sv, "false"); |
| 35 | 50 | 36 | if(!SvPOK(val)) { |
| 53 | 6 | 7 | if(SvTRUE(val)) |
| 159 | 29 | 43 | if(assertbin_check(binoptype, lhs, rhs)) |
| 182 | 137 | 0 | OP *msgop = args[2] ? args[2]->op : NULL; |
| 184 | 131 | 6 | if (assert_enabled) { |
| 185 | 46 | 85 | if (msgop) { |
| 200 | 72 | 13 | if (binoptype) { |
| 217 | 3 | 3 | if (msgop) { |
| 263 | 1 | 10 | if(enabledstr) { |
| 265 | 1 | 0 | if(!SvTRUE(sv)) |