| blib/lib/BarefootJS/DevReload.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 10 | 16 | 62.5 |
| line | true | false | branch |
|---|---|---|---|
| 65 | 1 | 1 | unless -d $dev |
| 70 | 1 | 3 | unless -f $path |
| 71 | 0 | 3 | unless open my $fh, "<", $path |
| 106 | 1 | 2 | unless $env->{'psgi.streaming'} |
| 129 | 2 | 0 | if (length $initial) |
| 134 | 1 | 1 | length $last_event_id && $last_event_id ne $initial ? : |
| 143 | 0 | 0 | if (length $id and $id ne $last_sent) { } |
| 150 | 0 | 0 | if ($since_hb >= $HEARTBEAT_S) |