Branch Coverage

blib/lib/MouseX/Getopt/OptionTypeMap.pm
Criterion Covered Total %
branch 15 26 57.6


line true false branch
19 498 0 blessed $type_or_name ? :
496 2 if exists $option_type_map{blessed $type_or_name ? $type_or_name->name : $type_or_name}
21 2 0 blessed $type_or_name ? :
23 0 2 unless defined $current
27 2 0 if exists $option_type_map{$parent->name}
37 498 0 blessed $type_or_name ? :
39 496 2 if exists $option_type_map{$name}
41 2 0 ref $type_or_name ? :
43 0 2 unless defined $current
47 2 0 if exists $option_type_map{$current->name}
56 0 1 unless defined $type_name and defined $option_string
59 0 1 if (blessed $type_name) { }
62 0 1 unless find_type_constraint($type_name)