| 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 | 8156 | use Moose::Role; | |||
| 6 | 15201 | ||||||
| 6 | 43 | ||||||
| 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; |