| blib/lib/Class/XSConstructor.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 23 | 32 | 71.8 |
| line | true | false | branch |
|---|---|---|---|
| 19 | 0 | 8 | if (our $REDEFINE) { } |
| 35 | 0 | 20 | if (XXX) { } |
| 0 | 20 | elsif (XXX) { } | |
| 1 | 19 | elsif (XXX and $thing->can('compiled_check')) { } | |
| 0 | 19 | elsif (XXX and $thing->can('check')) { } | |
| 1 | 18 | elsif (XXX) { } | |
| 0 | 18 | elsif (defined $thing) { } | |
| 56 | 8 | 12 | if ($name =~ /\A(.*)\!\z/) |
| 62 | 0 | 20 | if (@unknown_keys) |
| 67 | 8 | 12 | if $spec{'required'} |
| 68 | 2 | 18 | if $spec{'isa'} |
| 86 | 8 | 0 | $] >= 5.01 ? : |
| 90 | 4 | 4 | unless @isa |
| 105 | 3 | 1 | unless ($caller->can('BUILD')) |
| 110 | 1 | 0 | $] >= 5.01 ? : |
| 114 | 2 | 0 | *{$_;}{'CODE'} ? : |