apache / mina-asyncweb
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
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.

main9210 LOC (65%) 152 files
test3400 LOC (24%) 43 files
generated0 LOC (0%) 0 files
build and deployment571 LOC (4%) 7 files
other949 LOC (6%) 23 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 ".*".
  • 152 files match defined criteria (9,210 LOC, 100.0% vs. main code):
    • 150 *.java files (9,138 LOC)
    • 2 *.xml files (72 LOC)
  • " *.java" is biggest, containing 99.22% of LOC.
  • " *.xml" is smallest, containing 0.78% of LOC.


*.java9138 LOC (99%) 150 files
*.xml72 LOC (<1%) 2 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/.*".
  • 43 files match defined criteria (3,400 LOC, 36.9% vs. main code):
    • 30 *.java files (1,936 LOC)
    • 4 *.xml files (1,436 LOC)
    • 9 *.jsp files (28 LOC)
  • " *.java" is biggest, containing 56.94% of LOC.
  • " *.jsp" is smallest, containing 0.82% of LOC.


*.java1936 LOC (56%) 30 files
*.xml1436 LOC (42%) 4 files
*.jsp28 LOC (<1%) 9 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".
  • 7 files match defined criteria (571 LOC, 6.2% vs. main code). All matches are in *.xml files.


*.xml571 LOC (100%) 7 files
Other Code
txt
properties
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 ".*[.]txt".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/[Ee]xamples/.*".
    • files with paths like ".*/LICENSE[.][a-z0-9]+".
  • 23 files match defined criteria (949 LOC, 10.3% vs. main code):
    • 8 *.java files (472 LOC)
    • 7 *.xml files (178 LOC)
    • 2 *.txt files (153 LOC)
    • 5 *.properties files (144 LOC)
    • 1 *.sh files (2 LOC)
  • " *.java" is biggest, containing 49.74% of LOC.
  • " *.sh" is smallest, containing 0.21% of LOC.


*.java472 LOC (49%) 8 files
*.xml178 LOC (18%) 7 files
*.txt153 LOC (16%) 2 files
*.properties144 LOC (15%) 5 files
*.sh2 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2023-08-10 22:03