apache / mina-sshd
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
pub
txt
asc
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.

main93528 LOC (64%) 1,038 files
test42020 LOC (29%) 397 files
generated0 LOC (0%) 0 files
build and deployment3474 LOC (2%) 16 files
other5205 LOC (3%) 29 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 1038 files match defined criteria (93,528 LOC, 100.0% vs. main code):
    • 1,025 *.java files (92,173 LOC)
    • 12 *.xml files (1,116 LOC)
    • 1 *.py files (239 LOC)
  • " *.java" is biggest, containing 98.55% of LOC.
  • " *.py" is smallest, containing 0.26% of LOC.


*.java92173 LOC (98%) 1,025 files
*.xml1116 LOC (1%) 12 files
*.py239 LOC (<1%) 1 file
Test Code
Used only for testing of the product. Normally not deployed in a production environment.
asc
pub
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/[Tt]est/.*".
  • 397 files match defined criteria (42,020 LOC, 44.9% vs. main code):
    • 324 *.java files (41,643 LOC)
    • 8 *.asc files (239 LOC)
    • 59 *.pub files (59 LOC)
    • 2 *.xml files (45 LOC)
    • 4 *.sh files (34 LOC)
  • " *.java" is biggest, containing 99.1% of LOC.
  • " *.sh" is smallest, containing 0.08% of LOC.


*.java41643 LOC (99%) 324 files
*.asc239 LOC (<1%) 8 files
*.pub59 LOC (<1%) 59 files
*.xml45 LOC (<1%) 2 files
*.sh34 LOC (<1%) 4 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 ".*[.]sh".
    • files with paths like ".*[.]bat".
    • files with paths like ".*/[.]gitattributes".
  • 16 files match defined criteria (3,474 LOC, 3.7% vs. main code). All matches are in *.xml files.


*.xml3474 LOC (100%) 16 files
Other Code
txt
properties
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]txt".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]json".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*[.]properties".
    • files with paths like ".*[.]md".
    • files with paths like ".*[.]svg".
    • files with paths like ".*/LICENSE[.][a-z0-9]+".
  • 29 files match defined criteria (5,205 LOC, 5.6% vs. main code):
    • 25 *.txt files (5,067 LOC)
    • 3 *.md files (116 LOC)
    • 1 *.properties files (22 LOC)
  • " *.txt" is biggest, containing 97.35% of LOC.
  • " *.properties" is smallest, containing 0.42% of LOC.


*.txt5067 LOC (97%) 25 files
*.md116 LOC (2%) 3 files
*.properties22 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2023-08-10 13:39