| blib/lib/Template/Plugin/File/StaticURL.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| statement | 36 | 37 | 97.3 |
| branch | 8 | 8 | 100.0 |
| condition | 9 | 12 | 75.0 |
| subroutine | 9 | 9 | 100.0 |
| pod | 2 | 2 | 100.0 |
| total | 64 | 68 | 94.1 |
| line | stmt | bran | cond | sub | pod | time | code |
|---|---|---|---|---|---|---|---|
| 1 | package Template::Plugin::File::StaticURL; | ||||||
| 2 | |||||||
| 3 | =head1 NAME | ||||||
| 4 | |||||||
| 5 | Template::Plugin::File::StaticURL - Appends mtime and file size to the URL of static files to ensure freshness. | ||||||
| 6 | |||||||
| 7 | =head1 SYNOPSIS | ||||||
| 8 | |||||||
| 9 | [% USE Static.Stat file_root='/var/www' %] | ||||||
| 10 | |||||||
| 11 |