Branch Coverage

blib/lib/RPi/RTC/DS3231.pm
Criterion Covered Total %
branch 0 54 0.0


line true false branch
18 0 0 unless defined $rtc_addr
30 0 0 defined $output && $output eq 'f' ? :
41 0 0 if (defined $year)
48 0 0 if (defined $month)
55 0 0 if (defined $mday)
62 0 0 if (defined $wday)
69 0 0 if (defined $hour)
77 0 0 if (defined $min)
84 0 0 if (defined $sec)
95 0 0 if (defined $meridien)
96 0 0 if ($meridien ne "AM" and $meridien ne "PM")
99 0 0 if ($meridien eq 'AM') { }
107 0 0 getMeridien($self->_fd) ? :
111 0 0 if (defined $value)
112 0 0 if (not $value =~ /\d+/ or $value != 12 and $value != 24)
115 0 0 $value == 12 ? :
118 0 0 getMilitary($self->_fd) ? :
129 0 0 if $self->clock_hours == 12
136 0 0 if (defined $datetime)
139 0 0 if (@dt = $datetime =~ /(\d{4})-(\d{2})-(\d{2})\s+(\d{2}):(\d{2}):(\d{2})/) { }
144 0 0 if $ch == 12
154 0 0 if $ch == 12
169 0 0 if ($self->clock_hours == 12) { }
192 0 0 if ($self->clock_hours == 12) { }
225 0 0 unless (exists $self->{'fd'})
234 0 0 unless (defined $int and $int =~ /\d+/)
238 0 0 length $int < 2 ? :