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