blib/lib/Bread/Board/Container/Role/WithSessions.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 7 | 10 | 70.0 |
line | true | false | branch |
---|---|---|---|
27 | 0 | 3 | unless defined $service->lifecycle |
28 | 0 | 3 | unless &any(sub { $service->lifecycle eq $_; } , @LIFECYCLES_TO_FLUSH) |
30 | 0 | 1 | unless $service->can('has_instance') and $service->has_instance or $service->can('instances') and values $service->instances |
34 | 2 | 1 | if $service->can('flush_instance') |
35 | 1 | 2 | if $service->can('flush_instances') |