Project

General

Profile

Actions

action #7178

closed

use perlcritic to improve code quality

Added by froh over 9 years ago. Updated over 8 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Feature requests
Target version:
-
Start date:
2015-04-08
Due date:
% Done:

0%

Estimated time:
4.00 h

Description

our code is quite approachable by a gentle perlcritic (perlcritic --gentle .):

we mostly overuse Subroutine prototypes (which are only meant to define new syntax and domain specific languages) and we only have a handful of simple to fix warnings beyond that.

a slightly stricter rub (perlcritic --stern .) gives a number of additional reasonable pointers how to improve the code, that would then take a tad longer, though

anything stricter than --stern merits an own configuration file, not all of them are reasonable for us.

I also propose to add perlcritic checks and perltidy checks to make check, as a sanity check before check-in.

Actions

Also available in: Atom PDF