apache / rocketmq-dashboard
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
properties
txt
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.

main13877 LOC (74%) 160 files
test4074 LOC (21%) 34 files
generated6 LOC (<1%) 1 file
build and deployment443 LOC (2%) 1 file
other199 LOC (1%) 8 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 160 files match defined criteria (13,877 LOC, 100.0% vs. main code):
    • 109 *.java files (6,795 LOC)
    • 20 *.js files (3,286 LOC)
    • 17 *.html files (2,676 LOC)
    • 7 *.css files (761 LOC)
    • 5 *.xml files (309 LOC)
    • 2 *.yml files (50 LOC)
  • " *.java" is biggest, containing 48.97% of LOC.
  • " *.yml" is smallest, containing 0.36% of LOC.


*.java6795 LOC (48%) 109 files
*.js3286 LOC (23%) 20 files
*.html2676 LOC (19%) 17 files
*.css761 LOC (5%) 7 files
*.xml309 LOC (2%) 5 files
*.yml50 LOC (<1%) 2 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 ".*[.][Tt]est[.].*".
    • files with paths like ".*[.]test[.].*".
    • files with paths like ".*/[Tt]est/.*".
  • 34 files match defined criteria (4,074 LOC, 29.4% vs. main code):
    • 31 *.java files (4,038 LOC)
    • 2 *.xml files (31 LOC)
    • 1 *.js files (5 LOC)
  • " *.java" is biggest, containing 99.12% of LOC.
  • " *.js" is smallest, containing 0.12% of LOC.


*.java4038 LOC (99%) 31 files
*.xml31 LOC (<1%) 2 files
*.js5 LOC (<1%) 1 file
Generated Code
Automatically generated files, not manually changed after generation.
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/package[-]lock[.]json".
  • 1 file matches defined criteria (6 LOC, 0.0% vs. main code). All matches are in *.json files.


*.json6 LOC (100%) 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 ".*/package[.]json".
    • files with paths like ".*/pom[.]xml".
    • files with paths like ".*/package[-]lock[.]json".
  • 1 file matches defined criteria (443 LOC, 3.2% vs. main code). All matches are in *.xml files.


*.xml443 LOC (100%) 1 file
Other Code
properties
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]json".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*[.]txt".
    • files with paths like ".*[.]properties".
  • 8 files match defined criteria (199 LOC, 1.4% vs. main code):
    • 4 *.json files (75 LOC)
    • 3 *.properties files (72 LOC)
    • 1 *.md files (52 LOC)
  • " *.json" is biggest, containing 37.69% of LOC.
  • " *.md" is smallest, containing 26.13% of LOC.


*.json75 LOC (37%) 4 files
*.properties72 LOC (36%) 3 files
*.md52 LOC (26%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2023-08-11 02:17