apache / qpid-site
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
in
txt
htaccess
properties
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.

main659087 LOC (4%) 7,942 files
test1614 LOC (<1%) 4 files
generated15496722 LOC (94%) 72,954 files
build and deployment4 LOC (<1%) 1 file
other164749 LOC (1%) 1,841 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
in
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 7942 files match defined criteria (659,087 LOC, 100.0% vs. main code):
    • 1,373 *.html files (287,246 LOC)
    • 5,992 *.js files (197,316 LOC)
    • 200 *.css files (124,916 LOC)
    • 367 *.in files (40,861 LOC)
    • 5 *.xml files (5,916 LOC)
    • 5 *.py files (2,832 LOC)
  • " *.html" is biggest, containing 43.58% of LOC.
  • " *.py" is smallest, containing 0.43% of LOC.


*.html287246 LOC (43%) 1,373 files
*.js197316 LOC (29%) 5,992 files
*.css124916 LOC (18%) 200 files
*.in40861 LOC (6%) 367 files
*.xml5916 LOC (<1%) 5 files
*.py2832 LOC (<1%) 5 files
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 ".*/test_.*".
    • files with paths like ".*[-]test[-].*".
  • 4 files match defined criteria (1,614 LOC, 0.2% vs. main code). All matches are in *.html files.


*.html1614 LOC (100%) 4 files
Generated Code
Automatically generated files, not manually changed after generation.
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with any line of content like "\<\!\-\-[ ]*Generated by .*".
    • files with paths like ".*[.](html|html|xhtml)" AND any line of content like "[ ]*[<]meta name[=]"generator" .*".
  • 72954 files match defined criteria (15,496,722 LOC, 2351.2% vs. main code). All matches are in *.html files.


*.html15496722 LOC (100%) 72,954 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 ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]sh".
  • 1 file matches defined criteria (4 LOC, 0.0% vs. main code). All matches are in *.sh files.


*.sh4 LOC (100%) 1 file
Other Code
in
txt
properties
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 ".*/[Mm]an/.*".
    • files with paths like ".*/[Ee]xamples/.*".
    • files with paths like ".*[.]txt".
    • files with paths like ".*[.]svg".
    • files with paths like ".*/[.]htaccess".
    • files with paths like ".*[.]properties".
    • files with paths like ".*[.](rst|rest|resttxt|rsttxt)".
    • files with paths like ".*/LICENSE[.][a-z0-9]+".
    • files with paths like ".*/[.]gitignore".
  • 1841 files match defined criteria (164,749 LOC, 25.0% vs. main code):
    • 360 *.html files (67,494 LOC)
    • 342 *.in files (30,245 LOC)
    • 282 *.cpp files (28,650 LOC)
    • 322 *.py files (13,284 LOC)
    • 264 *.md files (11,545 LOC)
    • 142 *.svg files (5,028 LOC)
    • 90 *.rb files (4,300 LOC)
    • 9 *.txt files (1,443 LOC)
    • 16 *.java files (1,402 LOC)
    • 10 *.hpp files (1,250 LOC)
    • 2 *.h files (58 LOC)
    • 2 *.properties files (50 LOC)
  • " *.html" is biggest, containing 40.97% of LOC.
  • " *.properties" is smallest, containing 0.03% of LOC.


*.html67494 LOC (40%) 360 files
*.in30245 LOC (18%) 342 files
*.cpp28650 LOC (17%) 282 files
*.py13284 LOC (8%) 322 files
*.md11545 LOC (7%) 264 files
*.svg5028 LOC (3%) 142 files
*.rb4300 LOC (2%) 90 files
*.txt1443 LOC (<1%) 9 files
*.java1402 LOC (<1%) 16 files
*.hpp1250 LOC (<1%) 10 files
*.h58 LOC (<1%) 2 files
*.properties50 LOC (<1%) 2 files
Analyzers
Info about analyzers used for source code examinations.


2025-05-07 17:13