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.

main14659 LOC (25%) 211 files
test21414 LOC (37%) 158 files
generated0 LOC (0%) 0 files
build and deployment2088 LOC (3%) 19 files
other19179 LOC (33%) 123 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 ".*".
  • 211 files match defined criteria (14,659 LOC, 100.0% vs. main code):
    • 178 *.java files (12,322 LOC)
    • 28 *.xml files (2,003 LOC)
    • 1 *.c files (187 LOC)
    • 3 *.css files (97 LOC)
    • 1 *.xsl files (50 LOC)
  • " *.java" is biggest, containing 84.06% of LOC.
  • " *.xsl" is smallest, containing 0.34% of LOC.


*.java12322 LOC (84%) 178 files
*.xml2003 LOC (13%) 28 files
*.c187 LOC (1%) 1 file
*.css97 LOC (<1%) 3 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[.].*".
  • 158 files match defined criteria (21,414 LOC, 146.1% vs. main code). All matches are in *.java files.


*.java21414 LOC (100%) 158 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".
  • 19 files match defined criteria (2,088 LOC, 14.2% vs. main code):
    • 17 *.xml files (2,039 LOC)
    • 2 *.sh files (49 LOC)
  • " *.xml" is biggest, containing 97.65% of LOC.
  • " *.sh" is smallest, containing 2.35% of LOC.


*.xml2039 LOC (97%) 17 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 ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*/[Ee]xamples/.*".
    • files with paths like ".*[.]patch".
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]txt".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/checkstyle.*".
    • files with paths like ".*/checkstyle[.]xml".
  • 123 files match defined criteria (19,179 LOC, 130.8% vs. main code):
    • 84 *.java files (14,580 LOC)
    • 10 *.txt files (2,467 LOC)
    • 24 *.md files (1,858 LOC)
    • 2 *.xml files (167 LOC)
    • 2 *.patch files (84 LOC)
    • 1 *.json files (23 LOC)
  • " *.java" is biggest, containing 76.02% of LOC.
  • " *.json" is smallest, containing 0.12% of LOC.


*.java14580 LOC (76%) 84 files
*.txt2467 LOC (12%) 10 files
*.md1858 LOC (9%) 24 files
*.xml167 LOC (<1%) 2 files
*.patch84 LOC (<1%) 2 files
*.json23 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2023-08-10 17:26