Metrics

Complexity Report

Findings

Total: 26

complexity: 1

TooManyFunctions: 1 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

exceptions: 5

SwallowedException: 2 The caught exception is swallowed. The original exception could be lost. Documentation
TooGenericExceptionCaught: 3 The caught exception is too generic. Prefer catching specific exceptions to the case that is currently handled. Documentation

naming: 18

MatchingDeclarationName: 1 If a source file contains only a single non-private top-level class or object, the file name should reflect the case-sensitive name plus the .kt extension. Documentation
PackageNaming: 17 Package names should match the naming convention set in the configuration. Documentation

performance: 2

SpreadOperator: 2 In most cases using a spread operator causes a full copy of the array to be created before calling a method. This may result in a performance penalty. Documentation
generated with detekt version 1.22.0 on 2023-03-05 09:40:23 UTC.