Branch Coverage

blib/lib/Device/Modbus/TCP/ADU.pm
Criterion Covered Total %
branch 11 12 91.6


line true false branch
10 11 17 if (defined $value)
14 1 27 unless exists $self->{'id'}
20 6 2 if (defined $value)
24 1 7 unless exists $self->{'length'}
31 1 40 unless exists $self->{'unit'} or defined $_[0]
37 0 11 unless $self->unit