line |
true |
false |
branch |
38
|
0 |
0 |
if (@args)
|
43
|
0 |
0 |
defined $_ ? :
|
|
0 |
0 |
ref $_ ? :
|
58
|
12823 |
0 |
unless $_[0][0]
|
68
|
0 |
0 |
if (ref $ref eq "ARRAY")
|
73
|
0 |
0 |
if (ref $ref eq "HASH")
|
94
|
0 |
570 |
if defined $Mite::COMPILING
|
102
|
0 |
570 |
if (_is_compiling()) { }
|
116
|
0 |
570 |
unless (eval {
|
125
|
570 |
0 |
if not $arg{'-unclean'}
|
132
|
0 |
0 |
if ($INC{'Role/Hooks.pm'})
|
136
|
0 |
0 |
if ($cb_before)
|
137
|
0 |
0 |
unless $cb_before->{$role}
|
141
|
0 |
0 |
unless $info->{'modifiers'}
|
147
|
0 |
0 |
if ($cb_after)
|
148
|
0 |
0 |
unless $cb_after->{$role}
|
158
|
0 |
0 |
ref $_[0] ? :
|
159
|
0 |
0 |
if ($INC{'Role/Tiny.pm'} and 'Role::Tiny'->is_role($role)) { }
|
173
|
0 |
3984 |
if (@_ % 2)
|
175
|
0 |
0 |
'CODE' eq ref $default ? :
|
181
|
286 |
3698 |
ref $names ? :
|
184
|
96 |
4362 |
if "CODE" eq ref($code = $spec{'default'})
|
186
|
1038 |
3420 |
if "CODE" eq ref($code = $spec{'builder'})
|
188
|
0 |
4458 |
if "CODE" eq ref($code = $spec{'trigger'})
|
190
|
0 |
4458 |
if "CODE" eq ref($code = $spec{'clone'})
|
201
|
1 |
0 |
if $orig
|
207
|
0 |
1 |
ref $_ ? :
|
216
|
0 |
0 |
if ($kind eq "role")
|
224
|
0 |
0 |
unless eval " package $caller;\n no warnings 'redefine';\n sub $name {\n \$coderef->( \@_ );\n \$orig->( \@_ );\n }\n 1;\n"
|
242
|
0 |
0 |
if ($kind eq "role")
|
250
|
0 |
0 |
unless eval " package $caller;\n no warnings 'redefine';\n sub $name {\n my \@r;\n if ( wantarray ) {\n \@r = \$orig->( \@_ );\n }\n elsif ( defined wantarray ) {\n \@r = scalar \$orig->( \@_ );\n }\n else {\n \$orig->( \@_ );\n 1;\n }\n \$coderef->( \@_ );\n wantarray ? \@r : \$r[0];\n }\n 1;\n"
|
279
|
0 |
1 |
if ($kind eq "role")
|
287
|
0 |
1 |
unless eval " package $caller;\n no warnings 'redefine';\n sub $name {\n \$coderef->( \$orig, \@_ );\n }\n 1;\n"
|