Patch/Command/Which.pm

filter: Statementstmt 94.4% 17 / 18 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 80.0% 4 / 5 Podpod 0.0% 0 / 1 totaltotal 87.5% 21 / 24 CC 1 SCAR 1.8
CC
1
Cov
94%
run
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.2
« Patch.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.4';
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 MooseX::App::Command;
Subroutine BEGIN: called CC=1 SCAR=0.0
11  
12 1 with 'Git::CPAN::Patch::Role::Git';
13 1 with 'Git::CPAN::Patch::Role::Patch';
14  
15 0 ▶sub run { say $_[0]->module_name }
Subroutine run: not called CC=1 SCAR=6.9
Pod undocumented
16  
17 1 __PACKAGE__->meta->make_immutable;
18  
19 1 1;
20  
21 __END__
22  
23 =pod
24  
25 =encoding UTF-8
26  
27 =head1 NAME
28  
29 Git::CPAN::Patch::Command::Which - reports the repository's module
30  
31 =head1 VERSION
32  
33 version 2.3.4
34  
35 =head1 SYNOPSIS
36  
37 % git-cpan which
38  
39 =head1 DESCRIPTION
40  
41 This command prints the name of the module tracked in C<cpan/master>.
42  
43 =head1 AUTHORS
44  
45 Yanick Champoux C<< <yanick@cpan.org> >>
46  
47 Yuval Kogman C<< <nothingmuch@woobling.org> >>
48  
49 =head1 SEE ALSO
50  
51 L<Git::CPAN::Patch>
52  
53 =head1 AUTHOR
54  
55 Yanick Champoux <yanick@cpan.org>
56  
57 =head1 COPYRIGHT AND LICENSE
58  
59 This software is copyright (c) 2018, 2017, 2016, 2015, 2014, 2013, 2012, 2011, 2010, 2009 by Yanick Champoux.
60  
61 This is free software; you can redistribute it and/or modify it under
62 the same terms as the Perl 5 programming language system itself.
63  
64 =cut
« Patch.pm ↑ Summary Patch/Command/SendEmail.pm »