apache / archiva-redback-components
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
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.

main5282 LOC (37%) 81 files
test2789 LOC (19%) 48 files
generated0 LOC (0%) 0 files
build and deployment2304 LOC (16%) 26 files
other3664 LOC (26%) 21 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 ".*".
  • 81 files match defined criteria (5,282 LOC, 100.0% vs. main code):
    • 56 *.java files (4,488 LOC)
    • 24 *.xml files (790 LOC)
    • 1 *.groovy files (4 LOC)
  • " *.java" is biggest, containing 84.97% of LOC.
  • " *.groovy" is smallest, containing 0.08% of LOC.


*.java4488 LOC (84%) 56 files
*.xml790 LOC (14%) 24 files
*.groovy4 LOC (<1%) 1 file
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/.*".
  • 48 files match defined criteria (2,789 LOC, 52.8% vs. main code):
    • 37 *.java files (2,434 LOC)
    • 11 *.xml files (355 LOC)
  • " *.java" is biggest, containing 87.27% of LOC.
  • " *.xml" is smallest, containing 12.73% of LOC.


*.java2434 LOC (87%) 37 files
*.xml355 LOC (12%) 11 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".
  • 26 files match defined criteria (2,304 LOC, 43.6% vs. main code):
    • 25 *.xml files (2,303 LOC)
    • 1 *.sh files (1 LOC)
  • " *.xml" is biggest, containing 99.96% of LOC.
  • " *.sh" is smallest, containing 0.04% of LOC.


*.xml2303 LOC (99%) 25 files
*.sh1 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 ".*/[Ee]xamples/.*".
    • files with paths like ".*[.]properties".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]txt".
  • 21 files match defined criteria (3,664 LOC, 69.4% vs. main code):
    • 14 *.txt files (3,511 LOC)
    • 7 *.properties files (153 LOC)
  • " *.txt" is biggest, containing 95.82% of LOC.
  • " *.properties" is smallest, containing 4.18% of LOC.


*.txt3511 LOC (95%) 14 files
*.properties153 LOC (4%) 7 files
Analyzers
Info about analyzers used for source code examinations.


2023-08-10 14:13