코드 품질 관리 및 자동화 (Code Quality Management and Automation)
10_Wiki/Topics
verified
self
Code Quality Management
Code Quality Automation
CI Quality Gates
none
A
0.9
applied
code-quality
automation
ci-cd
devops
sast
2026-05-10
pending
language
framework
typescript
github-actions
코드 품질 관리 및 자동화 (Code Quality Management and Automation)
매 한 줄
"매 quality 의 의 의 의 manual review 의 의 의 X, 매 pipeline 의 의 의 의 의 enforce". 매 lint / format / type / test / coverage / security / performance 의 의 의 의 한 의 의 의 PR pipeline 의 의 의 의 의 의 quality gate. 매 2026 — 매 SonarQube + Semgrep + Claude review 의 의 의 의 standard.
매 핵심
매 Quality dimensions (ISO 25010)
Functional suitability — 매 correctness, 매 completeness.
Reliability — 매 fault tolerance, 매 availability.
Performance — 매 response time, 매 throughput.
Usability — 매 UX, 매 accessibility.
Security — 매 confidentiality, 매 integrity.
Maintainability — 매 modularity, 매 testability.
Portability — 매 adaptability, 매 installability.
매 Automation pyramid
Pre-commit — 매 fast (sec) — format, lint, secret scan.
PR — 매 medium (min) — type, unit test, SAST, LLM review.
Main / nightly — 매 slow (hour) — integration, E2E, perf, DAST.
Production — 매 continuous — RUM, error tracking, drift.
매 Key metrics
Cyclomatic complexity — 매 path count.
Cognitive complexity (SonarSource) — 매 readability.
Test coverage — 매 line / branch / mutation.
Tech debt ratio — 매 SQALE method.
Code smells — 매 ESLint, SonarQube rule.
Duplicated lines — 매 PMD CPD.
매 2026 standard stack
Format: Prettier, Biome, Black, Ruff format, gofmt.
# sonar-project.propertiessonar.projectKey=myorg_myreposonar.organization=myorgsonar.sources=srcsonar.tests=testssonar.javascript.lcov.reportPaths=coverage/lcov.infosonar.qualitygate.wait=true# 매 PR 의 의 의 의 의 fail 의 의 의 의:# - new code coverage < 80%# - new bugs > 0# - new vulnerabilities > 0# - new code smells > 5
언제: 매 quality gate 의 의 의 의 design, 매 metric threshold 의 의 의 의 의 calibrate, 매 flaky test 의 의 의 의 의 root-cause.
언제 X: 매 fundamental architectural quality — 매 structural review 의 의 의 의 human + design doc 의 의 필요.
❌ 안티패턴
Coverage worship: 매 100% coverage 의 의 의 의 의 의 quality 의 의 의 의 X.
Quality theater: 매 lint 의 의 의 의 의 통과 의 의 의 의, 매 hidden disable 의 의 의 의 thousands.
Bypass habitually: 매 --no-verify 의 의 의 의 의 routine.
Metric manipulation: 매 cyclomatic 의 의 의 의 의 의 의 의 game (extract method 의 의 의 의 thoughtless).
Slow gate: 매 PR pipeline 의 의 의 의 30min — 매 dev 의 의 의 의 disengage.