JetBrains / clazy
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
txt
clang-format
pod
desktop
in
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.

main19781 LOC (62%) 264 files
test7319 LOC (23%) 188 files
generated218 LOC (<1%) 2 files
build and deployment26 LOC (<1%) 5 files
other4327 LOC (13%) 121 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
desktop
in
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 264 files match defined criteria (19,781 LOC, 100.0% vs. main code):
    • 122 *.cpp files (14,227 LOC)
    • 130 *.h files (4,238 LOC)
    • 5 *.cmake files (570 LOC)
    • 4 *.py files (558 LOC)
    • 1 *.xml files (136 LOC)
    • 1 *.desktop files (44 LOC)
    • 1 *.in files (8 LOC)
  • " *.cpp" is biggest, containing 71.92% of LOC.
  • " *.in" is smallest, containing 0.04% of LOC.


*.cpp14227 LOC (71%) 122 files
*.h4238 LOC (21%) 130 files
*.cmake570 LOC (2%) 5 files
*.py558 LOC (2%) 4 files
*.xml136 LOC (<1%) 1 file
*.desktop44 LOC (<1%) 1 file
*.in8 LOC (<1%) 1 file
Test Code
Used only for testing of the product. Normally not deployed in a production environment.
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/[Tt]ests/.*".
    • files with paths like ".*/test_.*".
    • files with paths like ".*_tests[.].*".
    • files with paths like ".*_test[.].*".
  • 188 files match defined criteria (7,319 LOC, 37.0% vs. main code):
    • 175 *.cpp files (6,289 LOC)
    • 2 *.py files (811 LOC)
    • 8 *.h files (138 LOC)
    • 2 *.sh files (73 LOC)
    • 1 *.hh files (8 LOC)
  • " *.cpp" is biggest, containing 85.93% of LOC.
  • " *.hh" is smallest, containing 0.11% of LOC.


*.cpp6289 LOC (85%) 175 files
*.py811 LOC (11%) 2 files
*.h138 LOC (1%) 8 files
*.sh73 LOC (<1%) 2 files
*.hh8 LOC (<1%) 1 file
Generated Code
Automatically generated files, not manually changed after generation.
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]generated[.][a-zA-Z]+".
  • 2 files match defined criteria (218 LOC, 1.1% vs. main code). All matches are in *.cmake files.


*.cmake218 LOC (100%) 2 files
Build and Deployment Code
Source code used to configure or support build and deployment process.
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]sh".
    • files with paths like ".*[.]bat".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
  • 5 files match defined criteria (26 LOC, 0.1% vs. main code):
    • 1 *.sh files (18 LOC)
    • 4 *.bat files (8 LOC)
  • " *.sh" is biggest, containing 69.23% of LOC.
  • " *.bat" is smallest, containing 30.77% of LOC.


*.sh18 LOC (69%) 1 file
*.bat8 LOC (30%) 4 files
Other Code
txt
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 ".*[.]txt".
    • files with paths like ".*[.]json".
    • files with paths like ".*/[Mm]an/.*".
    • files with paths like ".*/[.]gitignore".
  • 121 files match defined criteria (4,327 LOC, 21.9% vs. main code):
    • 105 *.json files (2,079 LOC)
    • 13 *.txt files (1,792 LOC)
    • 3 *.md files (456 LOC)
  • " *.json" is biggest, containing 48.05% of LOC.
  • " *.md" is smallest, containing 10.54% of LOC.


*.json2079 LOC (48%) 105 files
*.txt1792 LOC (41%) 13 files
*.md456 LOC (10%) 3 files
Analyzers
Info about analyzers used for source code examinations.


2026-01-18 17:18