Branch Coverage

blib/lib/Net/Rovio.pm
Criterion Covered Total %
branch 0 208 0.0


line true false branch
14 0 0 if ($_[1] and $_[2] and ($_[1] ne '' and $_[2] ne ''))
26 0 0 if ($$self{'opened'}) { }
28 0 0 if ($_[0] ne '') { }
37 0 0 if (not $GET or $GET eq '')
60 0 0 if ($_[0] =~ /down/i) { }
0 0 elsif ($_[0] =~ /mid/i) { }
0 0 elsif ($_[0] =~ /up/i) { }
83 0 0 if ($_[0] =~ /off/i)
86 0 0 if ($_[0] =~ /on/i)
90 0 0 if ($_[0] =~ /1/i or $_[0] =~ /0/i)
135 0 0 if (defined $_[0]) { }
137 0 0 if ($_[0] =~ /[0|1|2|3]/g) { }
163 0 0 if (defined $_[0]) { }
165 0 0 if ($_[0] =~ /[0|1|2]/g) { }
190 0 0 if (defined $_[0]) { }
192 0 0 if ($_[0] >= 2 and $_[0] <= 32) { }
213 0 0 if (defined $_[0]) { }
215 0 0 if ($_[0] >= 0 and $_[0] <= 6) { }
236 0 0 if (defined $_[0]) { }
238 0 0 if ($_[0] >= 0 and $_[0] <= 31) { }
259 0 0 if (defined $_[0]) { }
261 0 0 if ($_[0] >= 0 and $_[0] <= 31) { }
291 0 0 unless length $_
337 0 0 if ($answer =~ /Time = ([0-9].*)/g)
379 0 0 if ($answer) { }
445 0 0 unless length $_
467 0 0 unless length $_
493 0 0 if ($$params{'Video'} =~ /[1|2]/g) { }
0 0 if ($$params{'Video'})
494 0 0 if ($$params{'Audio'} =~ /[0|1|2|3|4]/g) { }
0 0 if ($$params{'Audio'})
511 0 0 unless length $_
532 0 0 unless length $_
546 0 0 if ($$params{'Port1'})
0 0 if ($$params{'Port1'})
547 0 0 if ($$params{'Port0'})
0 0 if ($$params{'Port0'})
567 0 0 unless length $_
594 0 0 if ($$params{'Mailserver'})
0 0 if ($$params{'Mailserver'})
595 0 0 if ($$params{'Sender'})
0 0 if ($$params{'Sender'})
596 0 0 if ($$params{'Receiver'})
0 0 if ($$params{'Receiver'})
597 0 0 if ($$params{'Subject'})
0 0 if ($$params{'Subject'})
598 0 0 if ($$params{'User'})
0 0 if ($$params{'User'})
599 0 0 if ($$params{'PassWord'})
0 0 if ($$params{'PassWord'})
600 0 0 if ($$params{'CheckFlag'})
0 0 if ($$params{'CheckFlag'})
622 0 0 if ($answer) { }
725 0 0 if ($1 == '0')
726 0 0 if ($1 == '1')
727 0 0 if ($1 == '2')
728 0 0 if ($1 == '3')
729 0 0 if ($1 == '4')
773 0 0 unless length $_
797 0 0 if ($$params{'ManTurn'})
798 0 0 if ($$params{'ManDrive'})
799 0 0 if ($$params{'DockTimeout'})
800 0 0 if ($$params{'Reverse'})
801 0 0 if ($$params{'LeftRight'})
802 0 0 if ($$params{'Forward'})
803 0 0 if ($$params{'DriveTurn'})
804 0 0 if ($$params{'HomingTurn'})
823 0 0 unless length $_
826 0 0 if ($var eq $lastvar) { }
843 0 0 if ($_[0] ne 'wlan0' and $_[0] ne 'eth1')
855 0 0 unless length $_
858 0 0 if ($var eq $lastvar) { }
905 0 0 unless length $_
908 0 0 if ($var eq $lastvar) { }
951 0 0 unless length $_
953 0 0 if ($var eq $lastvar) { }
1016 0 0 if (getname($self) eq $_[0]) { }
1071 0 0 if (not $_[0] or $_[0] =~ /off/i) { }
1086 0 0 if ($answer) { }
1121 0 0 if ($answer)
1124 0 0 if ($answer =~ /responses = 0/gi)
1125 0 0 if ($answer =~ /responses = 9/gi)
1126 0 0 if ($answer =~ /responses = 8/gi)
1127 0 0 if ($answer =~ /responses = 7/gi)
1128 0 0 if ($answer =~ /responses = 6/gi)
1129 0 0 if ($answer =~ /responses = 5/gi)
1130 0 0 if ($answer =~ /responses = 4/gi)
1131 0 0 if ($answer =~ /responses = 3/gi)
1132 0 0 if ($answer =~ /responses = 23/gi)
1133 0 0 if ($answer =~ /responses = 22/gi)
1134 0 0 if ($answer =~ /responses = 21/gi)
1135 0 0 if ($answer =~ /responses = 20/gi)
1136 0 0 if ($answer =~ /responses = 2/gi)
1137 0 0 if ($answer =~ /responses = 19/gi)
1138 0 0 if ($answer =~ /responses = 18/gi)
1139 0 0 if ($answer =~ /responses = 17/gi)
1140 0 0 if ($answer =~ /responses = 16/gi)
1141 0 0 if ($answer =~ /responses = 15/gi)
1142 0 0 if ($answer =~ /responses = 14/gi)
1143 0 0 if ($answer =~ /responses = 13/gi)
1144 0 0 if ($answer =~ /responses = 12/gi)
1145 0 0 if ($answer =~ /responses = 11/gi)
1146 0 0 if ($answer =~ /responses = 10/gi)
1147 0 0 if ($answer =~ /responses = 1/gi)