blib/lib/Test/Deep/ListMethods.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 14 | 14 | 100.0 |
branch | n/a | ||
condition | n/a | ||
subroutine | 5 | 5 | 100.0 |
pod | 0 | 2 | 0.0 |
total | 19 | 21 | 90.4 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | 1 | 1 | 13 | use strict; | |||
1 | 2 | ||||||
1 | 31 | ||||||
2 | 1 | 1 | 6 | use warnings; | |||
1 | 2 | ||||||
1 | 43 | ||||||
3 | |||||||
4 | package Test::Deep::ListMethods 1.204; | ||||||
5 | |||||||
6 | 1 | 1 | 6 | use base 'Test::Deep::Methods'; | |||
1 | 30 | ||||||
1 | 436 | ||||||
7 | |||||||
8 | sub call_method | ||||||
9 | { | ||||||
10 | 20 | 20 | 0 | 30 | my $self = shift; | ||
11 | |||||||
12 | 20 | 72 | return [$self->SUPER::call_method(@_)]; | ||||
13 | } | ||||||
14 | |||||||
15 | sub render_stack | ||||||
16 | { | ||||||
17 | 7 | 7 | 0 | 13 | my $self = shift; | ||
18 | |||||||
19 | 7 | 22 | my $var = $self->SUPER::render_stack(@_); | ||||
20 | |||||||
21 | 7 | 22 | return "[$var]"; | ||||
22 | } | ||||||
23 | |||||||
24 | 1; | ||||||
25 | |||||||
26 | __END__ |