apache / doris-manager
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
babelrc
editorconfig
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.

main33448 LOC (84%) 622 files
test3634 LOC (9%) 17 files
generated0 LOC (0%) 0 files
build and deployment904 LOC (2%) 15 files
other1581 LOC (3%) 19 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 ".*".
  • 622 files match defined criteria (33,448 LOC, 100.0% vs. main code):
    • 360 *.java files (21,683 LOC)
    • 117 *.tsx files (7,925 LOC)
    • 89 *.ts files (2,664 LOC)
    • 38 *.less files (713 LOC)
    • 2 *.xml files (157 LOC)
    • 11 *.mustache files (120 LOC)
    • 1 *.css files (87 LOC)
    • 1 *.jsx files (51 LOC)
    • 2 *.js files (36 LOC)
    • 1 *.html files (12 LOC)
  • " *.java" is biggest, containing 64.83% of LOC.
  • " *.html" is smallest, containing 0.04% of LOC.


*.java21683 LOC (64%) 360 files
*.tsx7925 LOC (23%) 117 files
*.ts2664 LOC (7%) 89 files
*.less713 LOC (2%) 38 files
*.xml157 LOC (<1%) 2 files
*.mustache120 LOC (<1%) 11 files
*.css87 LOC (<1%) 1 file
*.jsx51 LOC (<1%) 1 file
*.js36 LOC (<1%) 2 files
*.html12 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/.*".
  • 17 files match defined criteria (3,634 LOC, 10.9% vs. main code). All matches are in *.java files.


*.java3634 LOC (100%) 17 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 ".*([.]|/)webpack([.]|/).*".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/package[.]json".
    • files with paths like ".*[.]sh".
    • files with paths like ".*/pom[.]xml".
  • 15 files match defined criteria (904 LOC, 2.7% vs. main code):
    • 8 *.xml files (549 LOC)
    • 4 *.js files (246 LOC)
    • 3 *.sh files (109 LOC)
  • " *.xml" is biggest, containing 60.73% of LOC.
  • " *.sh" is smallest, containing 12.06% of LOC.


*.xml549 LOC (60%) 8 files
*.js246 LOC (27%) 4 files
*.sh109 LOC (12%) 3 files
Other Code
txt
properties
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]md".
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]editorconfig".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/checkstyle.*".
    • files with paths like ".*[.]properties".
    • files with paths like ".*[.]txt".
    • files with paths like ".*/LICENSE[.][a-z0-9]+".
  • 19 files match defined criteria (1,581 LOC, 4.7% vs. main code):
    • 5 *.json files (821 LOC)
    • 6 *.md files (300 LOC)
    • 2 *.xml files (206 LOC)
    • 2 *.txt files (173 LOC)
    • 4 *.properties files (81 LOC)
  • " *.json" is biggest, containing 51.93% of LOC.
  • " *.properties" is smallest, containing 5.12% of LOC.


*.json821 LOC (51%) 5 files
*.md300 LOC (18%) 6 files
*.xml206 LOC (13%) 2 files
*.txt173 LOC (10%) 2 files
*.properties81 LOC (5%) 4 files
Analyzers
Info about analyzers used for source code examinations.


2023-08-11 02:22