Patch/Command/FormatPatch.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%
__ANON__
1.4
BEGIN
1.3
BEGIN
1.0
CRAP 1.1
« Patch.pm ↑ Summary Patch/Command/Which.pm »
1 package Git::CPAN::Patch::Command::FormatPatch;
2 1 our $AUTHORITY = 'cpan:YANICK';
3 #ABSTRACT: Format patches using C<cpan/master> as the origin reference
4 1 $Git::CPAN::Patch::Command::FormatPatch::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  
12 1 ▶use MooseX::App::Command;
Subroutine BEGIN: called CC=1 SCAR=0.0
13  
14 1 with 'Git::CPAN::Patch::Role::Git';
15 1 with 'Git::CPAN::Patch::Role::Patch';
16  
17  
18 1 ▶method run {
Subroutine BEGIN: called CC=1 SCAR=2.6
Subroutine __ANON__: not called CC=1 SCAR=3.5
19 0 $self->format_patch;
20 1 }
21  
22 1 __PACKAGE__->meta->make_immutable;
23  
24 1 1;
25  
26 __END__
27  
28 =pod
29  
30 =encoding UTF-8
31  
32 =head1 NAME
33  
34 Git::CPAN::Patch::Command::FormatPatch - Format patches using C<cpan/master> as the origin reference
35  
36 =head1 VERSION
37  
38 version 2.3.2
39  
40 =head1 SYNOPSIS
41  
42 % git-cpan format-patch
43  
44 =head1 DESCRIPTION
45  
46 This is just like running C<git format-patch cpan/master>.
47  
48 =head1 AUTHORS
49  
50 Yuval Kogman C<< <nothingmuch@woobling.org> >>
51  
52 Yanick Champoux C<< <yanick@cpan.org> >>
53  
54 =head1 SEE ALSO
55  
56 L<Git::CPAN::Patch>
57  
58 L<git-format-patch>
59  
60 =head1 AUTHOR
61  
62 Yanick Champoux <yanick@cpan.org>
63  
64 =head1 COPYRIGHT AND LICENSE
65  
66 This software is copyright (c) 2017, 2016, 2015, 2014, 2013, 2012, 2011, 2010, 2009 by Yanick Champoux.
67  
68 This is free software; you can redistribute it and/or modify it under
69 the same terms as the Perl 5 programming language system itself.
70  
71 =cut
« Patch.pm ↑ Summary Patch/Command/Which.pm »