| blib/lib/Test2/Plugin/SRand.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 15 | 16 | 93.7 |
| line | true | false | branch |
|---|---|---|---|
| 26 | 6 | 156 | if defined $SEED |
| 29 | 2 | 160 | if (@_ == 1) { } |
| 1 | 159 | elsif (@_ == 2 and $_[0] eq 'seed') { } | |
| 1 | 158 | elsif (exists $ENV{'T2_RAND_SEED'}) { } | |
| 51 | 1 | 161 | unless $SEED |
| 54 | 4 | 158 | if ($ENV{'HARNESS_IS_VERBOSE'} or not $ENV{'HARNESS_ACTIVE'}) { } |
| 156 | 2 | elsif (not $ADDED_HOOK++) { } | |
| 77 | 0 | 103 | if $real or $new and $$new or not $ctx->hub->is_passing |