line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
{ |
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
use strict; |
4
|
16
|
|
|
16
|
|
112
|
use warnings; |
|
16
|
|
|
|
|
34
|
|
|
16
|
|
|
|
|
477
|
|
5
|
16
|
|
|
16
|
|
78
|
no warnings qw( once void ); |
|
16
|
|
|
|
|
38
|
|
|
16
|
|
|
|
|
563
|
|
6
|
16
|
|
|
16
|
|
82
|
|
|
16
|
|
|
|
|
54
|
|
|
16
|
|
|
|
|
2101
|
|
7
|
|
|
|
|
|
|
our $USES_MITE = "Mite::Class"; |
8
|
|
|
|
|
|
|
our $MITE_SHIM = "Mite::Shim"; |
9
|
|
|
|
|
|
|
our $MITE_VERSION = "0.010007"; |
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
# Mite keywords |
12
|
|
|
|
|
|
|
BEGIN { |
13
|
|
|
|
|
|
|
my ( $SHIM, $CALLER ) = |
14
|
16
|
|
|
16
|
|
76
|
( "Mite::Shim", "Mite::App::Command::compile" ); |
15
|
|
|
|
|
|
|
( |
16
|
|
|
|
|
|
|
*after, *around, *before, *extends, *field, |
17
|
|
|
|
|
|
|
*has, *param, *signature_for, *with |
18
|
|
|
|
|
|
|
) |
19
|
|
|
|
|
|
|
= do { |
20
|
16
|
|
|
|
|
41
|
|
21
|
|
|
|
|
|
|
no warnings 'redefine'; |
22
|
|
|
|
|
|
|
( |
23
|
16
|
|
|
16
|
|
111
|
sub { $SHIM->HANDLE_after( $CALLER, "class", @_ ) }, |
|
16
|
|
|
|
|
40
|
|
|
16
|
|
|
|
|
3480
|
|
24
|
|
|
|
|
|
|
sub { $SHIM->HANDLE_around( $CALLER, "class", @_ ) }, |
25
|
0
|
|
|
0
|
|
0
|
sub { $SHIM->HANDLE_before( $CALLER, "class", @_ ) }, |
26
|
0
|
|
|
0
|
|
0
|
sub { }, |
27
|
0
|
|
|
0
|
|
0
|
sub { $SHIM->HANDLE_has( $CALLER, field => @_ ) }, |
28
|
|
|
|
16
|
|
|
sub { $SHIM->HANDLE_has( $CALLER, has => @_ ) }, |
29
|
0
|
|
|
0
|
|
0
|
sub { $SHIM->HANDLE_has( $CALLER, param => @_ ) }, |
30
|
0
|
|
|
0
|
|
0
|
sub { $SHIM->HANDLE_signature_for( $CALLER, "class", @_ ) }, |
31
|
0
|
|
|
0
|
|
0
|
sub { $SHIM->HANDLE_with( $CALLER, @_ ) }, |
32
|
0
|
|
|
0
|
|
0
|
); |
33
|
0
|
|
|
0
|
|
0
|
} |
34
|
16
|
|
|
|
|
2451
|
|
35
|
|
|
|
|
|
|
# Mite imports |
36
|
|
|
|
|
|
|
BEGIN { |
37
|
|
|
|
|
|
|
require Scalar::Util; |
38
|
|
|
|
|
|
|
*STRICT = \&Mite::Shim::STRICT; |
39
|
|
|
|
|
|
|
*bare = \&Mite::Shim::bare; |
40
|
16
|
|
|
16
|
|
104
|
*blessed = \&Scalar::Util::blessed; |
41
|
16
|
|
|
|
|
47
|
*carp = \&Mite::Shim::carp; |
42
|
16
|
|
|
|
|
38
|
*confess = \&Mite::Shim::confess; |
43
|
16
|
|
|
|
|
41
|
*croak = \&Mite::Shim::croak; |
44
|
16
|
|
|
|
|
39
|
*false = \&Mite::Shim::false; |
45
|
16
|
|
|
|
|
33
|
*guard = \&Mite::Shim::guard; |
46
|
16
|
|
|
|
|
31
|
*lazy = \&Mite::Shim::lazy; |
47
|
16
|
|
|
|
|
39
|
*ro = \&Mite::Shim::ro; |
48
|
16
|
|
|
|
|
45
|
*rw = \&Mite::Shim::rw; |
49
|
16
|
|
|
|
|
37
|
*rwp = \&Mite::Shim::rwp; |
50
|
16
|
|
|
|
|
37
|
*true = \&Mite::Shim::true; |
51
|
16
|
|
|
|
|
28
|
} |
52
|
16
|
|
|
|
|
39
|
|
53
|
16
|
|
|
|
|
747
|
BEGIN { |
54
|
|
|
|
|
|
|
require Mite::App::Command; |
55
|
|
|
|
|
|
|
"Mite::App::Command"->VERSION("0.009000"); |
56
|
|
|
|
|
|
|
use mro 'c3'; |
57
|
16
|
|
|
16
|
|
824
|
our @ISA; |
58
|
16
|
|
|
|
|
329
|
push @ISA, "Mite::App::Command"; |
59
|
16
|
|
|
16
|
|
121
|
} |
|
16
|
|
|
|
|
30
|
|
|
16
|
|
|
|
|
651
|
|
60
|
16
|
|
|
|
|
58
|
|
61
|
16
|
|
|
|
|
2159
|
# See UNIVERSAL |
62
|
|
|
|
|
|
|
my ( $self, $role ) = @_; |
63
|
|
|
|
|
|
|
our %DOES; |
64
|
|
|
|
|
|
|
return $DOES{$role} if exists $DOES{$role}; |
65
|
|
|
|
|
|
|
return 1 if $role eq __PACKAGE__; |
66
|
0
|
|
|
0
|
0
|
|
return $self->SUPER::DOES($role); |
67
|
0
|
|
|
|
|
|
} |
68
|
0
|
0
|
|
|
|
|
|
69
|
0
|
0
|
|
|
|
|
# Alias for Moose/Moo-compatibility |
70
|
0
|
|
|
|
|
|
shift->DOES(@_); |
71
|
|
|
|
|
|
|
} |
72
|
|
|
|
|
|
|
|
73
|
|
|
|
|
|
|
1; |
74
|
|
|
|
|
|
|
|