Skip to content

Adding ABC printer script

What does this MR do and why?

This adds a helper script to the scripts directory that allows a developer to run an ABCSize calculation on a specific ruby file.

(Originally provided by @splattael in slack)

Screenshots or screen recordings

How to set up and validate locally

  1. run scripts/ruby-metrics-abc.rb <file> where <file> is a ruby file

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Peter Leitzen

Merge request reports