line |
true |
false |
branch |
38
|
0 |
0 |
if (@args)
|
43
|
0 |
0 |
defined $_ ? :
|
|
0 |
0 |
ref $_ ? :
|
58
|
12744 |
0 |
unless $_[0][0]
|
66
|
0 |
558 |
if defined $Mite::COMPILING
|
74
|
0 |
558 |
if (_is_compiling()) { }
|
86
|
0 |
558 |
unless (-e $mite_file)
|
99
|
558 |
0 |
if not $arg{'-unclean'}
|
106
|
0 |
0 |
if ($INC{'Role/Hooks.pm'})
|
110
|
0 |
0 |
if ($cb_before)
|
111
|
0 |
0 |
unless $cb_before->{$role}
|
115
|
0 |
0 |
unless $info->{'modifiers'}
|
121
|
0 |
0 |
if ($cb_after)
|
122
|
0 |
0 |
unless $cb_after->{$role}
|
132
|
0 |
0 |
ref $_[0] ? :
|
133
|
0 |
0 |
if ($INC{'Role/Tiny.pm'} and 'Role::Tiny'->is_role($role)) { }
|
147
|
0 |
3900 |
if (@_ % 2)
|
149
|
0 |
0 |
'CODE' eq ref $default ? :
|
155
|
280 |
3620 |
ref $names ? :
|
158
|
94 |
4270 |
if "CODE" eq ref($code = $spec{'default'})
|
160
|
1016 |
3348 |
if "CODE" eq ref($code = $spec{'builder'})
|
162
|
0 |
4364 |
if "CODE" eq ref($code = $spec{'trigger'})
|
164
|
0 |
4364 |
if "CODE" eq ref($code = $spec{'clone'})
|
175
|
1 |
0 |
if $orig
|
181
|
0 |
1 |
ref $_ ? :
|
190
|
0 |
0 |
if ($kind eq "role")
|
198
|
0 |
0 |
unless eval " package $caller;\n no warnings 'redefine';\n sub $name {\n \$coderef->( \@_ );\n \$orig->( \@_ );\n }\n 1;\n"
|
216
|
0 |
0 |
if ($kind eq "role")
|
224
|
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"
|
253
|
0 |
1 |
if ($kind eq "role")
|
261
|
0 |
1 |
unless eval " package $caller;\n no warnings 'redefine';\n sub $name {\n \$coderef->( \$orig, \@_ );\n }\n 1;\n"
|