blib/lib/Dist/Zilla/Plugin/EnsureNotStale.pm

filter: Statementstmt 100% 37 / 37 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 11 / 11 Podpod n/a totaltotal 100% 48 / 48 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« blib/lib/Dist/Zilla/Plugin/PromptIfStale.pm ↑ Summary
1 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
2 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 package Dist::Zilla::Plugin::EnsureNotStale;
4 # vim: set ts=8 sts=2 sw=2 tw=115 et :
5 # ABSTRACT: Abort at build/release time if modules are out of date
6  
7 1 our $VERSION = '0.060';
8  
9 1 ▶use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
10 1 extends 'Dist::Zilla::Plugin::PromptIfStale';
11  
12 1 ▶use strictures 2;
Subroutine BEGIN: called CC=1 SCAR=0.0
13 1 ▶use stable 0.031 'postderef';
Subroutine BEGIN: called CC=1 SCAR=0.0
14 1 ▶use experimental 'signatures';
Subroutine BEGIN: called CC=1 SCAR=0.0
15 1 ▶use if "$]" >= 5.022, experimental => 're_strict';
Subroutine BEGIN: called CC=1 SCAR=0.0
16 1 ▶no if "$]" >= 5.031009, feature => 'indirect';
Subroutine BEGIN: called CC=1 SCAR=0.0
17 1 ▶no if "$]" >= 5.033001, feature => 'multidimensional';
Subroutine BEGIN: called CC=1 SCAR=0.0
18 1 ▶no if "$]" >= 5.033006, feature => 'bareword_filehandles';
Subroutine BEGIN: called CC=1 SCAR=0.0
19 1 ▶use namespace::autoclean;
Subroutine BEGIN: called CC=1 SCAR=0.0
20  
21 1 has '+fatal' => (
22 init_arg => undef, # cannot be passed in as a config value
23 default => 1,
24 );
25  
26 1 __PACKAGE__->meta->make_immutable;
27  
28 __END__
« blib/lib/Dist/Zilla/Plugin/PromptIfStale.pm ↑ Summary