apache / commons-statistics
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
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.

main10058 LOC (23%) 105 files
test13721 LOC (32%) 71 files
generated0 LOC (0%) 0 files
build and deployment1561 LOC (3%) 14 files
other16689 LOC (39%) 232 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 ".*".
  • 105 files match defined criteria (10,058 LOC, 100.0% vs. main code):
    • 76 *.java files (8,314 LOC)
    • 27 *.xml files (1,742 LOC)
    • 2 *.css files (2 LOC)
  • " *.java" is biggest, containing 82.66% of LOC.
  • " *.css" is smallest, containing 0.02% of LOC.


*.java8314 LOC (82%) 76 files
*.xml1742 LOC (17%) 27 files
*.css2 LOC (<1%) 2 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/.*".
  • 71 files match defined criteria (13,721 LOC, 136.4% vs. main code). All matches are in *.java files.


*.java13721 LOC (100%) 71 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 ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/[.]gitattributes".
    • files with paths like ".*[.]sh".
    • files with paths like ".*/assembly/src[.]xml".
  • 14 files match defined criteria (1,561 LOC, 15.5% vs. main code):
    • 13 *.xml files (1,534 LOC)
    • 1 *.sh files (27 LOC)
  • " *.xml" is biggest, containing 98.27% of LOC.
  • " *.sh" is smallest, containing 1.73% of LOC.


*.xml1534 LOC (98%) 13 files
*.sh27 LOC (1%) 1 file
Other Code
properties
txt
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]md".
    • files with paths like ".*[.]json".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*[.]txt".
    • files with paths like ".*[.]properties".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/[Ee]xamples/.*".
    • files with paths like ".*/checkstyle.*".
    • files with paths like ".*/checkstyle[.]xml".
  • 232 files match defined criteria (16,689 LOC, 165.9% vs. main code):
    • 155 *.properties files (6,619 LOC)
    • 11 *.txt files (4,925 LOC)
    • 50 *.java files (3,956 LOC)
    • 14 *.md files (1,015 LOC)
    • 2 *.xml files (174 LOC)
  • " *.properties" is biggest, containing 39.66% of LOC.
  • " *.xml" is smallest, containing 1.04% of LOC.


*.properties6619 LOC (39%) 155 files
*.txt4925 LOC (29%) 11 files
*.java3956 LOC (23%) 50 files
*.md1015 LOC (6%) 14 files
*.xml174 LOC (1%) 2 files
Analyzers
Info about analyzers used for source code examinations.


2023-08-10 21:11