Branch Coverage: blib/lib/Test/Mocha/PartialDump.pm

# Branch Coverage

File: | blib/lib/Test/Mocha/PartialDump.pm
Coverage: | 100.0%

line | % | coverage | branch
--- | --- | --- | ---
29 | 100 | T | F | unless exists $args{'max_length'}
30 | 100 | T | F | unless exists $args{'max_elements'}
31 | 100 | T | F | unless exists $args{'max_depth'}
32 | 100 | T | F | unless exists $args{'stringify'}
33 | 100 | T | F | unless exists $args{'pairs'}
34 | 100 | T | F | unless exists $args{'objects'}
35 | 100 | T | F | unless exists $args{'list_delim'}
36 | 100 | T | F | unless exists $args{'pair_delim'}
46 | 100 | T | F | $self->should_dump_as_pairs(@args) ? :
51 | 100 | T | F | if (defined $$self{'max_length'} and length $dump > $$self{'max_length'})
55 | 100 | T | F | if $max_length < 0
66 | 100 | T | F | unless $$self{'pairs'}
68 | 100 | T | F | if @what % 2 != 0
71 | 100 | T | F | if ref $what[$i]
82 | 100 | T | F | if (defined $$self{'max_elements'} and @what / 2 > $$self{'max_elements'})
89 | 100 | T | F | $truncated ? :
98 | 100 | T | F | unless @what
117 | 100 | T | F | if (defined $$self{'max_elements'} and @what > $$self{'max_elements'})
124 | 100 | T | F | $truncated ? :
132 | 100 | T | F | blessed $value ? :
| 100 | T | F | looks_like_number $value ? :
| 100 | T | F | ref $value ? :
| 100 | T | F | defined $value ? :
159 | 100 | T | F | if ($depth > $$self{'max_depth'}) { }
164 | 100 | T | F | if $reftype eq 'REF' or $reftype eq 'LVALUE'
169 | 50 | T | F | if ($self->can($method)) { }
183 | 100 | T | F | if $class
193 | 100 | T | F | if $class
207 | 100 | T | F | if $class
216 | 100 | T | F | if ($$self{'objects'}) { }
220 | 100 | T | F | $$self{'stringify'} ? :