Branch Coverage

blib/lib/Device/Chip/BNO055.pm
Criterion Covered Total %
branch 18 32 56.2


line true false branch
152 3 9 if ($_reg_page != $page)
164 10 4 if (length $_regcache >= $reg + $len)
181 1 1 if ($_reg_page != $page)
205 1 2 unless $len
262 0 1 if $changes{'OPR_MODE'}
266 0 1 unless $config->{'OPR_MODE'} eq "CONFIGMODE"
320 0 1 if ($units eq 'mg') { }
1 0 elsif ($units eq "m/s\262") { }
380 1 0 if ($units eq 'dps') { }
0 0 elsif ($units eq 'rps') { }
403 1 0 if ($units eq 'degrees') { }
0 0 elsif ($units eq 'radians') { }
443 0 1 if ($units eq 'mg') { }
1 0 elsif ($units eq "m/s\262") { }
466 0 1 if ($units eq 'mg') { }
1 0 elsif ($units eq "m/s\262") { }