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 | 6 | use strict; | |||
1 | 2 | ||||||
1 | 31 | ||||||
2 | 1 | 1 | 5 | use warnings; | |||
1 | 3 | ||||||
1 | 39 | ||||||
3 | |||||||
4 | package Test::Deep::ListMethods 1.202; | ||||||
5 | |||||||
6 | 1 | 1 | 5 | use base 'Test::Deep::Methods'; | |||
1 | 2 | ||||||
1 | 401 | ||||||
7 | |||||||
8 | sub call_method | ||||||
9 | { | ||||||
10 | 20 | 20 | 0 | 36 | my $self = shift; | ||
11 | |||||||
12 | 20 | 48 | return [$self->SUPER::call_method(@_)]; | ||||
13 | } | ||||||
14 | |||||||
15 | sub render_stack | ||||||
16 | { | ||||||
17 | 7 | 7 | 0 | 11 | my $self = shift; | ||
18 | |||||||
19 | 7 | 74 | my $var = $self->SUPER::render_stack(@_); | ||||
20 | |||||||
21 | 7 | 23 | return "[$var]"; | ||||
22 | } | ||||||
23 | |||||||
24 | 1; | ||||||
25 | |||||||
26 | __END__ |