Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
144 changes: 144 additions & 0 deletions CODE_COUNT_REPORT_20260116.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,144 @@
# ThemisDB Code Count Report
## Date: 16.01.2026 19:11:37

This report provides a thematic count of C++ code in ThemisDB.

## 1. Source Code by Theme (`./src`)

| Theme | Files | Lines |
|-------|-------|-------|
| [root] | 4 | 2,371 |
| acceleration | 16 | 5,566 |
| analytics | 6 | 5,212 |
| api | 3 | 1,408 |
| aql | 2 | 801 |
| auth | 2 | 722 |
| base | 1 | 419 |
| cache | 2 | 600 |
| cdc | 2 | 715 |
| content | 20 | 10,374 |
| exporters | 1 | 657 |
| geo | 3 | 252 |
| governance | 1 | 185 |
| gpu | 1 | 170 |
| importers | 1 | 414 |
| index | 15 | 14,513 |
| llm | 83 | 37,777 |
| metadata | 1 | 680 |
| network | 1 | 340 |
| observability | 1 | 295 |
| performance | 12 | 1,964 |
| plugins | 3 | 1,020 |
| query | 16 | 11,331 |
| replication | 1 | 748 |
| scheduler | 2 | 1,511 |
| search | 1 | 251 |
| security | 18 | 7,205 |
| server | 62 | 35,140 |
| sharding | 42 | 15,642 |
| storage | 13 | 5,899 |
| temporal | 1 | 234 |
| timeseries | 11 | 2,774 |
| transaction | 3 | 1,020 |
| updates | 4 | 1,539 |
| utils | 28 | 8,316 |
| voice | 2 | 738 |
| **TOTAL** | **385** | **178,803** |

## 2. Headers by Theme (`./include`)

| Theme | Files | Lines |
|-------|-------|-------|
| [root] | 1 | 262 |
| acceleration | 8 | 1,165 |
| analytics | 7 | 3,323 |
| api | 2 | 475 |
| aql | 2 | 332 |
| auth | 2 | 284 |
| cache | 7 | 380 |
| cdc | 2 | 372 |
| content | 20 | 3,301 |
| document | 2 | 306 |
| exporters | 2 | 287 |
| geo | 2 | 72 |
| governance | 1 | 74 |
| importers | 2 | 250 |
| index | 17 | 4,348 |
| llm | 110 | 22,448 |
| metadata | 1 | 233 |
| network | 1 | 279 |
| observability | 1 | 135 |
| performance | 19 | 2,995 |
| plugins | 5 | 1,763 |
| projects | 1 | 221 |
| query | 35 | 20,935 |
| replication | 2 | 891 |
| scheduler | 2 | 546 |
| search | 1 | 120 |
| security | 18 | 3,097 |
| server | 63 | 8,512 |
| sharding | 44 | 9,803 |
| storage | 11 | 2,399 |
| temporal | 1 | 124 |
| themis | 6 | 1,027 |
| timeseries | 10 | 1,324 |
| transaction | 3 | 510 |
| updates | 4 | 567 |
| utils | 31 | 3,515 |
| voice | 1 | 235 |
| **TOTAL** | **447** | **96,910** |

## 3. Themis-Specific Headers (`./include/themis`)

| Component | Files | Lines |
|-----------|-------|-------|
| [themis-root] | 3 | 378 |
| base | 2 | 427 |
| network | 1 | 222 |
| **TOTAL** | **6** | **1,027** |

## 4. Tools (`./tools`)

- **Files**: 12
- **Lines**: 864

## 5. Examples (`./examples`)

- **Files**: 20
- **Lines**: 4,566

## 6. Tests (`./tests`)

- **Files**: 353
- **Lines**: 106,016

## 7. Benchmarks (`./benchmarks`)

- **Files**: 86
- **Lines**: 28,477

## 8. Scripts (`./scripts`)

- **Files**: 0
- **Lines**: 0

## 9. Grand Total

| Category | Files | Lines |
|----------|-------|-------|
| Source (`./src`) | 385 | 178,803 |
| Headers (`./include`) | 447 | 96,910 |
| Tools | 12 | 864 |
| Examples | 20 | 4,566 |
| Tests | 353 | 106,016 |
| Benchmarks | 86 | 28,477 |
| Scripts | 0 | 0 |
| **GRAND TOTAL** | **1303** | **415,636** |

## 10. Statistics

- **Average lines per file**: 319.0
- **Themis-specific files in include**: 6 files, 1,027 lines

---
*Report generated automatically for issue #581*
Loading