C 소스 인벤토리와 OCR 신뢰도 정리 #1

Open
forge-bot wants to merge 5 commits from forge/codex-bais-final4-20260713-195657-BAIS-SPRING-CTX-001-attempt-1-run-374d0c84ac09 into main
Showing only changes of commit 06e57581af - Show all commits

View file

@ -0,0 +1,68 @@
# C 파일 모듈 매핑
## 모듈 구조
```
┌──────────────────────────────────────────────────────────────┐
│ Application │
├──────────────────────────────────────────────────────────────┤
│ ┌─────────┐ ┌─────────┐ ┌─────────┐ ┌─────────┐ │
│ │ API │ │ DB │ │ Network │ │ Crypto │ │
│ │ Module │ │ Module │ │ Module │ │ Module │ │
│ └────┬────┘ └────┬────┘ └────┬────┘ └────┬────┘ │
│ │ │ │ │ │
│ └────────────┴────────────┴────────────┘ │
│ │ │
│ ┌─────┴─────┐ │
│ │ Utils │ │
│ │ Module │ │
│ └───────────┘ │
└──────────────────────────────────────────────────────────────┘
```
## 의존성 그래프
```
API ─────► DB
│ │
▼ ▼
Utils ◄──────┘
Network ────► Crypto
Utils
```
## 파일별 모듈归属
| 파일명 | 모듈 | 레이어 |
|--------|------|--------|
| api_handler.c | API | Application |
| api_parser.c | API | Application |
| api_validator.c | API | Application |
| api_router.c | API | Application |
| db_connector.c | DB | Data |
| db_query.c | DB | Data |
| db_migrator.c | DB | Data |
| net_server.c | Network | Infrastructure |
| net_client.c | Network | Infrastructure |
| net_protocol.c | Network | Infrastructure |
| net_buffer.c | Network | Infrastructure |
| crypto_hash.c | Crypto | Security |
| crypto_cipher.c | Crypto | Security |
| crypto_random.c | Crypto | Security |
| utils_logger.c | Utils | Common |
| utils_config.c | Utils | Common |
| utils_timer.c | Utils | Common |
| utils_string.c | Utils | Common |
## 전환 영향도 매트릭스
| 전환 대상 | 영향받는 모듈 | 영향도 |
|-----------|---------------|--------|
| API 모듈 전체 | DB, Utils | 높음 |
| DB 모듈 전체 | API | 중간 |
| Network 모듈 전체 | API, Crypto | 중간 |
| Crypto 모듈 전체 | Network | 높음 |
| Utils 모듈 전체 | 모든 모듈 | 매우 높음 |