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.

main14132 LOC (24%) 157 files
test20864 LOC (35%) 133 files
generated0 LOC (0%) 0 files
build and deployment1700 LOC (2%) 14 files
other21512 LOC (36%) 267 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 ".*".
  • 157 files match defined criteria (14,132 LOC, 100.0% vs. main code):
    • 129 *.java files (12,110 LOC)
    • 26 *.xml files (2,020 LOC)
    • 2 *.css files (2 LOC)
  • " *.java" is biggest, containing 85.69% of LOC.
  • " *.css" is smallest, containing 0.01% of LOC.


*.java12110 LOC (85%) 129 files
*.xml2020 LOC (14%) 26 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/.*".
    • files with paths like ".*/test[.].*".
  • 133 files match defined criteria (20,864 LOC, 147.6% vs. main code). All matches are in *.java files.


*.java20864 LOC (100%) 133 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".
    • files with paths like ".*/assembly/src[.]xml".
  • 14 files match defined criteria (1,700 LOC, 12.0% vs. main code):
    • 13 *.xml files (1,670 LOC)
    • 1 *.sh files (30 LOC)
  • " *.xml" is biggest, containing 98.24% of LOC.
  • " *.sh" is smallest, containing 1.76% of LOC.


*.xml1670 LOC (98%) 13 files
*.sh30 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 ".*/README[.][a-z0-9]+".
    • files with paths like ".*[.]properties".
    • files with paths like ".*[.]txt".
    • files with paths like ".*/checkstyle.*".
    • files with paths like ".*/checkstyle[.]xml".
    • files with paths like ".*/changes[.]xml".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/[Ee]xamples/.*".
  • 267 files match defined criteria (21,512 LOC, 152.2% vs. main code):
    • 74 *.java files (8,091 LOC)
    • 163 *.properties files (6,940 LOC)
    • 12 *.txt files (5,053 LOC)
    • 15 *.md files (1,174 LOC)
    • 3 *.xml files (254 LOC)
  • " *.java" is biggest, containing 37.61% of LOC.
  • " *.xml" is smallest, containing 1.18% of LOC.


*.java8091 LOC (37%) 74 files
*.properties6940 LOC (32%) 163 files
*.txt5053 LOC (23%) 12 files
*.md1174 LOC (5%) 15 files
*.xml254 LOC (1%) 3 files
Analyzers
Info about analyzers used for source code examinations.


2025-05-07 17:31