line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
109
|
|
|
109
|
|
2495
|
use 5.010001; |
|
109
|
|
|
|
|
405
|
|
2
|
109
|
|
|
109
|
|
631
|
use strict; |
|
109
|
|
|
|
|
254
|
|
|
109
|
|
|
|
|
2694
|
|
3
|
109
|
|
|
109
|
|
567
|
use warnings; |
|
109
|
|
|
|
|
235
|
|
|
109
|
|
|
|
|
5529
|
|
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
use Mite::Miteception -role, -all; |
6
|
109
|
|
|
109
|
|
763
|
|
|
109
|
|
|
|
|
275
|
|
|
109
|
|
|
|
|
954
|
|
7
|
|
|
|
|
|
|
our $AUTHORITY = 'cpan:TOBYINK'; |
8
|
|
|
|
|
|
|
our $VERSION = '0.011000'; |
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
requires qw( |
11
|
|
|
|
|
|
|
_mop_metaclass |
12
|
|
|
|
|
|
|
_mop_attribute_metaclass |
13
|
|
|
|
|
|
|
); |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
my $self = shift; |
16
|
|
|
|
|
|
|
|
17
|
0
|
|
|
0
|
|
|
return sprintf <<'CODE', $self->_mop_metaclass, B::perlstring( $self->name ), B::perlstring( $self->name ), $self->_compile_mop_attributes, $self->_compile_mop_required_methods, $self->_compile_mop_modifiers, $self->_compile_mop_methods, $self->_compile_mop_tc; |
18
|
|
|
|
|
|
|
{ |
19
|
0
|
|
|
|
|
|
my $PACKAGE = %s->initialize( %s, package => %s ); |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
%s |
22
|
|
|
|
|
|
|
%s |
23
|
|
|
|
|
|
|
%s |
24
|
|
|
|
|
|
|
%s |
25
|
|
|
|
|
|
|
%s |
26
|
|
|
|
|
|
|
} |
27
|
|
|
|
|
|
|
CODE |
28
|
|
|
|
|
|
|
} |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
return ''; |
31
|
|
|
|
|
|
|
} |
32
|
|
|
|
|
|
|
|
33
|
0
|
|
|
0
|
|
|
return ''; |
34
|
|
|
|
|
|
|
} |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
return ''; |
37
|
0
|
|
|
0
|
|
|
} |
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
my $self = shift; |
40
|
|
|
|
|
|
|
return sprintf <<'CODE', $self->name, B::perlstring( $self->name ); |
41
|
0
|
|
|
0
|
|
|
$PACKAGE->add_method( |
42
|
|
|
|
|
|
|
"meta" => Moose::Meta::Method::Meta->_new( |
43
|
|
|
|
|
|
|
name => "meta", |
44
|
|
|
|
|
|
|
body => \&%s::meta, |
45
|
0
|
|
|
0
|
|
|
package_name => %s, |
46
|
0
|
|
|
|
|
|
), |
47
|
|
|
|
|
|
|
); |
48
|
|
|
|
|
|
|
CODE |
49
|
|
|
|
|
|
|
} |
50
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
return sprintf ' Moose::Util::TypeConstraints::find_or_create_isa_type_constraint( %s );', |
52
|
|
|
|
|
|
|
B::perlstring( shift->name ); |
53
|
|
|
|
|
|
|
} |
54
|
|
|
|
|
|
|
|
55
|
|
|
|
|
|
|
return ''; |
56
|
|
|
|
|
|
|
} |
57
|
|
|
|
|
|
|
|
58
|
0
|
|
|
0
|
|
|
1; |