apache / commons-math
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
properties
cgi
gitattributes
xsl
gnuplot
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.

main83397 LOC (48%) 752 files
test73868 LOC (42%) 436 files
generated0 LOC (0%) 0 files
build and deployment2067 LOC (1%) 19 files
other12660 LOC (7%) 44 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
xsl
cgi
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 752 files match defined criteria (83,397 LOC, 100.0% vs. main code):
    • 708 *.java files (73,339 LOC)
    • 39 *.xml files (9,820 LOC)
    • 2 *.css files (96 LOC)
    • 1 *.html files (72 LOC)
    • 1 *.xsl files (50 LOC)
    • 1 *.cgi files (20 LOC)
  • " *.java" is biggest, containing 87.94% of LOC.
  • " *.cgi" is smallest, containing 0.02% of LOC.


*.java73339 LOC (87%) 708 files
*.xml9820 LOC (11%) 39 files
*.css96 LOC (<1%) 2 files
*.html72 LOC (<1%) 1 file
*.xsl50 LOC (<1%) 1 file
*.cgi20 LOC (<1%) 1 file
Test Code
Used only for testing of the product. Normally not deployed in a production environment.
gnuplot
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/[Tt]est/.*".
  • 436 files match defined criteria (73,868 LOC, 88.6% vs. main code):
    • 434 *.java files (73,758 LOC)
    • 1 *.gnuplot files (107 LOC)
    • 1 *.sh files (3 LOC)
  • " *.java" is biggest, containing 99.85% of LOC.
  • " *.sh" is smallest, containing 0% of LOC.


*.java73758 LOC (99%) 434 files
*.gnuplot107 LOC (<1%) 1 file
*.sh3 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 ".*[.]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,067 LOC, 2.5% vs. main code). All matches are in *.xml files.


*.xml2067 LOC (100%) 19 files
Other Code
txt
properties
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 ".*[.]txt".
    • files with paths like ".*/[Ee]xamples/.*".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*[.]properties".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/checkstyle.*".
    • files with paths like ".*/checkstyle[.]xml".
  • 44 files match defined criteria (12,660 LOC, 15.2% vs. main code):
    • 18 *.txt files (10,838 LOC)
    • 13 *.java files (831 LOC)
    • 5 *.properties files (425 LOC)
    • 4 *.xml files (338 LOC)
    • 4 *.md files (228 LOC)
  • " *.txt" is biggest, containing 85.61% of LOC.
  • " *.md" is smallest, containing 1.8% of LOC.


*.txt10838 LOC (85%) 18 files
*.java831 LOC (6%) 13 files
*.properties425 LOC (3%) 5 files
*.xml338 LOC (2%) 4 files
*.md228 LOC (1%) 4 files
Analyzers
Info about analyzers used for source code examinations.


2023-08-10 15:23