Branch Coverage

blib/lib/Net/GPSD3/Return/Unknown/Timestamp.pm
Criterion Covered Total %
branch 11 24 45.8


line true false branch
38 3 0 unless defined $$self{'_time'}
39 3 0 unless defined $$self{'_time'}
53 3 4 unless (defined $$self{'_timestamp'})
55 2 1 if (defined $$self{'timestamp'} and $$self{'timestamp'} =~ /$qr/) { }
1 0 elsif (defined $$self{'time'} and $$self{'time'} =~ /$qr/) { }
0 0 elsif (defined $$self{'time'} and $$self{'time'} =~ /^\d{1,}(?:\.\d*)?$/) { }
63 0 0 unless defined $$self{'_time'}
80 3 8 unless (defined $$self{'datetime'})
84 3 0 if (defined $timestamp) { }
0 0 elsif (defined $$self{'_time'}) { }
0 0 elsif ($self->timestamp) { }
86 3 0 unless defined $$self{'_time'}