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