File Coverage

test-lib/Car/Fiat.pm
Criterion Covered Total %
statement 6 10 60.0
branch n/a
condition 1 3 33.3
subroutine 2 6 33.3
pod 0 5 0.0
total 9 24 37.5


line stmt bran cond sub pod time code
1             package Car::Fiat;
2              
3 3     3   4474 use Class::Interface;
  3         7  
  3         526  
4             implements 'Car::Interface';
5              
6             sub new {
7 1   33 1 0 511 my $class = ref($_[0]) || $_[0]; shift;
  1         3  
8 1         4 return bless( {}, $class );
9             }
10              
11              
12             sub openDoors {
13 0     0 0   print "Doors open in fiat style"
14             }
15             sub closeDoors {
16 0     0 0   print "Doors close in fiat style"
17             }
18             sub start {
19 0     0 0   print "Hey! Nothings happens"
20             }
21             sub stop {
22 0     0 0   print "Still nothing happens - I was never started."
23             }
24              
25             1;