apache / commons-bsf
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
rex
xsl
properties
cgi
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.

main8329 LOC (73%) 81 files
test941 LOC (8%) 13 files
generated0 LOC (0%) 0 files
build and deployment565 LOC (5%) 5 files
other1425 LOC (12%) 34 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 ".*".
  • 81 files match defined criteria (8,329 LOC, 100.0% vs. main code):
    • 62 *.java files (5,459 LOC)
    • 15 *.xml files (2,267 LOC)
    • 1 *.xsl files (417 LOC)
    • 1 *.c files (157 LOC)
    • 1 *.h files (25 LOC)
    • 1 *.cgi files (4 LOC)
  • " *.java" is biggest, containing 65.54% of LOC.
  • " *.cgi" is smallest, containing 0.05% of LOC.


*.java5459 LOC (65%) 62 files
*.xml2267 LOC (27%) 15 files
*.xsl417 LOC (5%) 1 file
*.c157 LOC (1%) 1 file
*.h25 LOC (<1%) 1 file
*.cgi4 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/.*".
  • 13 files match defined criteria (941 LOC, 11.3% vs. main code). All matches are in *.java files.


*.java941 LOC (100%) 13 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 ".*/build[.]xml".
    • files with paths like ".*[.]sh".
    • files with paths like ".*[.]bat".
  • 5 files match defined criteria (565 LOC, 6.8% vs. main code):
    • 3 *.xml files (514 LOC)
    • 1 *.bat files (41 LOC)
    • 1 *.sh files (10 LOC)
  • " *.xml" is biggest, containing 90.97% of LOC.
  • " *.sh" is smallest, containing 1.77% of LOC.


*.xml514 LOC (90%) 3 files
*.bat41 LOC (7%) 1 file
*.sh10 LOC (1%) 1 file
Other Code
txt
rex
properties
xsl
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 ".*/changes[.]xml".
    • files with paths like ".*[.]txt".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/[Ss]amples/.*".
    • files with paths like ".*/[Ee]xamples/.*".
    • files with paths like ".*/LICENSE[.][a-z0-9]+".
    • files with paths like ".*/INSTALL[.][a-z0-9]+".
  • 34 files match defined criteria (1,425 LOC, 17.1% vs. main code):
    • 9 *.txt files (460 LOC)
    • 4 *.rex files (225 LOC)
    • 4 *.md files (213 LOC)
    • 3 *.java files (115 LOC)
    • 3 *.properties files (114 LOC)
    • 1 *.jsp files (110 LOC)
    • 3 *.js files (58 LOC)
    • 2 *.py files (57 LOC)
    • 3 *.xml files (45 LOC)
    • 2 *.xsl files (28 LOC)
  • " *.txt" is biggest, containing 32.28% of LOC.
  • " *.xsl" is smallest, containing 1.96% of LOC.


*.txt460 LOC (32%) 9 files
*.rex225 LOC (15%) 4 files
*.md213 LOC (14%) 4 files
*.java115 LOC (8%) 3 files
*.properties114 LOC (8%) 3 files
*.jsp110 LOC (7%) 1 file
*.js58 LOC (4%) 3 files
*.py57 LOC (4%) 2 files
*.xml45 LOC (3%) 3 files
*.xsl28 LOC (1%) 2 files
Analyzers
Info about analyzers used for source code examinations.


2025-05-07 15:35