Module/Install/Debian/Perl.pm

filter: Statementstmt 82.3% 14 / 17 Branchbran 0.0% 0 / 2 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 83.3% 5 / 6 Podpod 0.0% 0 / 1 totaltotal 73.0% 19 / 26 CC 2 SCAR 8.9
CC
2
Cov
74%
debian
6.0
BEGIN
1.0
BEGIN
1.0
CRAP 2.4
↑ Summary Debian/Perl.pm »
1 ##
2 # name: Module::Install::Debian::Perl
3 # abstract: Module::Install Support for Debian::Perl
4 # author: Ingy döt Net
5 # license: perl
6 # copyright: 2011
7 # see:
8 # - Debian::Perl
9 # - Module::Install
10  
11 package Module::Install::Debian::Perl;
12 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
13  
14 # use base 'Module::Install::Base';
15 1 ▶use Module::Install::Base; use vars '@ISA'; BEGIN { @ISA = 'Module::Install::Base' }
Subroutine BEGIN: called CC=1 SCAR=0.0
Subroutine BEGIN: called CC=1 SCAR=0.0
Subroutine BEGIN: called CC=1 SCAR=0.0
16  
17 1 ▶use constant AUTHOR => 1;
Subroutine BEGIN: called CC=1 SCAR=0.0
18  
19 0 ▶sub debian {
Subroutine debian: not called CC=2 SCAR=17.9
Pod undocumented
20 0 my ($self) = @_;
21 0 ▶ return unless $self->is_admin;
Branch: 1 branch
BranchTrueFalseTotal
unless $self->is_admin 0 0 0
22 0 $self->postamble(<<'...');
23 debian::
24 $(PERL) -Ilib -MDebian::Perl -e "Debian::Perl::make_debian"
25  
26 release::
27 $(PERL) -Ilib -MDebian::Perl -e "Debian::Perl::make_release"
28 ...
29 }
30  
31 1 1;
32  
33 =head1 SYNOPSIS
34  
35 In your Makefile.PL;
36  
37 use inc::Module::Install;
38 ...
39 debian;
40 ...
41  
42 From the command line:
43  
44 > perl Makefile.PL
45 > make debian
46 > make release
↑ Summary Debian/Perl.pm »