JetBrains / renderdoc
Source Code Overview

Analysis scope, overview of main, test, generated, deployment, build, and other code.

Source Code Analysis Scope
Files includes and excluded from analyses
pri
i
txt
ui
vcxproj
filters
frag
hlsl
mo
in
po
vert
props
inl
geom
patch
natvis
mk
clang-format
wxs
csproj
gitattributes
x
properties
wxl
pro
desktop
Overview of Analyzed Files
Basic stats on analyzed files
Intro
For analysis purposes we separate files in scope into several categories: main, test, generated, deployment and build, and other.

  • The main category contains all manually created source code files that are being used in the production.
  • Files in the main category are used as input for other analyses: logical decomposition, concerns, duplication, file size, unit size, and conditional complexity.
  • Test source code files are used only for testing of the product. These files are normally not deployed to production.
  • Build and deployment source code files are used to configure or support build and deployment process.
  • Generated source code files are automatically generated files that have not been manually changed after generation.
  • While a source code folder may contain a number of files, we are primarily interested in the source code files that are being written and maintained by developers.
  • Files containing binaries, documentation, or third-party libraries, for instance, are excluded from analysis. The exception are third-party libraries that have been changed by developers.

main651594 LOC (82%) 1,106 files
test24275 LOC (3%) 211 files
generated0 LOC (0%) 0 files
build and deployment1331 LOC (<1%) 26 files
other114924 LOC (14%) 365 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
ui
vcxproj
filters
inl
hlsl
i
wxs
frag
pro
natvis
vert
geom
props
wxl
desktop
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 1106 files match defined criteria (651,594 LOC, 100.0% vs. main code):
    • 470 *.cpp files (415,291 LOC)
    • 443 *.h files (172,649 LOC)
    • 42 *.ui files (33,481 LOC)
    • 21 *.vcxproj files (6,360 LOC)
    • 20 *.filters files (5,627 LOC)
    • 3 *.inl files (4,264 LOC)
    • 18 *.mm files (3,912 LOC)
    • 14 *.hlsl files (2,746 LOC)
    • 5 *.py files (1,523 LOC)
    • 6 *.i files (1,384 LOC)
    • 2 *.wxs files (729 LOC)
    • 17 *.frag files (709 LOC)
    • 5 *.kt files (582 LOC)
    • 11 *.hpp files (445 LOC)
    • 1 *.pro files (373 LOC)
    • 2 *.natvis files (363 LOC)
    • 5 *.vert files (343 LOC)
    • 3 *.kts files (336 LOC)
    • 3 *.xml files (145 LOC)
    • 2 *.geom files (109 LOC)
    • 4 *.props files (74 LOC)
    • 2 *.cs files (46 LOC)
    • 1 *.java files (44 LOC)
    • 1 *.wxl files (36 LOC)
    • 1 *.desktop files (13 LOC)
    • 3 *.cmake files (8 LOC)
    • 1 *.toml files (2 LOC)
  • " *.cpp" is biggest, containing 63.73% of LOC.
  • " *.toml" is smallest, containing 0% of LOC.


*.cpp415291 LOC (63%) 470 files
*.h172649 LOC (26%) 443 files
*.ui33481 LOC (5%) 42 files
*.vcxproj6360 LOC (<1%) 21 files
*.filters5627 LOC (<1%) 20 files
*.inl4264 LOC (<1%) 3 files
*.mm3912 LOC (<1%) 18 files
*.hlsl2746 LOC (<1%) 14 files
*.py1523 LOC (<1%) 5 files
*.i1384 LOC (<1%) 6 files
*.wxs729 LOC (<1%) 2 files
*.frag709 LOC (<1%) 17 files
*.kt582 LOC (<1%) 5 files
*.hpp445 LOC (<1%) 11 files
*.pro373 LOC (<1%) 1 file
*.natvis363 LOC (<1%) 2 files
*.vert343 LOC (<1%) 5 files
*.kts336 LOC (<1%) 3 files
*.xml145 LOC (<1%) 3 files
*.geom109 LOC (<1%) 2 files
*.props74 LOC (<1%) 4 files
*.cs46 LOC (<1%) 2 files
*.java44 LOC (<1%) 1 file
*.wxl36 LOC (<1%) 1 file
*.desktop13 LOC (<1%) 1 file
*.cmake8 LOC (<1%) 3 files
*.toml2 LOC (<1%) 1 file
Test Code
Used only for testing of the product. Normally not deployed in a production environment.
csproj
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*_tests[.].*".
    • files with paths like ".*/[Tt]est/.*".
    • files with paths like ".*[.][Tt]ests/.*".
    • files with paths like ".*[.][Tt]ests[.].*".
    • files with paths like ".*/[Tt]ests/.*".
    • files with paths like ".*/test_.*".
    • files with paths like ".*_test[.].*".
  • 211 files match defined criteria (24,275 LOC, 3.7% vs. main code):
    • 183 *.py files (15,262 LOC)
    • 16 *.cpp files (6,403 LOC)
    • 4 *.kt files (2,143 LOC)
    • 1 *.js files (246 LOC)
    • 1 *.css files (93 LOC)
    • 3 *.h files (90 LOC)
    • 1 *.csproj files (20 LOC)
    • 2 *.cs files (18 LOC)
  • " *.py" is biggest, containing 62.87% of LOC.
  • " *.cs" is smallest, containing 0.07% of LOC.


