File Coverage

blib/lib/WWW/BigDoor/Level.pm
Criterion Covered Total %
statement 11 11 100.0
branch n/a
condition n/a
subroutine 5 5 100.0
pod n/a
total 16 16 100.0


line stmt bran cond sub pod time code
1             package WWW::BigDoor::Level;
2              
3 2     2   10712 use strict;
  2         6  
  2         83  
4 2     2   14 use warnings;
  2         4  
  2         74  
5              
6             #use Smart::Comments -ENV;
7              
8 2     2   10 use base qw(WWW::BigDoor::Resource Class::Accessor);
  2         6  
  2         409  
9              
10             __PACKAGE__->follow_best_practice;
11             __PACKAGE__->mk_accessors( qw(id read_only transaction_group_id end_user_login named_level_id) );
12              
13             sub _parent_end_point { ## no critic (ProhibitUnusedPrivateSubroutines)
14 4     4   25 return 'end_user';
15             }
16              
17             sub _parent_id_attr { ## no critic (ProhibitUnusedPrivateSubroutines)
18 2     2   11 return 'end_user_login';
19             }
20              
21             1;
22             __END__