lib/Test/Chai/Util/Inspect.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 17 | 17 | 100.0 |
branch | n/a | ||
condition | n/a | ||
subroutine | 6 | 6 | 100.0 |
pod | 0 | 1 | 0.0 |
total | 23 | 24 | 95.8 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package Test::Chai::Util::Inspect; | ||||||
2 | 5 | 5 | 31 | use strict; | |||
5 | 28 | ||||||
5 | 133 | ||||||
3 | 5 | 5 | 23 | use warnings; | |||
5 | 7 | ||||||
5 | 136 | ||||||
4 | 5 | 5 | 25 | use utf8; | |||
5 | 8 | ||||||
5 | 28 | ||||||
5 | |||||||
6 | 5 | 5 | 130 | use Exporter qw/import/; | |||
5 | 9 | ||||||
5 | 249 | ||||||
7 | our @EXPORT_OK = qw/inspect/; | ||||||
8 | |||||||
9 | 5 | 5 | 3264 | use DDP; | |||
5 | 202887 | ||||||
5 | 54 | ||||||
10 | |||||||
11 | sub inspect { | ||||||
12 | 998 | 998 | 0 | 129999 | my $obj = shift; | ||
13 | 998 | 2640 | return np($obj); | ||||
14 | } | ||||||
15 | |||||||
16 | 1; |