apache / maven-build-cache-extension
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
gitattributes
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.

main6008 LOC (60%) 59 files
test2825 LOC (28%) 54 files
generated0 LOC (0%) 0 files
build and deployment430 LOC (4%) 2 files
other741 LOC (7%) 9 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 ".*".
  • 59 files match defined criteria (6,008 LOC, 100.0% vs. main code):
    • 56 *.java files (5,584 LOC)
    • 3 *.xml files (424 LOC)
  • " *.java" is biggest, containing 92.94% of LOC.
  • " *.xml" is smallest, containing 7.06% of LOC.


*.java5584 LOC (92%) 56 files
*.xml424 LOC (7%) 3 files
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/.*".
  • 54 files match defined criteria (2,825 LOC, 47.0% vs. main code):
    • 36 *.java files (2,255 LOC)
    • 18 *.xml files (570 LOC)
  • " *.java" is biggest, containing 79.82% of LOC.
  • " *.xml" is smallest, containing 20.18% of LOC.


*.java2255 LOC (79%) 36 files
*.xml570 LOC (20%) 18 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".
  • 2 files match defined criteria (430 LOC, 7.2% vs. main code):
    • 1 *.xml files (428 LOC)
    • 1 *.sh files (2 LOC)
  • " *.xml" is biggest, containing 99.53% of LOC.
  • " *.sh" is smallest, containing 0.47% of LOC.


*.xml428 LOC (99%) 1 file
*.sh2 LOC (<1%) 1 file
Other Code
txt
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 ".*/[.]gitignore".
    • files with paths like ".*[.]txt".
    • files with paths like ".*/checkstyle.*".
  • 9 files match defined criteria (741 LOC, 12.3% vs. main code):
    • 7 *.md files (712 LOC)
    • 1 *.txt files (20 LOC)
    • 1 *.xml files (9 LOC)
  • " *.md" is biggest, containing 96.09% of LOC.
  • " *.xml" is smallest, containing 1.21% of LOC.


*.md712 LOC (96%) 7 files
*.txt20 LOC (2%) 1 file
*.xml9 LOC (1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2023-08-11 02:21