Skip to content

[Complexity] RESP 2 parser - bytes

The RESP 2 parser _parseBytes has a cyclomatic complexity of 9:

  • Function parseBytes has a Cognitive Complexity of 9 (exceeds 6 allowed).

From: https://codeclimate.com/github/Mordil/RediStack/Sources/RediStack/RESP/RESPTranslator.swift/source#issue-d1c3e4c9a1d194c3559af9a4051b0390

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information