apache / commons-crypto
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
cgi
gitattributes
properties
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.

main6151 LOC (56%) 75 files
test2857 LOC (26%) 43 files
generated0 LOC (0%) 0 files
build and deployment733 LOC (6%) 6 files
other1075 LOC (9%) 17 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
cgi
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 75 files match defined criteria (6,151 LOC, 100.0% vs. main code):
    • 53 *.java files (3,897 LOC)
    • 4 *.c files (1,069 LOC)
    • 13 *.xml files (924 LOC)
    • 3 *.h files (196 LOC)
    • 1 *.html files (61 LOC)
    • 1 *.cgi files (4 LOC)
  • " *.java" is biggest, containing 63.36% of LOC.
  • " *.cgi" is smallest, containing 0.07% of LOC.


*.java3897 LOC (63%) 53 files
*.c1069 LOC (17%) 4 files
*.xml924 LOC (15%) 13 files
*.h196 LOC (3%) 3 files
*.html61 LOC (<1%) 1 file
*.cgi4 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]est/.*".
  • 43 files match defined criteria (2,857 LOC, 46.4% vs. main code). All matches are in *.java files.


*.java2857 LOC (100%) 43 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 ".*/pom[.]xml".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/[.]gitattributes".
    • files with paths like ".*/docker[-]compose[.]yaml".
    • files with paths like ".*[.]sh".
    • files with paths like ".*/assembly/src[.]xml".
  • 6 files match defined criteria (733 LOC, 11.9% vs. main code):
    • 2 *.xml files (690 LOC)
    • 3 *.sh files (35 LOC)
    • 1 *.yaml files (8 LOC)
  • " *.xml" is biggest, containing 94.13% of LOC.
  • " *.yaml" is smallest, containing 1.09% of LOC.


*.xml690 LOC (94%) 2 files
*.sh35 LOC (4%) 3 files
*.yaml8 LOC (1%) 1 file
Other Code
txt
properties
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]md".
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]txt".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/checkstyle[.]xml".
    • files with paths like ".*/checkstyle.*".
    • files with paths like ".*/LICENSE[.][a-z0-9]+".
    • files with paths like ".*/[Ee]xamples/.*".
    • files with paths like ".*[.]properties".
  • 17 files match defined criteria (1,075 LOC, 17.5% vs. main code):
    • 4 *.txt files (496 LOC)
    • 5 *.md files (361 LOC)
    • 5 *.java files (171 LOC)
    • 2 *.xml files (29 LOC)
    • 1 *.properties files (18 LOC)
  • " *.txt" is biggest, containing 46.14% of LOC.
  • " *.properties" is smallest, containing 1.67% of LOC.


*.txt496 LOC (46%) 4 files
*.md361 LOC (33%) 5 files
*.java171 LOC (15%) 5 files
*.xml29 LOC (2%) 2 files
*.properties18 LOC (1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2023-08-10 16:36