| blib/lib/RapidApp/Role/PerRequestBuildDefReset.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| statement | 3 | 3 | 100.0 |
| branch | n/a | ||
| condition | n/a | ||
| subroutine | 1 | 1 | 100.0 |
| pod | n/a | ||
| total | 4 | 4 | 100.0 |
| line | stmt | bran | cond | sub | pod | time | code |
|---|---|---|---|---|---|---|---|
| 1 | package RapidApp::Role::PerRequestBuildDefReset; | ||||||
| 2 | |||||||
| 3 | 6 | 6 | 6576 | use Moose::Role; | |||
| 6 | 12769 | ||||||
| 6 | 34 | ||||||
| 4 | |||||||
| 5 | # Role used as attribute traits. All attributes with this role will have | ||||||
| 6 | # their value saved on the very first request after object construction, | ||||||
| 7 | # and then reset back to that default value on every subsequent request | ||||||
| 8 | # for the life of the object | ||||||
| 9 | |||||||
| 10 | 1; |