apache / jmeter
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
asc
properties
txt
cmd
xsl
gitattributes
xsd
npmignore
cgi
htaccess
editorconfig
regex
eml
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.

main153975 LOC (70%) 1,625 files
test36516 LOC (16%) 351 files
generated0 LOC (0%) 0 files
build and deployment190 LOC (<1%) 4 files
other26388 LOC (12%) 252 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
asc
xsl
cmd
cgi
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 1625 files match defined criteria (153,975 LOC, 100.0% vs. main code):
    • 1,156 *.java files (120,381 LOC)
    • 51 *.xml files (19,306 LOC)
    • 235 *.asc files (4,973 LOC)
    • 88 *.kt files (3,914 LOC)
    • 71 *.kts files (2,796 LOC)
    • 7 *.xsl files (1,390 LOC)
    • 2 *.css files (562 LOC)
    • 1 *.rdf files (343 LOC)
    • 11 *.html files (244 LOC)
    • 2 *.cmd files (60 LOC)
    • 1 *.cgi files (6 LOC)
  • " *.java" is biggest, containing 78.18% of LOC.
  • " *.cgi" is smallest, containing 0% of LOC.


*.java120381 LOC (78%) 1,156 files
*.xml19306 LOC (12%) 51 files
*.asc4973 LOC (3%) 235 files
*.kt3914 LOC (2%) 88 files
*.kts2796 LOC (1%) 71 files
*.xsl1390 LOC (<1%) 7 files
*.css562 LOC (<1%) 2 files
*.rdf343 LOC (<1%) 1 file
*.html244 LOC (<1%) 11 files
*.cmd60 LOC (<1%) 2 files
*.cgi6 LOC (<1%) 1 file
Test Code
Used only for testing of the product. Normally not deployed in a production environment.
eml
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/test_.*".
    • files with paths like ".*/[Tt]est/.*".
    • files with paths like ".*_test[.].*".
    • files with paths like ".*[-]test[-].*".
  • 351 files match defined criteria (36,516 LOC, 23.7% vs. main code):
    • 238 *.java files (27,996 LOC)
    • 81 *.kt files (5,478 LOC)
    • 18 *.xml files (2,560 LOC)
    • 13 *.html files (433 LOC)
    • 1 *.eml files (49 LOC)
  • " *.java" is biggest, containing 76.67% of LOC.
  • " *.eml" is smallest, containing 0.13% of LOC.


*.java27996 LOC (76%) 238 files
*.kt5478 LOC (15%) 81 files
*.xml2560 LOC (7%) 18 files
*.html433 LOC (1%) 13 files
*.eml49 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 ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]bat".
    • files with paths like ".*[.]sh".
    • files with paths like ".*/package[.]json".
    • files with paths like ".*/[.]gitattributes".
    • files with paths like ".*/build[.]xml".
  • 4 files match defined criteria (190 LOC, 0.1% vs. main code):
    • 1 *.xml files (102 LOC)
    • 1 *.bat files (73 LOC)
    • 2 *.sh files (15 LOC)
  • " *.xml" is biggest, containing 53.68% of LOC.
  • " *.sh" is smallest, containing 7.89% of LOC.


*.xml102 LOC (53%) 1 file
*.bat73 LOC (38%) 1 file
*.sh15 LOC (7%) 2 files
Other Code
properties
txt
regex
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]properties".
    • files with paths like ".*[.]md".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/[Ee]xamples/.*".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*[.]json".
    • files with paths like ".*/[.]npmignore".
    • files with paths like ".*[.]txt".
    • files with paths like ".*/LICENSE[.][a-z0-9]+".
    • files with paths like ".*[.]svg".
    • files with paths like ".*/[Dd]ocumentation/.*".
    • files with paths like ".*/config/checkstyle/.*".
    • files with paths like ".*/checkstyle[.]xml".
    • files with paths like ".*/checkstyle.*".
    • files with paths like ".*[.]editorconfig".
    • files with paths like ".*/changes[.]xml".
    • files with paths like ".*/[.]htaccess".
  • 252 files match defined criteria (26,388 LOC, 17.1% vs. main code):
    • 211 *.properties files (16,216 LOC)
    • 7 *.svg files (6,935 LOC)
    • 3 *.json files (1,630 LOC)
    • 13 *.txt files (540 LOC)
    • 5 *.md files (444 LOC)
    • 8 *.java files (353 LOC)
    • 3 *.xml files (254 LOC)
    • 1 *.regex files (10 LOC)
    • 1 *.kts files (6 LOC)
  • " *.properties" is biggest, containing 61.45% of LOC.
  • " *.kts" is smallest, containing 0.02% of LOC.


*.properties16216 LOC (61%) 211 files
*.svg6935 LOC (26%) 7 files
*.json1630 LOC (6%) 3 files
*.txt540 LOC (2%) 13 files
*.md444 LOC (1%) 5 files
*.java353 LOC (1%) 8 files
*.xml254 LOC (<1%) 3 files
*.regex10 LOC (<1%) 1 file
*.kts6 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-05-07 15:23