apache / celix
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
in
clang-format
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.

main94774 LOC (79%) 768 files
test5949 LOC (4%) 24 files
generated0 LOC (0%) 0 files
build and deployment0 LOC (0%) 0 files
other18310 LOC (15%) 377 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
in
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 768 files match defined criteria (94,774 LOC, 100.0% vs. main code):
    • 165 *.c files (42,041 LOC)
    • 179 *.cc files (33,382 LOC)
    • 372 *.h files (15,659 LOC)
    • 23 *.cmake files (2,737 LOC)
    • 1 *.py files (326 LOC)
    • 16 *.in files (245 LOC)
    • 3 *.rs files (181 LOC)
    • 3 *.toml files (71 LOC)
    • 2 *.xml files (46 LOC)
    • 1 *.rdf files (39 LOC)
    • 1 *.js files (24 LOC)
    • 2 *.html files (23 LOC)
  • " *.c" is biggest, containing 44.36% of LOC.
  • " *.html" is smallest, containing 0.02% of LOC.


*.c42041 LOC (44%) 165 files
*.cc33382 LOC (35%) 179 files
*.h15659 LOC (16%) 372 files
*.cmake2737 LOC (2%) 23 files
*.py326 LOC (<1%) 1 file
*.in245 LOC (<1%) 16 files
*.rs181 LOC (<1%) 3 files
*.toml71 LOC (<1%) 3 files
*.xml46 LOC (<1%) 2 files
*.rdf39 LOC (<1%) 1 file
*.js24 LOC (<1%) 1 file
*.html23 LOC (<1%) 2 files
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 ".*/test_.*".
    • files with paths like ".*/test[.].*".
    • files with paths like ".*_test[.].*".
    • files with paths like ".*_tests[.].*".
    • files with paths like ".*/[Tt]est/.*".
  • 24 files match defined criteria (5,949 LOC, 6.3% vs. main code):
    • 9 *.cpp files (4,258 LOC)
    • 12 *.cc files (1,547 LOC)
    • 2 *.c files (121 LOC)
    • 1 *.h files (23 LOC)
  • " *.cpp" is biggest, containing 71.58% of LOC.
  • " *.h" is smallest, containing 0.39% of LOC.


*.cpp4258 LOC (71%) 9 files
*.cc1547 LOC (26%) 12 files
*.c121 LOC (2%) 2 files
*.h23 LOC (<1%) 1 file
Other Code
txt
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]txt".
    • files with paths like ".*/[Ee]xamples/.*".
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]adoc".
  • 377 files match defined criteria (18,310 LOC, 19.3% vs. main code):
    • 178 *.txt files (7,185 LOC)
    • 57 *.md files (6,401 LOC)
    • 55 *.c files (2,402 LOC)
    • 37 *.cc files (1,147 LOC)
    • 35 *.h files (500 LOC)
    • 2 *.py files (244 LOC)
    • 2 *.adoc files (179 LOC)
    • 6 *.json files (127 LOC)
    • 3 *.cpp files (101 LOC)
    • 1 *.html files (16 LOC)
    • 1 *.js files (8 LOC)
  • " *.txt" is biggest, containing 39.24% of LOC.
  • " *.js" is smallest, containing 0.04% of LOC.


*.txt7185 LOC (39%) 178 files
*.md6401 LOC (34%) 57 files
*.c2402 LOC (13%) 55 files
*.cc1147 LOC (6%) 37 files
*.h500 LOC (2%) 35 files
*.py244 LOC (1%) 2 files
*.adoc179 LOC (<1%) 2 files
*.json127 LOC (<1%) 6 files
*.cpp101 LOC (<1%) 3 files
*.html16 LOC (<1%) 1 file
*.js8 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-05-07 15:43