News for hackers. Stuff that matters.
Re:Measuring Software Complexity: What Metrics to Use? by bradgessler on Sunday November 28, 2021 @02:18PM (#29371931)
I’ve found most CI checks like this are a crock. Forgot empty parentheses for that function definition with an arity of 0? Bzzzzzzzt! Sorry! Build failed.

It’s just foolish.

The only reason a CI should ever fail is if it catches a defect from making it into production.

Re:Measuring Software Complexity: What Metrics to Use? by preseinger on Sunday November 28, 2021 @05:26PM (#29373739)
> The only reason a CI should ever fail is if it catches a defect from making it into production.

Mechanical checks for things like formatting rules, linting errors, and reasonable tools to verify code complexity, as long as they don't produce false positives, are all important to run as part of CI.