| blib/lib/App/jl.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 39 | 47 | 82.9 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 217 | 94 | 188 | 27 | $context && $context eq 'HASH' && $last_value && $last_value =~ /user[\-\_\s]*agent/i |
| 294 | 11 | 14 | 1 | $UNIXTIMESTAMP_KEY and $LAST_VALUE eq $UNIXTIMESTAMP_KEY |
| 25 | 0 | 1 | $UNIXTIMESTAMP_KEY and $LAST_VALUE eq $UNIXTIMESTAMP_KEY and $line =~ /(\d+(\.\d+)?)/ | |
| 17 | 0 | 8 | $LAST_VALUE =~ /(?:$MAYBE_UNIXTIME)/i and $line =~ /(\d+(\.\d+)?)/ | |
| 321 | 3 | 1 | 12 | $unix_timestamp >= 946684800 and $unix_timestamp <= '4294967295000' |
| 380 | 149 | 0 | 25 | $flags & 12288 && !($flags & 16384) |
| line | l | !l | condition |
|---|---|---|---|
| 318 | 3 | 13 | shift() || '' |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 121 | 10 | 0 | 22 | $self->opt("xxxx") or $self->opt("timestamp_key") |
| 193 | 10 | 0 | 14 | $self->opt("xxxx") or $self->opt("timestamp_key") |
| 250 | 79 | 0 | 2 | not $line =~ /, / or $line =~ /\\/ |
| 292 | 0 | 11 | 26 | not $context or $context ne "HASH" |
| 294 | 1 | 21 | 4 | $UNIXTIMESTAMP_KEY and $LAST_VALUE eq $UNIXTIMESTAMP_KEY and $line =~ /(\d+(\.\d+)?)/ or $LAST_VALUE =~ /(?:$MAYBE_UNIXTIME)/i and $line =~ /(\d+(\.\d+)?)/ |
| 413 | 3 | 8 | 24 | $opt->{'xxxx'} ||= $opt->{'xxxxx'} |
| 414 | 2 | 11 | 22 | $opt->{'xxx'} ||= $opt->{'xxxx'} |
| 415 | 2 | 13 | 20 | $opt->{'xx'} ||= $opt->{'xxx'} |
| 416 | 0 | 15 | 20 | $opt->{'x'} ||= $opt->{'xx'} |