blib/lib/Dist/Zilla/Plugin/Test/Fixme.pm

filter: Statementstmt 100% 26 / 26 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 6 / 6 Podpod 0.0% 0 / 1 totaltotal 96.9% 32 / 33 CC 2 SCAR 2.5
CC
2
Cov
100%
gather_files
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.3
↑ Summary
1 2 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
2 2 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
3  
4 package Dist::Zilla::Plugin::Test::Fixme;
5 {
6 2 $Dist::Zilla::Plugin::Test::Fixme::VERSION = '1.123160';
7 }
8  
9 # ABSTRACT: Check code for FIXMEs.
10 2 ▶use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
11 2 ▶use Data::Section -setup;
Subroutine BEGIN: called CC=1 SCAR=0.0
12 2 with 'Dist::Zilla::Role::FileGatherer', 'Dist::Zilla::Role::TextTemplate';
13  
14 1 ▶sub gather_files {
Subroutine gather_files: called CC=2 SCAR=6.9
Pod undocumented
15 1 my ( $self, ) = @_;
16  
17 1 require Dist::Zilla::File::InMemory;
18  
19 1 for my $filename (qw( xt/release/fixme.t )) {
20 my $content = $self->fill_in_string(
21 1 ${ $self->section_data($filename) },
22 { skiptests => '' },
23 );
24 1 $self->add_file(
25 Dist::Zilla::File::InMemory->new(
26 {
27 'name' => $filename,
28 'content' => $content,
29 }
30 ),
31 );
32 }
33 }
34  
35 2 __PACKAGE__->meta->make_immutable;
36 2 ▶no Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
37 2 1;
38  
39  
40  
41  
42 =pod
43  
44 =head1 NAME
45  
46 Dist::Zilla::Plugin::Test::Fixme - Check code for FIXMEs.
47  
48 =head1 VERSION
49  
50 version 1.123160
51  
52 =for test_synopsis 1;
53 __END__
↑ Summary