Subroutine Coverage
lib/Plack/Middleware/XSRFBlock.pm |
|
Criterion |
Covered |
Total |
% |
subroutine |
27 |
27 |
100.0
|
pod |
11 |
11 |
100.0
|
line |
count |
pod |
subroutine |
7
|
9 |
n/a |
BEGIN |
8
|
9 |
n/a |
BEGIN |
9
|
9 |
n/a |
BEGIN |
12
|
9 |
n/a |
BEGIN |
13
|
9 |
n/a |
BEGIN |
15
|
9 |
n/a |
BEGIN |
16
|
9 |
n/a |
BEGIN |
17
|
9 |
n/a |
BEGIN |
33
|
9 |
n/a |
BEGIN |
36
|
88 |
Yes |
prepare_app |
67
|
4 |
n/a |
__ANON__ |
76
|
13 |
Yes |
detect_xsrf |
121
|
40 |
Yes |
call |
125
|
23 |
n/a |
__ANON__ |
145
|
30 |
Yes |
should_be_filtered |
154
|
25 |
Yes |
generate_token |
174
|
25 |
Yes |
cookie_handler |
194
|
25 |
Yes |
filter_response_html |
221
|
175 |
n/a |
__ANON__ |
279
|
425 |
n/a |
__ANON__ |
287
|
50 |
n/a |
__ANON__ |
302
|
30 |
Yes |
filter_response |
305
|
30 |
n/a |
__ANON__ |
321
|
3 |
Yes |
invalid_signature |
336
|
10 |
Yes |
xsrf_detected |
359
|
23 |
Yes |
log |
367
|
25 |
n/a |
_set_cookie |