apache / incubator-milagro-crypto-c
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
in
txt
mk
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.

main31575 LOC (37%) 160 files
test19935 LOC (23%) 67 files
generated0 LOC (0%) 0 files
build and deployment212 LOC (<1%) 9 files
other31834 LOC (38%) 114 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 ".*".
  • 160 files match defined criteria (31,575 LOC, 100.0% vs. main code):
    • 84 *.in files (27,102 LOC)
    • 60 *.c files (3,891 LOC)
    • 8 *.cmake files (458 LOC)
    • 8 *.h files (124 LOC)
  • " *.in" is biggest, containing 85.83% of LOC.
  • " *.h" is smallest, containing 0.39% of LOC.


*.in27102 LOC (85%) 84 files
*.c3891 LOC (12%) 60 files
*.cmake458 LOC (1%) 8 files
*.h124 LOC (<1%) 8 files
Test Code
Used only for testing of the product. Normally not deployed in a production environment.
in
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/[Tt]est/.*".
    • files with paths like ".*/test_.*".
    • files with paths like ".*_test[.].*".
  • 67 files match defined criteria (19,935 LOC, 63.1% vs. main code):
    • 52 *.in files (17,886 LOC)
    • 15 *.c files (2,049 LOC)
  • " *.in" is biggest, containing 89.72% of LOC.
  • " *.c" is smallest, containing 10.28% of LOC.


*.in17886 LOC (89%) 52 files
*.c2049 LOC (10%) 15 files
Build and Deployment Code
Source code used to configure or support build and deployment process.
mk
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]mk".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]sh".
  • 9 files match defined criteria (212 LOC, 0.7% vs. main code):
    • 8 *.sh files (172 LOC)
    • 1 *.mk files (40 LOC)
  • " *.sh" is biggest, containing 81.13% of LOC.
  • " *.mk" is smallest, containing 18.87% of LOC.


*.sh172 LOC (81%) 8 files
*.mk40 LOC (18%) 1 file
Other Code
txt
in
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]txt".
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*/[.]dockerignore".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/[Ee]xamples/.*".
  • 114 files match defined criteria (31,834 LOC, 100.8% vs. main code):
    • 100 *.txt files (28,787 LOC)
    • 8 *.in files (1,973 LOC)
    • 3 *.c files (803 LOC)
    • 3 *.md files (271 LOC)
  • " *.txt" is biggest, containing 90.43% of LOC.
  • " *.md" is smallest, containing 0.85% of LOC.


*.txt28787 LOC (90%) 100 files
*.in1973 LOC (6%) 8 files
*.c803 LOC (2%) 3 files
*.md271 LOC (<1%) 3 files
Analyzers
Info about analyzers used for source code examinations.


2023-08-10 18:18