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.

main97754 LOC (64%) 1,079 files
test45444 LOC (29%) 415 files
generated0 LOC (0%) 0 files
build and deployment3436 LOC (2%) 18 files
other5246 LOC (3%) 32 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
pub
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 1079 files match defined criteria (97,754 LOC, 100.0% vs. main code):
    • 1,063 *.java files (96,372 LOC)
    • 13 *.xml files (1,141 LOC)
    • 1 *.py files (239 LOC)
    • 2 *.pub files (2 LOC)
  • " *.java" is biggest, containing 98.59% of LOC.
  • " *.pub" is smallest, containing 0% of LOC.


*.java96372 LOC (98%) 1,063 files
*.xml1141 LOC (1%) 13 files
*.py239 LOC (<1%) 1 file
*.pub2 LOC (<1%) 2 files
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/.*".
  • 415 files match defined criteria (45,444 LOC, 46.5% vs. main code):
    • 340 *.java files (45,063 LOC)
    • 8 *.asc files (239 LOC)
    • 60 *.pub files (60 LOC)
    • 2 *.xml files (45 LOC)
    • 5 *.sh files (37 LOC)
  • " *.java" is biggest, containing 99.16% of LOC.
  • " *.sh" is smallest, containing 0.08% of LOC.


*.java45063 LOC (99%) 340 files
*.asc239 LOC (<1%) 8 files
*.pub60 LOC (<1%) 60 files
*.xml45 LOC (<1%) 2 files
*.sh37 LOC (<1%) 5 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 ".*/[.]gitattributes".
    • files with paths like ".*[.]bat".
  • 18 files match defined criteria (3,436 LOC, 3.5% vs. main code):
    • 17 *.xml files (3,434 LOC)
    • 1 *.sh files (2 LOC)
  • " *.xml" is biggest, containing 99.94% of LOC.
  • " *.sh" is smallest, containing 0.06% of LOC.


*.xml3434 LOC (99%) 17 files
*.sh2 LOC (<1%) 1 file
Other Code
txt
properties
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]txt".
    • files with paths like ".*[.]md".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*[.]svg".
    • files with paths like ".*/LICENSE[.][a-z0-9]+".
    • files with paths like ".*[.]properties".
  • 32 files match defined criteria (5,246 LOC, 5.4% vs. main code):
    • 25 *.txt files (5,067 LOC)
    • 6 *.md files (157 LOC)
    • 1 *.properties files (22 LOC)
  • " *.txt" is biggest, containing 96.59% of LOC.
  • " *.properties" is smallest, containing 0.42% of LOC.


*.txt5067 LOC (96%) 25 files
*.md157 LOC (2%) 6 files
*.properties22 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-05-07 15:23