Branch Coverage

blib/lib/FormValidator/Simple/Plugin/CreditCard.pm
Criterion Covered Total %
branch 7 8 87.5


line true false branch
24 3 0 if (exists $$__creditcard_types{$abbreviation}) { }
37 2 2 if ($args and scalar @$args > 0) { }
39 1 2 if ($self->__creditcard_get_type($type) eq Business::CreditCard::cardtype($data))
46 1 1 Business::CreditCard::validate($data) ? :