blib/lib/Method/Assert.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 18 | 24 | 75.0 |
line | true | false | branch |
---|---|---|---|
16 | 0 | 4 | if $package eq 'main' |
19 | 2 | 23 | if @_ == 0 |
20 | 7 | 16 | if blessed($_[0]) |
21 | 0 | 16 | if ref $_[0] |
22 | 0 | 16 | unless $_[0]->isa($package) |
23 | 12 | 4 | if wantarray |
24 | 0 | 4 | if defined wantarray |
29 | 1 | 44 | if @_ == 0 |
30 | 3 | 41 | unless blessed($_[0]) |
31 | 0 | 41 | unless $_[0]->isa($package) |
32 | 0 | 41 | if wantarray |
33 | 29 | 12 | if defined wantarray |