Minilla/Changes.pm

filter: Statementstmt 100% 12 / 12 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 4 / 4 Podpod 0.0% 0 / 1 totaltotal 94.1% 16 / 17 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Minilla/Profile/ModuleBuildTiny.pm ↑ Summary Minilla/Profile/Default.pm »
1 package Minilla::Changes;
2 4 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 4 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 4 ▶use utf8;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 13 ▶sub is_prepared {
Subroutine is_prepared: called CC=1 SCAR=0.0
Pod undocumented
7 13 my ($content, $version) = @_;
8  
9 13 return $content =~
10 /^\{\{\$NEXT\}\}\h*\R(?:\h*\R)*\Q$version\E(?=\h|\R|\z)/m;
11 }
12  
13 4 1;
« Minilla/Profile/ModuleBuildTiny.pm ↑ Summary Minilla/Profile/Default.pm »