apache / maven-scm
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
gitattributes
txt
properties
cgi
pub
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.

main19555 LOC (65%) 338 files
test6994 LOC (23%) 148 files
generated0 LOC (0%) 0 files
build and deployment1795 LOC (5%) 25 files
other1702 LOC (5%) 12 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 ".*".
  • 338 files match defined criteria (19,555 LOC, 100.0% vs. main code):
    • 310 *.java files (18,789 LOC)
    • 21 *.xml files (649 LOC)
    • 2 *.css files (60 LOC)
    • 4 *.groovy files (35 LOC)
    • 1 *.cgi files (22 LOC)
  • " *.java" is biggest, containing 96.08% of LOC.
  • " *.cgi" is smallest, containing 0.11% of LOC.


*.java18789 LOC (96%) 310 files
*.xml649 LOC (3%) 21 files
*.css60 LOC (<1%) 2 files
*.groovy35 LOC (<1%) 4 files
*.cgi22 LOC (<1%) 1 file
Test Code
Used only for testing of the product. Normally not deployed in a production environment.
pub
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/[Tt]est/.*".
  • 148 files match defined criteria (6,994 LOC, 35.8% vs. main code):
    • 117 *.java files (6,562 LOC)
    • 30 *.xml files (431 LOC)
    • 1 *.pub files (1 LOC)
  • " *.java" is biggest, containing 93.82% of LOC.
  • " *.pub" is smallest, containing 0.01% of LOC.


*.java6562 LOC (93%) 117 files
*.xml431 LOC (6%) 30 files
*.pub1 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 ".*/[.]gitattributes".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]sh".
  • 25 files match defined criteria (1,795 LOC, 9.2% vs. main code):
    • 24 *.xml files (1,793 LOC)
    • 1 *.sh files (2 LOC)
  • " *.xml" is biggest, containing 99.89% of LOC.
  • " *.sh" is smallest, containing 0.11% of LOC.


*.xml1793 LOC (99%) 24 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 ".*[.]txt".
    • files with paths like ".*[.]json".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]properties".
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
  • 12 files match defined criteria (1,702 LOC, 8.7% vs. main code):
    • 9 *.txt files (1,565 LOC)
    • 1 *.md files (85 LOC)
    • 2 *.properties files (52 LOC)
  • " *.txt" is biggest, containing 91.95% of LOC.
  • " *.properties" is smallest, containing 3.06% of LOC.


*.txt1565 LOC (91%) 9 files
*.md85 LOC (4%) 1 file
*.properties52 LOC (3%) 2 files
Analyzers
Info about analyzers used for source code examinations.


2023-08-10 10:50