*.py15262 LOC (62%) 183 files
*.cpp6403 LOC (26%) 16 files
*.kt2143 LOC (8%) 4 files
*.js246 LOC (1%) 1 file
*.css93 LOC (<1%) 1 file
*.h90 LOC (<1%) 3 files
*.csproj20 LOC (<1%) 1 file
*.cs18 LOC (<1%) 2 files
Build and Deployment Code
Source code used to configure or support build and deployment process.
csproj
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]sh".
    • files with paths like ".*[.]mk".
    • files with paths like ".*[.]bat".
    • files with paths like ".*/AndroidManifest[.]xml".
    • files with paths like ".*[.]csproj".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/[.]gitattributes".
  • 26 files match defined criteria (1,331 LOC, 0.2% vs. main code):
    • 23 *.sh files (1,172 LOC)
    • 1 *.bat files (122 LOC)
    • 1 *.csproj files (24 LOC)
    • 1 *.xml files (13 LOC)
  • " *.sh" is biggest, containing 88.05% of LOC.
  • " *.xml" is smallest, containing 0.98% of LOC.


*.sh1172 LOC (88%) 23 files
*.bat122 LOC (9%) 1 file
*.csproj24 LOC (1%) 1 file
*.xml13 LOC (<1%) 1 file
Other Code
txt
filters
vcxproj
patch
properties
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*/LICENSE[.][a-z0-9]+".
    • files with paths like ".*[.]txt".
    • files with paths like ".*[.]json".
    • files with paths like ".*/vendor/.*".
    • files with paths like ".*[.](rst|rest|resttxt|rsttxt)".
    • files with paths like ".*[.]svg".
    • files with paths like ".*[.]properties".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]po".
    • files with paths like ".*/[Ee]xamples/.*".
    • files with paths like ".*[.]patch".
    • files with paths like ".*/[Dd]emos?/.*".
  • 365 files match defined criteria (114,924 LOC, 17.6% vs. main code):
    • 226 *.cpp files (56,466 LOC)
    • 65 *.h files (50,726 LOC)
    • 35 *.txt files (4,128 LOC)
    • 3 *.json files (1,403 LOC)
    • 1 *.filters files (965 LOC)
    • 22 *.md files (643 LOC)
    • 1 *.vcxproj files (520 LOC)
    • 1 *.java files (17 LOC)
    • 6 *.svg files (16 LOC)
    • 1 *.xml files (15 LOC)
    • 1 *.patch files (12 LOC)
    • 1 *.sh files (6 LOC)
    • 1 *.properties files (4 LOC)
    • 1 *.mm files (3 LOC)
  • " *.cpp" is biggest, containing 49.13% of LOC.
  • " *.mm" is smallest, containing 0% of LOC.


*.cpp56466 LOC (49%) 226 files
*.h50726 LOC (44%) 65 files
*.txt4128 LOC (3%) 35 files
*.json1403 LOC (1%) 3 files
*.filters965 LOC (<1%) 1 file
*.md643 LOC (<1%) 22 files
*.vcxproj520 LOC (<1%) 1 file
*.java17 LOC (<1%) 1 file
*.svg16 LOC (<1%) 6 files
*.xml15 LOC (<1%) 1 file
*.patch12 LOC (<1%) 1 file
*.sh6 LOC (<1%) 1 file
*.properties4 LOC (<1%) 1 file
*.mm3 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2026-01-18 17:33