Branch Coverage

blib/lib/Business/LCCN.pm
Criterion Covered Total %
branch 18 20 90.0


line true false branch
310 19 43 if ($self->lccn_structure eq 'B') { }
43 0 elsif ($self->lccn_structure eq 'A') { }
321 5 38 if (length $self->revision_year_encoded)
322 2 3 unless (length $self->suffix_encoded)
326 2 3 if ($self->revision_number)
369 232 232 if (ref $other and blessed $other and $other->isa('Business::LCCN')) { }
375 0 464 if (not defined $other_lccn) { }
385 3 59 if (length $$self{'suffix_encoded'}) { }
395 41 366 unless ($year_encoded =~ /^\d{2}$/ and $serial =~ /^\d{6}$/)
413 2 364 if ($product % 11 == 0) { }