line |
true |
false |
branch |
113
|
188 |
113 |
&$_has(@_) ? :
|
114
|
136 |
14 |
unless ref &$_opt(@_)
|
140
|
16 |
16 |
$name =~ /^_/ ? :
|
144
|
104 |
16 |
unless &$_has($opt)
|
147
|
8 |
0 |
$opt_val eq '-1' ? :
|
|
8 |
8 |
$opt_val eq '1' ? :
|
160
|
5 |
55 |
if ($options->{'trigger'} and $options->{'trigger'} eq '1')
|
172
|
14 |
0 |
unless $class->meta->does_role('MooseX::SemiAffordanceAccessor::Role::Attribute')
|
176
|
0 |
0 |
$name =~ /^_/ ? :
|
183
|
14 |
0 |
$name =~ /^_/ ? :
|
190
|
46 |
14 |
unless &$_opt('is') eq 'rwp'
|
202
|
55 |
5 |
unless &$_opt('is') eq 'lazy'
|
206
|
1 |
4 |
unless &$_has('builder') or &$_has('default')
|
216
|
0 |
0 |
unless &$_opt('lazy_build') eq 'private'
|
229
|
36 |
24 |
unless &$_has('builder')
|
231
|
3 |
21 |
if (&$_ref('builder') eq 'CODE')
|
238
|
18 |
6 |
if $options->{'builder'} eq '1'
|
246
|
59 |
1 |
unless &$_ref('isa') eq 'CODE'
|
259
|
59 |
1 |
unless &$_has('isa_instance_of')
|
261
|
0 |
1 |
if (&$_has('isa'))
|
278
|
1 |
59 |
if (&$_ref('coerce') eq 'ARRAY')
|
282
|
0 |
1 |
unless &$_has('isa')
|
284
|
0 |
1 |
if @coercions % 2
|
286
|
0 |
1 |
unless @coercions > 0
|
293
|
0 |
1 |
$options->{'original_isa'} ? :
|
310
|
1 |
58 |
if (&$_has('original_isa') and &$_opt('coerce') eq '1')
|
314
|
1 |
0 |
if ($isa_type->has_coercion)
|
331
|
57 |
3 |
unless &$_has('constraint')
|
334
|
0 |
3 |
unless &$_has('isa')
|
336
|
0 |
3 |
if &$_ref('constraint') ne 'CODE'
|
340
|
3 |
0 |
if &$_ref('constraint') eq 'CODE'
|