File Coverage

blib/lib/Rose/Object.pm
Criterion Covered Total %
statement 11 11 100.0
branch n/a
condition n/a
subroutine 3 3 100.0
pod 2 2 100.0
total 16 16 100.0


line stmt bran cond sub pod time code
1             package Rose::Object;
2              
3 4     4   193920 use strict;
  4         13  
  4         709  
4              
5             our $VERSION = '0.860';
6              
7             sub new
8             {
9 6     6 1 13835 my($class) = shift;
10              
11 6         25 my $self = bless {}, $class;
12              
13 6         33 $self->init(@_);
14              
15 6         15 return $self;
16             }
17              
18             sub init
19             {
20 6     6 1 15 my($self) = shift;
21              
22 6         51 while(@_)
23             {
24 2         4 my $method = shift;
25 2         10 $self->$method(shift);
26             }
27             }
28              
29             1;
30              
31             __END__