apache / qpid-interop-test
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
in
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.

main10697 LOC (80%) 74 files
test1298 LOC (9%) 5 files
generated0 LOC (0%) 0 files
build and deployment173 LOC (1%) 3 files
other1118 LOC (8%) 11 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 ".*".
  • 74 files match defined criteria (10,697 LOC, 100.0% vs. main code):
    • 21 *.py files (3,046 LOC)
    • 17 *.cpp files (2,588 LOC)
    • 6 *.java files (1,829 LOC)
    • 4 *.cs files (1,813 LOC)
    • 18 *.hpp files (813 LOC)
    • 2 *.js files (405 LOC)
    • 2 *.cmake files (115 LOC)
    • 4 *.in files (88 LOC)
  • " *.py" is biggest, containing 28.48% of LOC.
  • " *.in" is smallest, containing 0.82% of LOC.


*.py3046 LOC (28%) 21 files
*.cpp2588 LOC (24%) 17 files
*.java1829 LOC (17%) 6 files
*.cs1813 LOC (16%) 4 files
*.hpp813 LOC (7%) 18 files
*.js405 LOC (3%) 2 files
*.cmake115 LOC (1%) 2 files
*.in88 LOC (<1%) 4 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[.].*".
  • 5 files match defined criteria (1,298 LOC, 12.1% vs. main code). All matches are in *.py files.


*.py1298 LOC (100%) 5 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".
  • 3 files match defined criteria (173 LOC, 1.6% vs. main code). All matches are in *.xml files.


*.xml173 LOC (100%) 3 files
Other Code
txt
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]txt".
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]md".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/README[.][a-z0-9]+".
  • 11 files match defined criteria (1,118 LOC, 10.5% vs. main code):
    • 6 *.txt files (501 LOC)
    • 3 *.json files (478 LOC)
    • 2 *.md files (139 LOC)
  • " *.txt" is biggest, containing 44.81% of LOC.
  • " *.md" is smallest, containing 12.43% of LOC.


*.txt501 LOC (44%) 6 files
*.json478 LOC (42%) 3 files
*.md139 LOC (12%) 2 files
Analyzers
Info about analyzers used for source code examinations.


2023-08-10 18:39