| blib/lib/Log/Any/Adapter/Test.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 6 | 20 | 30.0 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 25 | 11 | 0 | 8 | defined $Log::Any::OverrideDefaultAdapterClass and $Log::Any::OverrideDefaultAdapterClass eq "Log::Any::Adapter::Test" |
| line | l | !l | condition |
|---|---|---|---|
| 157 | 0 | 3 | $test_name ||= "log is empty" |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 80 | 20 | 1 | 0 | $test_name ||= "log contains '${regex}'" |
| 99 | 5 | 0 | 0 | $test_name ||= "log for $category contains '${regex}'" |
| 120 | 0 | 0 | 0 | $test_name ||= "log does not contain '${regex}'" |
| 137 | 0 | 0 | 0 | $test_name ||= "log for $category contains '${regex}'" |
| 174 | 0 | 0 | 0 | $test_name ||= "log contains only '${regex}'" |