mbk/Module/Build/Kwalitee.pm

filter: Statementstmt 62.5% 10 / 16 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 60.0% 3 / 5 Podpod 0.0% 0 / 2 totaltotal 56.5% 13 / 23 CC 1 SCAR 3.4
CC
1
Cov
62%
build_requires
2.0
recommends
2.0
BEGIN
1.0
CRAP 1.4
« blib/lib/Test/Image/Plugin/TestingImage.pm ↑ Summary blib/lib/Test/Image/Plugin/Imlib2.pm »
1 # This is not really Module::Build::Kwalitee; it is just a stub
2 # shipped with distributions using Moudle::Build::Kwalitee to
3 # provide boilerplate tests. This stub is here to get around the
4 # bootstrapping problem associated with subclassing
5 # Module::Build. It simply adds the dependencies for
6 # Module::Build::Kwalitee's tests.
7  
8 package # Hide from CPAN
9 Module::Build::Kwalitee;
10  
11 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
12 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
13  
14 1 ▶use base 'Module::Build';
Subroutine BEGIN: called CC=1 SCAR=0.0
15  
16 # add extra build requirements
17 0 ▶sub build_requires {
Subroutine build_requires: not called CC=1 SCAR=6.9
Pod undocumented
18 0 my $self = shift;
19 return {
20 0 %{ $self->SUPER::build_requires },
21 'File::Find::Rule' => 0,
22 'Test::More' => 0,
23 };
24 }
25  
26 # add extra recommends
27 0 ▶sub recommends {
Subroutine recommends: not called CC=1 SCAR=6.9
Pod undocumented
28 0 my $self = shift;
29 return {
30 0 %{ $self->SUPER::recommends },
31 'Test::Pod' => 0,
32 'Pod::Coverage::CountParents' => 0,
33 'IPC::Open3' => 0,
34 };
35 }
36  
37 1 1;
« blib/lib/Test/Image/Plugin/TestingImage.pm ↑ Summary blib/lib/Test/Image/Plugin/Imlib2.pm »