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

main10257 LOC (40%) 204 files
test8491 LOC (33%) 108 files
generated4622 LOC (18%) 5 files
build and deployment1233 LOC (4%) 20 files
other863 LOC (3%) 17 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 ".*".
  • 204 files match defined criteria (10,257 LOC, 100.0% vs. main code):
    • 202 *.java files (9,954 LOC)
    • 2 *.xml files (303 LOC)
  • " *.java" is biggest, containing 97.05% of LOC.
  • " *.xml" is smallest, containing 2.95% of LOC.


*.java9954 LOC (97%) 202 files
*.xml303 LOC (2%) 2 files
Test Code
Used only for testing of the product. Normally not deployed in a production environment.
proto
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/[Tt]est/.*".
  • 108 files match defined criteria (8,491 LOC, 82.8% vs. main code):
    • 102 *.java files (8,350 LOC)
    • 2 *.proto files (77 LOC)
    • 2 *.xml files (28 LOC)
    • 1 *.thrift files (26 LOC)
    • 1 *.avsc files (10 LOC)
  • " *.java" is biggest, containing 98.34% of LOC.
  • " *.avsc" is smallest, containing 0.12% of LOC.


*.java8350 LOC (98%) 102 files
*.proto77 LOC (<1%) 2 files
*.xml28 LOC (<1%) 2 files
*.thrift26 LOC (<1%) 1 file
*.avsc10 LOC (<1%) 1 file
Generated Code
Automatically generated files, not manually changed after generation.
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/generated/.*".
    • files with any line of content like "//[ ]*Generated by .*".
  • 5 files match defined criteria (4,622 LOC, 45.1% vs. main code). All matches are in *.java files.


*.java4622 LOC (100%) 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 ".*/assembly/src[.]xml".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]sh".
  • 20 files match defined criteria (1,233 LOC, 12.0% vs. main code):
    • 16 *.xml files (1,209 LOC)
    • 4 *.sh files (24 LOC)
  • " *.xml" is biggest, containing 98.05% of LOC.
  • " *.sh" is smallest, containing 1.95% of LOC.


*.xml1209 LOC (98%) 16 files
*.sh24 LOC (1%) 4 files
Other Code
properties
txt
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/[Ee]xamples/.*".
    • files with paths like ".*[.]properties".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]txt".
    • files with paths like ".*/README[.][a-z0-9]+".
  • 17 files match defined criteria (863 LOC, 8.4% vs. main code):
    • 10 *.java files (707 LOC)
    • 4 *.properties files (75 LOC)
    • 2 *.txt files (43 LOC)
    • 1 *.xml files (38 LOC)
  • " *.java" is biggest, containing 81.92% of LOC.
  • " *.xml" is smallest, containing 4.4% of LOC.


*.java707 LOC (81%) 10 files
*.properties75 LOC (8%) 4 files
*.txt43 LOC (4%) 2 files
*.xml38 LOC (4%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-05-07 15:16