apache / maven-indexer
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
txt
properties
asc
cgi
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.

main12761 LOC (52%) 214 files
test8879 LOC (36%) 148 files
generated0 LOC (0%) 0 files
build and deployment1125 LOC (4%) 12 files
other1669 LOC (6%) 45 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
cgi
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 214 files match defined criteria (12,761 LOC, 100.0% vs. main code):
    • 200 *.java files (12,503 LOC)
    • 12 *.xml files (230 LOC)
    • 1 *.cgi files (22 LOC)
    • 1 *.css files (6 LOC)
  • " *.java" is biggest, containing 97.98% of LOC.
  • " *.css" is smallest, containing 0.05% of LOC.


*.java12503 LOC (97%) 200 files
*.xml230 LOC (1%) 12 files
*.cgi22 LOC (<1%) 1 file
*.css6 LOC (<1%) 1 file
Test Code
Used only for testing of the product. Normally not deployed in a production environment.
asc
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/[Tt]est/.*".
    • files with paths like ".*[.][Tt]ests/.*".
  • 148 files match defined criteria (8,879 LOC, 69.6% vs. main code):
    • 76 *.java files (8,151 LOC)
    • 64 *.xml files (680 LOC)
    • 8 *.asc files (48 LOC)
  • " *.java" is biggest, containing 91.8% of LOC.
  • " *.asc" is smallest, containing 0.54% of LOC.


*.java8151 LOC (91%) 76 files
*.xml680 LOC (7%) 64 files
*.asc48 LOC (<1%) 8 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 ".*[.]sh".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
  • 12 files match defined criteria (1,125 LOC, 8.8% vs. main code):
    • 11 *.xml files (1,123 LOC)
    • 1 *.sh files (2 LOC)
  • " *.xml" is biggest, containing 99.82% of LOC.
  • " *.sh" is smallest, containing 0.18% of LOC.


*.xml1123 LOC (99%) 11 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 ".*[.]json".
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*[.]txt".
    • files with paths like ".*[.]properties".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/[Ee]xamples/.*".
  • 45 files match defined criteria (1,669 LOC, 13.1% vs. main code):
    • 13 *.java files (1,122 LOC)
    • 11 *.md files (297 LOC)
    • 12 *.txt files (184 LOC)
    • 9 *.properties files (66 LOC)
  • " *.java" is biggest, containing 67.23% of LOC.
  • " *.properties" is smallest, containing 3.95% of LOC.


*.java1122 LOC (67%) 13 files
*.md297 LOC (17%) 11 files
*.txt184 LOC (11%) 12 files
*.properties66 LOC (3%) 9 files
Analyzers
Info about analyzers used for source code examinations.


2023-08-10 15:03