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

main34872 LOC (61%) 378 files
test15151 LOC (26%) 139 files
generated0 LOC (0%) 0 files
build and deployment5063 LOC (8%) 55 files
other1942 LOC (3%) 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 ".*".
  • 378 files match defined criteria (34,872 LOC, 100.0% vs. main code):
    • 327 *.java files (32,768 LOC)
    • 39 *.xml files (989 LOC)
    • 2 *.css files (662 LOC)
    • 7 *.mustache files (348 LOC)
    • 2 *.ftl files (62 LOC)
    • 1 *.yaml files (43 LOC)
  • " *.java" is biggest, containing 93.97% of LOC.
  • " *.yaml" is smallest, containing 0.12% of LOC.


*.java32768 LOC (93%) 327 files
*.xml989 LOC (2%) 39 files
*.css662 LOC (1%) 2 files
*.mustache348 LOC (<1%) 7 files
*.ftl62 LOC (<1%) 2 files
*.yaml43 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/.*".
    • files with paths like ".*[-]tests/.*".
    • files with paths like ".*/[Tt]ests/.*".
    • files with paths like ".*[-]test[-].*".
  • 139 files match defined criteria (15,151 LOC, 43.4% vs. main code):
    • 78 *.java files (11,940 LOC)
    • 61 *.xml files (3,211 LOC)
  • " *.java" is biggest, containing 78.81% of LOC.
  • " *.xml" is smallest, containing 21.19% of LOC.


*.java11940 LOC (78%) 78 files
*.xml3211 LOC (21%) 61 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".
    • files with paths like ".*/[.]gitattributes".
  • 55 files match defined criteria (5,063 LOC, 14.5% vs. main code):
    • 52 *.xml files (4,924 LOC)
    • 3 *.sh files (139 LOC)
  • " *.xml" is biggest, containing 97.25% of LOC.
  • " *.sh" is smallest, containing 2.75% of LOC.


*.xml4924 LOC (97%) 52 files
*.sh139 LOC (2%) 3 files
Other Code
properties
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]properties".
    • files with paths like ".*[.]json".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*/[.]gitignore".
  • 21 files match defined criteria (1,942 LOC, 5.6% vs. main code):
    • 20 *.properties files (1,893 LOC)
    • 1 *.adoc files (49 LOC)
  • " *.properties" is biggest, containing 97.48% of LOC.
  • " *.adoc" is smallest, containing 2.52% of LOC.


*.properties1893 LOC (97%) 20 files
*.adoc49 LOC (2%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2023-08-10 15:02