| blib/lib/Test2/Compare.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 24 | 24 | 100.0 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 40 | 1 | 1 | 2 | @BUILD and $_[0] |
| 1 | 1 | 1 | @BUILD and $_[0] and $BUILD[-1] == $_[0] | |
| 121 | 9402 | 312 | 10209 | &blessed($thing) and $thing->isa("Test2::Compare::Base") |
| 122 | 2198 | 5080 | 2931 | $config->{'implicit_end'} and $thing->can("set_ending") |
| 7278 | 2774 | 157 | $config->{'implicit_end'} and $thing->can("set_ending") and not defined $thing->ending | |
| 147 | 7194 | 1524 | 238 | $config->{'use_regex'} and $type eq "REGEXP" |
| 150 | 7194 | 1522 | 2 | $config->{'use_code'} and $type eq "CODE" |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 155 | 9 | 4 | 8699 | $type eq "SCALAR" or $type eq "VSTRING" |