Branch Coverage: lib/MooX/Const.pm

# Branch Coverage

File: | lib/MooX/Const.pm
Coverage: | 90.9%

line | % | coverage | branch
--- | --- | --- | ---
82 | 50 | T | F | $target->isa('Moo::Object') ? :
87 | 50 | T | F | if (my $has = $target->can("has"))
101 | 100 | T | F | if ($is and $is =~ /^(?:const|wo)$/)
103 | 100 | T | F | if (my $isa = $opts{'isa'}) { }
105 | 100 | T | F | unless ($isa->$_isa("Type::Tiny"))
109 | 100 | T | F | if ($isa->is_a_type_of(&Value())) { }
111 | 100 | T | F | if ($is eq 'wo') { }
125 | 100 | T | F | unless ($isa->is_a_type_of(&Ref()))
129 | 100 | T | F | if ($isa->is_a_type_of(&Object()))
136 | 100 | T | F | if ($opts{'trigger'} and $is ne "wo")
140 | 100 | T | F | $is eq 'wo' ? :