Mathieu Lirzin created OFBIZ-11251:
--------------------------------------
Summary: Use ‘checkstyle’ linting tool
Key: OFBIZ-11251
URL:
https://issues.apache.org/jira/browse/OFBIZ-11251 Project: OFBiz
Issue Type: Improvement
Components: framework
Affects Versions: Trunk
Reporter: Mathieu Lirzin
Fix For: Upcoming Branch
Linting [1] is a software engineering practice which make the code
more readable and maintainable by improving its consistency and
avoiding potential programming mistakes.
Gradle provides a core plugin for the ‘checkstyle’ tool [2][3] which
provides such facility. The lint actions are triggered when running
‘gradle check’.
There are a lot reported errors that will need to be fixed
incrementally in the future. We ensure that new errors will not be
introduced by defining a global threshold of 41546 “allowed” errors
corresponding to the sum of errors currently found in the framework
and in the official plugins.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)