File Coverage

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   26 use strict;
  5         10  
  5         110  
4 5     5   21 use warnings;
  5         10  
  5         104  
5              
6 5     5   21 use base 'Mojo::Base';
  5         32  
  5         398  
7              
8             __PACKAGE__->attr('year');
9             __PACKAGE__->attr('articles');
10              
11 0     0 0   sub modified { shift->articles->modified }
12              
13             1;