Patch/Command/Which.pm

filter: Statementstmt 88.0% 22 / 25 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 85.7% 6 / 7 Podpod n/a totaltotal 87.5% 28 / 32 CC 1 SCAR 1.0
CC
1
Cov
88%
run
1.4
BEGIN
1.3
BEGIN
1.0
CRAP 1.1
« Patch/Command/FormatPatch.pm ↑ Summary Patch/Command/SendEmail.pm »
1 package Git::CPAN::Patch::Command::Which;
2 1 our $AUTHORITY = 'cpan:YANICK';
3 #ABSTRACT: reports the repository's module
4 1 $Git::CPAN::Patch::Command::Which::VERSION = '2.3.2';
5 1 ▶use 5.10.0;
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
8 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
9  
10 1 ▶use Method::Signatures::Simple;
Subroutine BEGIN: called CC=1 SCAR=0.0
11 1 ▶use MooseX::App::Command;
Subroutine BEGIN: called CC=1 SCAR=0.0
12  
13 1 with 'Git::CPAN::Patch::Role::Git';
14 1 with 'Git::CPAN::Patch::Role::Patch';
15  
16 1 ▶method run {
Subroutine BEGIN: called CC=1 SCAR=2.6
Subroutine run: not called CC=1 SCAR=3.5
17 0 say $self->module_name;
18 1 }
19  
20 1 __PACKAGE__->meta->make_immutable;
21  
22 1 1;
23  
24 __END__
25  
26 =pod
27  
28 =encoding UTF-8
29  
30 =head1 NAME
31  
32 Git::CPAN::Patch::Command::Which - reports the repository's module
33  
34 =head1 VERSION
35  
36 version 2.3.2
37  
38 =head1 SYNOPSIS
39  
40 % git-cpan which
41  
42 =head1 DESCRIPTION
43  
44 This command prints the name of the module tracked in C<cpan/master>.
45  
46 =head1 AUTHORS
47  
48 Yanick Champoux C<< <yanick@cpan.org> >>
49  
50 Yuval Kogman C<< <nothingmuch@woobling.org> >>
51  
52 =head1 SEE ALSO
53  
54 L<Git::CPAN::Patch>
55  
56 =head1 AUTHOR
57  
58 Yanick Champoux <yanick@cpan.org>
59  
60 =head1 COPYRIGHT AND LICENSE
61  
62 This software is copyright (c) 2017, 2016, 2015, 2014, 2013, 2012, 2011, 2010, 2009 by Yanick Champoux.
63  
64 This is free software; you can redistribute it and/or modify it under
65 the same terms as the Perl 5 programming language system itself.
66  
67 =cut
« Patch/Command/FormatPatch.pm ↑ Summary Patch/Command/SendEmail.pm »