Minilla/Release/CheckUntrackedFiles.pm

filter: Statementstmt 76.4% 13 / 17 Branchbran 0.0% 0 / 2 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 80.0% 4 / 5 Podpod 0.0% 0 / 1 totaltotal 68.0% 17 / 25 CC 2 SCAR 9.8
CC
2
Cov
68%
run
6.0
BEGIN
1.0
BEGIN
1.0
CRAP 2.7
« Minilla/Release/CheckOrigin.pm ↑ Summary Minilla/Release/RegenerateFiles.pm »
1 package Minilla::Release::CheckUntrackedFiles;
2 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 1 ▶use utf8;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 1 ▶use Minilla::Logger;
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 0 ▶sub run {
Subroutine run: not called CC=2 SCAR=17.9
Pod undocumented
9 0 my ($self, $project, $opts) = @_;
10  
11 0 ▶ if ( my $unk = `git ls-files -z --others --exclude-standard` ) {
Branch: 1 branch
BranchTrueFalseTotal
if (my $unk = `git ls-files -z --others --exclude-standard`) 0 0 0
12 0 $unk =~ s/\0/\n/g;
13 0 errorf("Unknown local files:\n$unk\n\nUpdate .gitignore, or git add them\n");
14 }
15 }
16  
17 1 1;
18  
« Minilla/Release/CheckOrigin.pm ↑ Summary Minilla/Release/RegenerateFiles.pm »