I'm using scrutinizer-ci for an open source project, and many of my files get an F simply because they are "too complex" or "too long". For example in this file, all my functions have C+ but the overall file score is F coz its "too complex". I mean this function looks relatively well written, but its F coz its too long. Is there a way to work around or disable this "feature"?
Yes I read all the docs, Yes I googled, Yes I looked all over on their website and FOSS issues but there is nothing mentioned about disabling the complexity check, or making it more permissive.
The only workarounds (which are bad):
- You can disable scrutinizer-ci from parsing certain files. How does that help?
- You can disable the whole scrutinizer from certain commits. Again, pointless.