Metrics

Complexity Report

Issues

Total: 33

complexity: 2

TooManyFunctions: 2 Too many functions inside a/an file/class/object/interface always indicate a violation of the single responsibility principle. Maybe the file/class/object/interface wants to manage too many things at once. Extract functionality which clearly belongs together. Documentation

style: 31

MagicNumber: 12 Report magic numbers. Magic number is a numeric literal that is not defined as a constant and hence it's unclear what the purpose of this number is. It's better to declare such numbers as constants and give them a proper name. By default, -1, 0, 1, and 2 are not considered to be magic numbers. Documentation
MaxLineLength: 13 Line detected, which is longer than the defined maximum line length in the code style. Documentation
NewLineAtEndOfFile: 2 Checks whether files end with a line separator. Documentation
ReturnCount: 3 Restrict the number of return statements in methods. Documentation
SafeCast: 1 Prefer to use a safe cast instead of if-else-null. Documentation
generated with detekt version 2.0.0-alpha.5 on 2026-08-01 18:14:02 UTC.