blib/lib/Bootylicious/Year.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 9 | 10 | 90.0 |
branch | n/a | ||
condition | n/a | ||
subroutine | 3 | 4 | 75.0 |
pod | 0 | 1 | 0.0 |
total | 12 | 15 | 80.0 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package Bootylicious::Year; | ||||||
2 | |||||||
3 | 5 | 5 | 16 | use strict; | |||
5 | 6 | ||||||
5 | 101 | ||||||
4 | 5 | 5 | 14 | use warnings; | |||
5 | 5 | ||||||
5 | 88 | ||||||
5 | |||||||
6 | 5 | 5 | 13 | use base 'Mojo::Base'; | |||
5 | 6 | ||||||
5 | 386 | ||||||
7 | |||||||
8 | __PACKAGE__->attr('year'); | ||||||
9 | __PACKAGE__->attr('articles'); | ||||||
10 | |||||||
11 | 0 | 0 | 0 | sub modified { shift->articles->modified } | |||
12 | |||||||
13 | 1; |