Branch Coverage

blib/lib/MouseX/Getopt/OptionTypeMap.pm
Criterion Covered Total %
branch 16 26 61.5


line true false branch
19 545 0 &blessed($type_or_name) ? :
543 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 545 0 &blessed($type_or_name) ? :
39 543 2 if exists $option_type_map{$name}
41 2 0 ref $type_or_name ? :
43 0 2 unless defined $current
48 2 0 if exists $option_type_map{$current->name}
56 0 9 unless defined $type_name and defined $option_string
59 4 5 if (&blessed($type_name)) { }
62 0 5 unless find_type_constraint($type_name)