← Back to issue list

storeapi: reduce the mccabe complexity

View original Github issue

Metadata

Project
snapcraft
Number
#323
Type
pull request
State
merged
Author
come-maiz
Labels
—
Created
Updated
Closed

Current evaluation

Merged #323 via 920c763f2 (implementation 60489a1a4), reducing storeapi McCabe complexity and closing Launchpad bug #1541011.

Resolution: closed resolved

Reason: PR #323 was merged into main by commit 920c763f2, landing 60489a1a4 to resolve the linked Launchpad bug #1541011.

Evaluated by: mr-cal-bot

No scores available.

Issue body

LP: #1541011

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Merged #323 via 920c763f2 (implementation 60489a1a4), reducing storeapi McCabe complexity and closing Launchpad bug #1541011.
stealth/space-bunny-alpha — closed resolved Merged #323 via 920c763f2, landing 60489a1a4 to reduce storeapi’s McCabe complexity and address Launchpad bug #1541011.
qwen/qwen3.6-35b-a3b — — Merged to reduce McCabe complexity in the storeapi module. The change modified three files, adding 89 and removing 78 lines. Approved by sergiusens, the author indicated subsequent work to replace static checks with flake8.
qwen3.6-35b-a3b-mtp-q6 — — Merged changes to reduce McCabe complexity in the storeapi module. Approved by a maintainer, the refactoring successfully lowers cyclomatic complexity without altering functionality.

Update history

No update history recorded yet.

Related work

  • Likely Fixed By: snapcraft (launchpad)#1541011 (confidence 100%)

    The linked Launchpad complexity bug was closed by the changes merged in canonical/snapcraft#323.

Related issues

Issue Project State Summary Similarity
#1541011 The project has gotten complex, again snapcraft (launchpad) closed Merged ubuntu-core/snapcraft#323 refactored storeapi and enforced the McCabe complexity threshold, resolving #1541011 via merge commit 920c763f2.
71%