apache / mina-vysper
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
properties
txt
vbs
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.

main28565 LOC (54%) 510 files
test18070 LOC (34%) 264 files
generated0 LOC (0%) 0 files
build and deployment1545 LOC (2%) 18 files
other3869 LOC (7%) 45 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 ".*".
  • 510 files match defined criteria (28,565 LOC, 100.0% vs. main code):
    • 503 *.java files (27,975 LOC)
    • 2 *.css files (403 LOC)
    • 5 *.xml files (187 LOC)
  • " *.java" is biggest, containing 97.93% of LOC.
  • " *.xml" is smallest, containing 0.65% of LOC.


*.java27975 LOC (97%) 503 files
*.css403 LOC (1%) 2 files
*.xml187 LOC (<1%) 5 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 ".*/[Tt]est/.*".
  • 264 files match defined criteria (18,070 LOC, 63.3% vs. main code):
    • 262 *.java files (18,016 LOC)
    • 2 *.xml files (54 LOC)
  • " *.java" is biggest, containing 99.7% of LOC.
  • " *.xml" is smallest, containing 0.3% of LOC.


*.java18016 LOC (99%) 262 files
*.xml54 LOC (<1%) 2 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 ".*/assembly/src[.]xml".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
  • 18 files match defined criteria (1,545 LOC, 5.4% vs. main code). All matches are in *.xml files.


*.xml1545 LOC (100%) 18 files
Other Code
properties
txt
vbs
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]properties".
    • files with paths like ".*/[Ee]xamples/.*".
    • files with paths like ".*[.]txt".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*/LICENSE[.][a-z0-9]+".
    • files with paths like ".*/[Dd]emos?/.*".
    • files with paths like ".*[.]md".
    • files with paths like ".*/[.]gitignore".
  • 45 files match defined criteria (3,869 LOC, 13.5% vs. main code):
    • 5 *.js files (2,080 LOC)
    • 16 *.java files (1,034 LOC)
    • 10 *.properties files (231 LOC)
    • 4 *.xml files (182 LOC)
    • 6 *.txt files (158 LOC)
    • 2 *.html files (93 LOC)
    • 1 *.md files (55 LOC)
    • 1 *.vbs files (36 LOC)
  • " *.js" is biggest, containing 53.76% of LOC.
  • " *.vbs" is smallest, containing 0.93% of LOC.


*.js2080 LOC (53%) 5 files
*.java1034 LOC (26%) 16 files
*.properties231 LOC (5%) 10 files
*.xml182 LOC (4%) 4 files
*.txt158 LOC (4%) 6 files
*.html93 LOC (2%) 2 files
*.md55 LOC (1%) 1 file
*.vbs36 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2023-08-10 22:03