| blib/lib/Test/MemoryGrowth.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 13 | 22 | 59.0 |
| line | true | false | branch |
|---|---|---|---|
| 172 | 0 | 12 | unless open my $statush, "<", "/proc/self/status" |
| 179 | 0 | 0 | unless open my $procstath, "-|", "procstat -v ${$}" |
| 211 | 0 | 0 | if $pages > 0 |
| 215 | 0 | 3 | unless my $get_memusage = __PACKAGE__->can("get_memusage_$^O") |
| 247 | 2 | 2 | if @_ % 2 |
| 285 | 0 | 4 | if $increase >= $calls |
| 290 | 207 | 1 | unless $growth >= $calls |
| 295 | 1 | 3 | if $growth_counts |
| 298 | 3 | 1 | if $ok |
| 300 | 0 | 1 | if ($increase >= $calls) |
| 305 | 1 | 0 | if ($growth_counts) |