BBS:      TELESC.NET.BR
Assunto:  src/doors/clans-src/docs/functions.md testability.md
De:       Deuc¨
Data:     Thu, 12 Mar 2026 15:23:54 -0700
-----------------------------------------------------------
https://gitlab.synchro.net/main/sbbs/-/commit/a098176c0c79e92854180254
Added Files:
	src/doors/clans-src/docs/functions.md testability.md
Log Message:
Add exhaustive source code audit documentation: functions.md and testability.md

Comprehensive two-pass audit of all 61 src/*.c files:

Pass 1 (Direct Analysis): 32 batches analyzed ~481 functions
- Each function documented with prototype, description, and internal call list
- Direct I/O and global variable access flagged (7 properties tracked)
- Functions categorized by I/O profile for testability assessment

Pass 2 (Transitive Closure): Propagated flags through call graph
- Built 409-function call dependency graph from functions.md
- Computed transitive I/O/global flags through 5 iterations to convergence
- Each function now shows all I/O categories it touches (directly or indirectly)

Deliverables:
- docs/functions.md: 59 file sections, 400+ functions with call lists
- docs/testability.md: 481 functions with transitive I/O/global property matrix

Columns tracked: Disk Write, Disk Read, User Input, User Output, my_random,
Read Global, Write Global

Enables understanding of testability requirements and identifying pure functions,
high-I/O bottlenecks, and state management patterns across the codebase.

Co-Authored-By: Claude Haiku 4.5 
n
---
  mSynchronetn  hgVertrauen n hHome of Synchronet n gh[vert/cvs/bbs].synchro.net

-----------------------------------------------------------
[Voltar]