line |
true |
false |
branch |
19
|
0 |
2 |
unless $YAML_CLASS
|
25
|
22 |
2 |
scalar @_ == 1 ? :
|
43
|
1 |
21 |
defined $args{$accessor} ? :
|
46
|
0 |
22 |
$accessors{$accessor}{'builder'} ? :
|
48
|
0 |
22 |
unless (not $accessors{$accessor}{'required'} or defined $value)
|
57
|
49 |
2 |
if (defined $value)
|
58
|
4 |
45 |
if ((ref $value || '') ne 'ARRAY')
|
68
|
2 |
6 |
if ((ref $mg || '') =~ /^(|HASH|ARRAY|SCALAR|CODE|GLOB)$/)
|
69
|
2 |
0 |
defined $mg ? :
|
73
|
2 |
4 |
if (not defined $str or ref $str)
|
74
|
2 |
0 |
defined $str ? :
|
78
|
2 |
2 |
if (defined $param)
|
79
|
2 |
0 |
if (ref $param)
|
84
|
2 |
0 |
if (defined $list)
|
86
|
0 |
0 |
$ref ? :
|
|
2 |
0 |
if (($ref || 'SCALAR') ne 'SCALAR' or not +($ref ? $$list : $list) =~ /^(1|0)$/)
|
92
|
0 |
0 |
$ref ? :
|
|
0 |
0 |
!!($ref ? $$list : $list) ? :
|
95
|
0 |
0 |
unless ($CLASS_LOADED)
|
106
|
2 |
6 |
if ((ref $mg || '') =~ /^(|HASH|ARRAY|SCALAR|CODE|GLOB)$/)
|
107
|
2 |
0 |
defined $mg ? :
|
111
|
2 |
4 |
if (not defined $str or ref $str)
|
112
|
2 |
0 |
defined $str ? :
|
116
|
2 |
2 |
if (defined $param)
|
117
|
2 |
0 |
if (ref $param)
|
122
|
2 |
0 |
if (defined $list)
|
124
|
0 |
0 |
$ref ? :
|
|
2 |
0 |
if (($ref || 'SCALAR') ne 'SCALAR' or not +($ref ? $$list : $list) =~ /^(1|0)$/)
|
130
|
0 |
0 |
$ref ? :
|
|
0 |
0 |
!!($ref ? $$list : $list) ? :
|
134
|
0 |
0 |
if $param
|
136
|
0 |
0 |
$list ? :
|
143
|
2 |
6 |
if ((ref $mg || '') =~ /^(|HASH|ARRAY|SCALAR|CODE|GLOB)$/)
|
144
|
2 |
0 |
defined $mg ? :
|
148
|
2 |
4 |
if (not defined $str or ref $str)
|
149
|
2 |
0 |
defined $str ? :
|
153
|
2 |
2 |
if (defined $param)
|
154
|
2 |
0 |
if (ref $param)
|
159
|
2 |
0 |
if (defined $list)
|
161
|
0 |
0 |
$ref ? :
|
|
2 |
0 |
if (($ref || 'SCALAR') ne 'SCALAR' or not +($ref ? $$list : $list) =~ /^(1|0)$/)
|
167
|
0 |
0 |
$ref ? :
|
|
0 |
0 |
!!($ref ? $$list : $list) ? :
|
171
|
0 |
0 |
if $param
|
173
|
0 |
0 |
$list ? :
|
180
|
2 |
6 |
if ((ref $mg || '') =~ /^(|HASH|ARRAY|SCALAR|CODE|GLOB)$/)
|
181
|
2 |
0 |
defined $mg ? :
|
185
|
2 |
4 |
if (not defined $str or ref $str)
|
186
|
2 |
0 |
defined $str ? :
|
190
|
2 |
2 |
if (defined $param)
|
191
|
2 |
0 |
if (ref $param)
|
196
|
2 |
0 |
if (defined $list)
|
198
|
0 |
0 |
$ref ? :
|
|
2 |
0 |
if (($ref || 'SCALAR') ne 'SCALAR' or not +($ref ? $$list : $list) =~ /^(1|0)$/)
|
204
|
0 |
0 |
$ref ? :
|
|
0 |
0 |
!!($ref ? $$list : $list) ? :
|
208
|
0 |
0 |
if $param
|
210
|
0 |
0 |
$list ? :
|
217
|
2 |
6 |
if ((ref $mg || '') =~ /^(|HASH|ARRAY|SCALAR|CODE|GLOB)$/)
|
218
|
2 |
0 |
defined $mg ? :
|
222
|
2 |
4 |
if (not defined $file or ref $file)
|
223
|
2 |
0 |
defined $file ? :
|
227
|
2 |
2 |
if (defined $param)
|
228
|
2 |
0 |
if (ref $param)
|
233
|
2 |
0 |
if (defined $list)
|
235
|
0 |
0 |
$ref ? :
|
|
2 |
0 |
if (($ref || 'SCALAR') ne 'SCALAR' or not +($ref ? $$list : $list) =~ /^(1|0)$/)
|
241
|
0 |
0 |
$ref ? :
|
|
0 |
0 |
!!($ref ? $$list : $list) ? :
|
244
|
0 |
0 |
unless ($CLASS_LOADED)
|
255
|
2 |
6 |
if ((ref $mg || '') =~ /^(|HASH|ARRAY|SCALAR|CODE|GLOB)$/)
|
256
|
2 |
0 |
defined $mg ? :
|
260
|
2 |
4 |
if (not defined $file or ref $file)
|
261
|
2 |
0 |
defined $file ? :
|
265
|
2 |
2 |
if (defined $param)
|
266
|
2 |
0 |
if (ref $param)
|
271
|
2 |
0 |
if (defined $list)
|
273
|
0 |
0 |
$ref ? :
|
|
2 |
0 |
if (($ref || 'SCALAR') ne 'SCALAR' or not +($ref ? $$list : $list) =~ /^(1|0)$/)
|
279
|
0 |
0 |
$ref ? :
|
|
0 |
0 |
!!($ref ? $$list : $list) ? :
|
283
|
0 |
0 |
if $param
|
285
|
0 |
0 |
$list ? :
|
292
|
2 |
6 |
if ((ref $mg || '') =~ /^(|HASH|ARRAY|SCALAR|CODE|GLOB)$/)
|
293
|
2 |
0 |
defined $mg ? :
|
297
|
2 |
4 |
if (not defined $file or ref $file)
|
298
|
2 |
0 |
defined $file ? :
|
302
|
2 |
2 |
if (defined $param)
|
303
|
2 |
0 |
if (ref $param)
|
308
|
2 |
0 |
if (defined $list)
|
310
|
0 |
0 |
$ref ? :
|
|
2 |
0 |
if (($ref || 'SCALAR') ne 'SCALAR' or not +($ref ? $$list : $list) =~ /^(1|0)$/)
|
316
|
0 |
0 |
$ref ? :
|
|
0 |
0 |
!!($ref ? $$list : $list) ? :
|
320
|
0 |
0 |
if $param
|
322
|
0 |
0 |
$list ? :
|
329
|
2 |
6 |
if ((ref $mg || '') =~ /^(|HASH|ARRAY|SCALAR|CODE|GLOB)$/)
|
330
|
2 |
0 |
defined $mg ? :
|
334
|
2 |
4 |
if (not defined $file or ref $file)
|
335
|
2 |
0 |
defined $file ? :
|
339
|
2 |
2 |
if (defined $param)
|
340
|
2 |
0 |
if (ref $param)
|
345
|
2 |
0 |
if (defined $list)
|
347
|
0 |
0 |
$ref ? :
|
|
2 |
0 |
if (($ref || 'SCALAR') ne 'SCALAR' or not +($ref ? $$list : $list) =~ /^(1|0)$/)
|
353
|
0 |
0 |
$ref ? :
|
|
0 |
0 |
!!($ref ? $$list : $list) ? :
|
357
|
0 |
0 |
if $param
|
359
|
0 |
0 |
$list ? :
|
366
|
2 |
6 |
if ((ref $mg || '') =~ /^(|HASH|ARRAY|SCALAR|CODE|GLOB)$/)
|
367
|
2 |
0 |
defined $mg ? :
|
371
|
2 |
4 |
if (not defined $content or ref $content)
|
372
|
2 |
0 |
defined $content ? :
|
376
|
2 |
2 |
if (defined $param)
|
377
|
2 |
0 |
if (ref $param)
|
382
|
2 |
0 |
if (defined $list)
|
384
|
0 |
0 |
$ref ? :
|
|
2 |
0 |
if (($ref || 'SCALAR') ne 'SCALAR' or not +($ref ? $$list : $list) =~ /^(1|0)$/)
|
390
|
0 |
0 |
$ref ? :
|
|
0 |
0 |
!!($ref ? $$list : $list) ? :
|
393
|
0 |
0 |
unless ($CLASS_LOADED)
|
404
|
2 |
6 |
if ((ref $mg || '') =~ /^(|HASH|ARRAY|SCALAR|CODE|GLOB)$/)
|
405
|
2 |
0 |
defined $mg ? :
|
409
|
2 |
4 |
if (not defined $content or ref $content)
|
410
|
2 |
0 |
defined $content ? :
|
414
|
2 |
2 |
if (defined $param)
|
415
|
2 |
0 |
if (ref $param)
|
420
|
2 |
0 |
if (defined $list)
|
422
|
0 |
0 |
$ref ? :
|
|
2 |
0 |
if (($ref || 'SCALAR') ne 'SCALAR' or not +($ref ? $$list : $list) =~ /^(1|0)$/)
|
428
|
0 |
0 |
$ref ? :
|
|
0 |
0 |
!!($ref ? $$list : $list) ? :
|
432
|
0 |
0 |
if $param
|
434
|
0 |
0 |
$list ? :
|
441
|
2 |
6 |
if ((ref $mg || '') =~ /^(|HASH|ARRAY|SCALAR|CODE|GLOB)$/)
|
442
|
2 |
0 |
defined $mg ? :
|
446
|
2 |
4 |
if (not defined $content or ref $content)
|
447
|
2 |
0 |
defined $content ? :
|
451
|
2 |
2 |
if (defined $param)
|
452
|
2 |
0 |
if (ref $param)
|
457
|
2 |
0 |
if (defined $list)
|
459
|
0 |
0 |
$ref ? :
|
|
2 |
0 |
if (($ref || 'SCALAR') ne 'SCALAR' or not +($ref ? $$list : $list) =~ /^(1|0)$/)
|
465
|
0 |
0 |
$ref ? :
|
|
0 |
0 |
!!($ref ? $$list : $list) ? :
|
469
|
0 |
0 |
if $param
|
471
|
0 |
0 |
$list ? :
|
478
|
2 |
6 |
if ((ref $mg || '') =~ /^(|HASH|ARRAY|SCALAR|CODE|GLOB)$/)
|
479
|
2 |
0 |
defined $mg ? :
|
483
|
2 |
4 |
if (not defined $content or ref $content)
|
484
|
2 |
0 |
defined $content ? :
|
488
|
2 |
2 |
if (defined $param)
|
489
|
2 |
0 |
if (ref $param)
|
494
|
2 |
0 |
if (defined $list)
|
496
|
0 |
0 |
$ref ? :
|
|
2 |
0 |
if (($ref || 'SCALAR') ne 'SCALAR' or not +($ref ? $$list : $list) =~ /^(1|0)$/)
|
502
|
0 |
0 |
$ref ? :
|
|
0 |
0 |
!!($ref ? $$list : $list) ? :
|
506
|
0 |
0 |
if $param
|
508
|
0 |
0 |
$list ? :
|
515
|
2 |
8 |
if ((ref $mg || '') =~ /^(|HASH|ARRAY|SCALAR|CODE|GLOB)$/)
|
516
|
2 |
0 |
defined $mg ? :
|
520
|
2 |
6 |
if (not defined $file or ref $file)
|
521
|
2 |
0 |
defined $file ? :
|
525
|
2 |
4 |
if (not defined $content or ref $content)
|
526
|
2 |
0 |
defined $content ? :
|
530
|
2 |
2 |
if (defined $param)
|
531
|
2 |
0 |
if (ref $param)
|
536
|
2 |
0 |
if (defined $list)
|
538
|
0 |
0 |
$ref ? :
|
|
2 |
0 |
if (($ref || 'SCALAR') ne 'SCALAR' or not +($ref ? $$list : $list) =~ /^(1|0)$/)
|
544
|
0 |
0 |
$ref ? :
|
|
0 |
0 |
!!($ref ? $$list : $list) ? :
|
547
|
0 |
0 |
unless ($CLASS_LOADED)
|
558
|
2 |
8 |
if ((ref $mg || '') =~ /^(|HASH|ARRAY|SCALAR|CODE|GLOB)$/)
|
559
|
2 |
0 |
defined $mg ? :
|
563
|
2 |
6 |
if (not defined $file or ref $file)
|
564
|
2 |
0 |
defined $file ? :
|
568
|
2 |
4 |
if (not defined $content or ref $content)
|
569
|
2 |
0 |
defined $content ? :
|
573
|
2 |
2 |
if (defined $param)
|
574
|
2 |
0 |
if (ref $param)
|
579
|
2 |
0 |
if (defined $list)
|
581
|
0 |
0 |
$ref ? :
|
|
2 |
0 |
if (($ref || 'SCALAR') ne 'SCALAR' or not +($ref ? $$list : $list) =~ /^(1|0)$/)
|
587
|
0 |
0 |
$ref ? :
|
|
0 |
0 |
!!($ref ? $$list : $list) ? :
|
591
|
0 |
0 |
if $param
|
593
|
0 |
0 |
$list ? :
|
600
|
2 |
8 |
if ((ref $mg || '') =~ /^(|HASH|ARRAY|SCALAR|CODE|GLOB)$/)
|
601
|
2 |
0 |
defined $mg ? :
|
605
|
2 |
6 |
if (not defined $file or ref $file)
|
606
|
2 |
0 |
defined $file ? :
|
610
|
2 |
4 |
if (not defined $content or ref $content)
|
611
|
2 |
0 |
defined $content ? :
|
615
|
2 |
2 |
if (defined $param)
|
616
|
2 |
0 |
if (ref $param)
|
621
|
2 |
0 |
if (defined $list)
|
623
|
0 |
0 |
$ref ? :
|
|
2 |
0 |
if (($ref || 'SCALAR') ne 'SCALAR' or not +($ref ? $$list : $list) =~ /^(1|0)$/)
|
629
|
0 |
0 |
$ref ? :
|
|
0 |
0 |
!!($ref ? $$list : $list) ? :
|
633
|
0 |
0 |
if $param
|
635
|
0 |
0 |
$list ? :
|
642
|
2 |
8 |
if ((ref $mg || '') =~ /^(|HASH|ARRAY|SCALAR|CODE|GLOB)$/)
|
643
|
2 |
0 |
defined $mg ? :
|
647
|
2 |
6 |
if (not defined $file or ref $file)
|
648
|
2 |
0 |
defined $file ? :
|
652
|
2 |
4 |
if (not defined $content or ref $content)
|
653
|
2 |
0 |
defined $content ? :
|
657
|
2 |
2 |
if (defined $param)
|
658
|
2 |
0 |
if (ref $param)
|
663
|
2 |
0 |
if (defined $list)
|
665
|
0 |
0 |
$ref ? :
|
|
2 |
0 |
if (($ref || 'SCALAR') ne 'SCALAR' or not +($ref ? $$list : $list) =~ /^(1|0)$/)
|
671
|
0 |
0 |
$ref ? :
|
|
0 |
0 |
!!($ref ? $$list : $list) ? :
|
675
|
0 |
0 |
if $param
|
677
|
0 |
0 |
$list ? :
|