apache / commons-rng
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
patch
gitattributes
xsl
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.

main14511 LOC (24%) 212 files
test21633 LOC (36%) 160 files
generated0 LOC (0%) 0 files
build and deployment2217 LOC (3%) 20 files
other20875 LOC (35%) 129 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
xsl
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 212 files match defined criteria (14,511 LOC, 100.0% vs. main code):
    • 178 *.java files (12,618 LOC)
    • 28 *.xml files (1,558 LOC)
    • 1 *.c files (187 LOC)
    • 4 *.css files (98 LOC)
    • 1 *.xsl files (50 LOC)
  • " *.java" is biggest, containing 86.95% of LOC.
  • " *.xsl" is smallest, containing 0.34% of LOC.


*.java12618 LOC (86%) 178 files
*.xml1558 LOC (10%) 28 files
*.c187 LOC (1%) 1 file
*.css98 LOC (<1%) 4 files
*.xsl50 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 ".*_test[.].*".
  • 160 files match defined criteria (21,633 LOC, 149.1% vs. main code). All matches are in *.java files.


*.java21633 LOC (100%) 160 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".
  • 20 files match defined criteria (2,217 LOC, 15.3% vs. main code):
    • 18 *.xml files (2,168 LOC)
    • 2 *.sh files (49 LOC)
  • " *.xml" is biggest, containing 97.79% of LOC.
  • " *.sh" is smallest, containing 2.21% of LOC.


*.xml2168 LOC (97%) 18 files
*.sh49 LOC (2%) 2 files
Other Code
txt
patch
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]txt".
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*[.]json".
    • 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/.*".
    • files with paths like ".*[.]patch".
  • 129 files match defined criteria (20,875 LOC, 143.9% vs. main code):
    • 86 *.java files (15,158 LOC)
    • 11 *.txt files (3,017 LOC)
    • 26 *.md files (1,877 LOC)
    • 3 *.xml files (716 LOC)
    • 2 *.patch files (84 LOC)
    • 1 *.json files (23 LOC)
  • " *.java" is biggest, containing 72.61% of LOC.
  • " *.json" is smallest, containing 0.11% of LOC.


*.java15158 LOC (72%) 86 files
*.txt3017 LOC (14%) 11 files
*.md1877 LOC (8%) 26 files
*.xml716 LOC (3%) 3 files
*.patch84 LOC (<1%) 2 files
*.json23 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-05-07 16:02