blib/lib/GPS/Magellan.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 10 | 32 | 31.2 |
line | true | false | branch |
---|---|---|---|
30 | 0 | 1 | unless $self->RUN_OFFLINE |
36 | 1 | 0 | if $self->RUN_OFFLINE |
43 | 0 | 1 | unless my $cmd = shift() |
58 | 0 | 1 | unless $cmd |
60 | 0 | 1 | unless $self->RUN_OFFLINE |
64 | 0 | 1 | unless open DATA, "$data_file" |
83 | 0 | 0 | unless $cmd |
92 | 0 | 0 | unless my $raw_msg = magellan_findmessage('$PMGN') |
96 | 0 | 0 | if ($msg->COMMAND eq 'CMD') |
97 | 0 | 0 | if $msg->DATA eq 'END' |
124 | 0 | 0 | unless $attr |
132 | 0 | 3 | if @_ |
143 | 0 | 3 | if $attr =~ /^_/ |
145 | 0 | 3 | if $self->_debug_autoload |
147 | 0 | 3 | if (@_) |
154 | 0 | 0 | unless (shift())->RUN_OFFLINE |