apache / maven-resolver
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
ini
txt
cgi
gitattributes
asc
pub
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.

main38463 LOC (51%) 590 files
test21966 LOC (29%) 226 files
generated0 LOC (0%) 0 files
build and deployment2492 LOC (3%) 29 files
other11644 LOC (15%) 727 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 ".*".
  • 590 files match defined criteria (38,463 LOC, 100.0% vs. main code):
    • 558 *.java files (37,933 LOC)
    • 27 *.xml files (440 LOC)
    • 3 *.sql files (46 LOC)
    • 2 *.cgi files (44 LOC)
  • " *.java" is biggest, containing 98.62% of LOC.
  • " *.cgi" is smallest, containing 0.11% of LOC.


*.java37933 LOC (98%) 558 files
*.xml440 LOC (1%) 27 files
*.sql46 LOC (<1%) 3 files
*.cgi44 LOC (<1%) 2 files
Test Code
Used only for testing of the product. Normally not deployed in a production environment.
pub
asc
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/[Tt]est/.*".
    • files with paths like ".*[-]test[-].*".
    • files with paths like ".*/test_.*".
  • 226 files match defined criteria (21,966 LOC, 57.1% vs. main code):
    • 218 *.java files (21,773 LOC)
    • 6 *.xml files (173 LOC)
    • 1 *.pub files (13 LOC)
    • 1 *.asc files (7 LOC)
  • " *.java" is biggest, containing 99.12% of LOC.
  • " *.asc" is smallest, containing 0.03% of LOC.


*.java21773 LOC (99%) 218 files
*.xml173 LOC (<1%) 6 files
*.pub13 LOC (<1%) 1 file
*.asc7 LOC (<1%) 1 file
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 ".*/[.]gitattributes".
  • 29 files match defined criteria (2,492 LOC, 6.5% vs. main code). All matches are in *.xml files.


*.xml2492 LOC (100%) 29 files
Other Code
ini
txt
properties
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*[.]txt".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]ini".
    • files with paths like ".*/[Dd]emos?/.*".
    • files with paths like ".*/[Ee]xamples/.*".
    • files with paths like ".*[.]properties".
  • 727 files match defined criteria (11,644 LOC, 30.3% vs. main code):
    • 611 *.ini files (8,418 LOC)
    • 17 *.md files (1,446 LOC)
    • 26 *.java files (1,306 LOC)
    • 71 *.txt files (431 LOC)
    • 1 *.properties files (28 LOC)
    • 1 *.xml files (15 LOC)
  • " *.ini" is biggest, containing 72.29% of LOC.
  • " *.xml" is smallest, containing 0.13% of LOC.


*.ini8418 LOC (72%) 611 files
*.md1446 LOC (12%) 17 files
*.java1306 LOC (11%) 26 files
*.txt431 LOC (3%) 71 files
*.properties28 LOC (<1%) 1 file
*.xml15 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-05-07 16:04