# Quality report — 2026-08-30T16:41:01Z - **Gate**: ❌ **FAIL** - **Commit**: `a0b64c0` on `main` - **qlty**: qlty 0.639.0 linux-arm64 (d9801f1 2026-07-23) - **Run**: #1 (first recorded run) ## Gate violations - code smells: 12 (max 0) ## Lint issues (`qlty check`) _none_ ### Top rules _none_ ### Most affected files _none_ ## Code smells (`qlty smells`) Total: **12** (vs previous: —) | smell | file | line | detail | |---|---|---|---| | qlty:return-statements | internal/lsp/conn.go | 198 | Function with many returns (count = 6): Call | | qlty:return-statements | internal/lsp/framing.go | 62 | Function with many returns (count = 6): readContentLength | | qlty:file-complexity | internal/app/actions.go | 1 | High total complexity (count = 74) | | qlty:boolean-logic | internal/editor/view.go | 407 | Complex binary expression | | qlty:boolean-logic | internal/editor/view.go | 407 | Complex binary expression | | qlty:return-statements | internal/editor/events.go | 43 | Function with many returns (count = 9): movementFor | | qlty:return-statements | internal/editor/events.go | 110 | Function with many returns (count = 7): handleEditing | | qlty:return-statements | internal/syntax/scan.go | 73 | Function with many returns (count = 9): classOf | | qlty:return-statements | internal/syntax/scan.go | 97 | Function with many returns (count = 6): identifierClass | | qlty:return-statements | internal/ui/dialog.go | 158 | Function with many returns (count = 7): HandleKey | | qlty:function-parameters | kits/dev-toolkit/files/home/.claude/skills/quality/scripts/quality_report.py | 365 | Function with many parameters (count = 7): build_report | | qlty:file-complexity | kits/dev-toolkit/files/home/.claude/skills/quality/scripts/quality_report.py | 1 | High total complexity (count = 73) | ## Metrics (`qlty metrics`) | metric | total | vs previous | |---|---|---| | funcs | 616 | — | | classes | 74 | — | | fields | 227 | — | | cyclo | 1958 | — | | complex | 878 | — | | lcom | 0 | — | | lines | 8779 | — | | loc | 6026 | — | ### Most complex files | file | complex | cyclo | loc | |---|---|---|---| | internal/app/actions.go | 74 | 121 | 393 | | kits/dev-toolkit/files/home/.claude/skills/quality/scripts/quality_report.py | 73 | 83 | 362 | | internal/ui/menu.go | 46 | 102 | 255 | | internal/editor/view.go | 45 | 122 | 316 | | internal/theme/load.go | 45 | 74 | 220 | | internal/lsp/conn.go | 39 | 58 | 235 | | internal/ui/dialog.go | 35 | 62 | 151 | | internal/app/app.go | 32 | 88 | 267 | | internal/app/completion.go | 30 | 74 | 186 | | internal/lsp/client.go | 30 | 61 | 260 | | internal/ui/controls.go | 30 | 69 | 216 | | internal/ui/window.go | 24 | 75 | 171 | | internal/ui/desktop.go | 23 | 60 | 130 | | internal/app/dialogs.go | 22 | 80 | 247 | | internal/buffer/cursor.go | 21 | 54 | 108 | ## Trend | run | timestamp | error | warning | smells | complex | gate | |---|---|---|---|---|---|---| | 1 | 2026-08-30T16:41:01Z | 0 | 0 | 12 | 878 | FAIL |