Patch/Command/FormatPatch.pm

filter: Statementstmt 95.2% 20 / 21 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 83.3% 5 / 6 Podpod 0.0% 0 / 1 totaltotal 89.2% 25 / 28 CC 1 SCAR 1.5
CC
1
Cov
95%
run
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.2
« Patch/Command/SendEmail.pm ↑ Summary
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.4';
5 1 ▶use 5.20.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  
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 use experimental qw/
17 signatures
18 postderef
19 1 ▶/;
Subroutine BEGIN: called CC=1 SCAR=0.0
20  
21  
22 0 ▶sub run ($self) { $self->format_patch }
Subroutine run: not called CC=1 SCAR=6.9
Pod undocumented
23  
24 1 __PACKAGE__->meta->make_immutable;
25  
26 1 1;
27  
28 __END__
29  
30 =pod
31  
32 =encoding UTF-8
33  
34 =head1 NAME
35  
36 Git::CPAN::Patch::Command::FormatPatch - Format patches using C<cpan/master> as the origin reference
37  
38 =head1 VERSION
39  
40 version 2.3.4
41  
42 =head1 SYNOPSIS
43  
44 % git-cpan format-patch
45  
46 =head1 DESCRIPTION
47  
48 This is just like running C<git format-patch cpan/master>.
49  
50 =head1 AUTHORS
51  
52 Yuval Kogman C<< <nothingmuch@woobling.org> >>
53  
54 Yanick Champoux C<< <yanick@cpan.org> >>
55  
56 =head1 SEE ALSO
57  
58 L<Git::CPAN::Patch>
59  
60 L<git-format-patch>
61  
62 =head1 AUTHOR
63  
64 Yanick Champoux <yanick@cpan.org>
65  
66 =head1 COPYRIGHT AND LICENSE
67  
68 This software is copyright (c) 2018, 2017, 2016, 2015, 2014, 2013, 2012, 2011, 2010, 2009 by Yanick Champoux.
69  
70 This is free software; you can redistribute it and/or modify it under
71 the same terms as the Perl 5 programming language system itself.
72  
73 =cut
« Patch/Command/SendEmail.pm ↑ Summary