line |
true |
false |
branch |
30
|
6 |
1 |
$target->isa('Moo::Object') ? :
|
35
|
7 |
0 |
if (my $has = $target->can("has"))
|
53
|
39 |
6 |
if ($is and $is =~ /^(?:const|once)$/u)
|
55
|
38 |
1 |
if (my $isa = $opts{'isa'}) { }
|
57
|
1 |
37 |
unless (&blessed($isa) and $isa->isa("Type::Tiny"))
|
61
|
10 |
27 |
if ($isa->is_a_type_of(&Value())) { }
|
63
|
1 |
9 |
if ($once) { }
|
77
|
1 |
26 |
unless ($isa->is_a_type_of(&Ref()))
|
81
|
2 |
24 |
if ($isa->is_a_type_of(&Object()))
|
85
|
21 |
3 |
if ($strict)
|
87
|
3 |
18 |
if (my $next = $opts{'coerce'}) { }
|
89
|
3 |
0 |
if (is_CodeRef($next)) { }
|
101
|
9 |
15 |
$once ? :
|
105
|
2 |
31 |
if ($opts{'trigger'} and $is ne "once")
|
109
|
2 |
29 |
if ($opts{'writer'} and $is ne "once")
|
113
|
2 |
27 |
if ($opts{'clearer'})
|