Software-Improvement-Group / sigridci

Sigrid CI: Measure and improve your code, continuously
https://docs.sigrid-says.com
38 stars 38 forks source link

Document best practices on component architecture. #511

Closed dennis-sig closed 3 weeks ago

github-actions[bot] commented 3 weeks ago

Sigrid maintainability feedback

✅ You wrote maintainable code and achieved your Sigrid objective of 3.0 stars

Sigrid compared your code against the baseline of 2024-10-17.

👍 What went well?

You fixed or improved 0 refactoring candidates.

👎 What could be better?

Unfortunately, 3 refactoring candidates were introduced or got worse.

Risk System property Location
🟡 Unit Size
(Introduced)
src/azure_pull_request_report.py
AzurePullRequestReport.generate(analysisId,feedback,options)
🟡 Unit Interfacing
(Introduced)
src/azure_pull_request_report.py
AzurePullRequestReport.callAzure(method,body,threadId)
🟡 Unit Interfacing
(Worsened)
src/azure_pull_request_report.py
AzurePullRequestReport.generate(analysisId,feedback,options)

📚 Remaining technical debt

0 refactoring candidates didn't get better or worse, but are still present in the code you touched.

Sigrid ratings

System property System on 2024-10-17 Before changes New/changed code
Volume 5.5 N/A N/A
Duplication 5.5 5.5 5.5
Unit Size 4.3 5.5 4.3
Unit Complexity 3.8 5.5 5.5
Unit Interfacing 2.1 1.5 1.3
Module Coupling 3.1 N/A N/A
Component Independence N/A N/A N/A
Component Entanglement N/A N/A N/A
Maintainability 4.0 5.0 4.6

View this system in Sigrid


Did you find this feedback helpful?

We would like to know your thoughts to make Sigrid better. Your username will remain confidential throughout the process.