apache / iotdb-extras
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
mod
tpl
cmd
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.

main23351 LOC (62%) 370 files
test3238 LOC (8%) 44 files
generated0 LOC (0%) 0 files
build and deployment4585 LOC (12%) 34 files
other5894 LOC (15%) 94 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
tpl
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 370 files match defined criteria (23,351 LOC, 100.0% vs. main code):
    • 239 *.java files (15,988 LOC)
    • 35 *.scala files (2,338 LOC)
    • 53 *.yaml files (2,064 LOC)
    • 16 *.go files (1,616 LOC)
    • 11 *.tsx files (770 LOC)
    • 11 *.xml files (370 LOC)
    • 4 *.ts files (132 LOC)
    • 1 *.tpl files (73 LOC)
  • " *.java" is biggest, containing 68.47% of LOC.
  • " *.tpl" is smallest, containing 0.31% of LOC.


*.java15988 LOC (68%) 239 files
*.scala2338 LOC (10%) 35 files
*.yaml2064 LOC (8%) 53 files
*.go1616 LOC (6%) 16 files
*.tsx770 LOC (3%) 11 files
*.xml370 LOC (1%) 11 files
*.ts132 LOC (<1%) 4 files
*.tpl73 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/.*".
    • files with paths like ".*/jest[.][a-zA-Z0-9\.]+".
    • files with paths like ".*_test[.].*".
    • files with paths like ".*/e2e/.*".
  • 44 files match defined criteria (3,238 LOC, 13.9% vs. main code):
    • 28 *.java files (1,999 LOC)
    • 4 *.scala files (739 LOC)
    • 9 *.go files (462 LOC)
    • 2 *.xml files (36 LOC)
    • 1 *.js files (2 LOC)
  • " *.java" is biggest, containing 61.74% of LOC.
  • " *.js" is smallest, containing 0.06% of LOC.


*.java1999 LOC (61%) 28 files
*.scala739 LOC (22%) 4 files
*.go462 LOC (14%) 9 files
*.xml36 LOC (1%) 2 files
*.js2 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 ".*/pom[.]xml".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]sh".
    • files with paths like ".*/package[.]json".
    • files with paths like ".*[.]bat".
  • 34 files match defined criteria (4,585 LOC, 19.6% vs. main code):
    • 26 *.xml files (3,889 LOC)
    • 5 *.sh files (434 LOC)
    • 3 *.bat files (262 LOC)
  • " *.xml" is biggest, containing 84.82% of LOC.
  • " *.bat" is smallest, containing 5.71% of LOC.


*.xml3889 LOC (84%) 26 files
*.sh434 LOC (9%) 5 files
*.bat262 LOC (5%) 3 files
Other Code
properties
mod
txt
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/[Ee]xamples/.*".
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*[.]properties".
    • files with paths like ".*/checkstyle[.]xml".
    • files with paths like ".*/checkstyle.*".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]svg".
    • files with paths like ".*[.]json".
    • files with paths like ".*/go[.]mod".
    • files with paths like ".*[.]txt".
    • files with paths like ".*/[Ss]amples/.*".
    • files with paths like ".*/[.]dockerignore".
  • 94 files match defined criteria (5,894 LOC, 25.2% vs. main code):
    • 37 *.java files (2,269 LOC)
    • 22 *.md files (1,819 LOC)
    • 14 *.xml files (791 LOC)
    • 1 *.svg files (267 LOC)
    • 4 *.properties files (212 LOC)
    • 2 *.mod files (176 LOC)
    • 4 *.json files (160 LOC)
    • 3 *.scala files (86 LOC)
    • 5 *.yaml files (83 LOC)
    • 2 *.txt files (31 LOC)
  • " *.java" is biggest, containing 38.5% of LOC.
  • " *.txt" is smallest, containing 0.53% of LOC.


*.java2269 LOC (38%) 37 files
*.md1819 LOC (30%) 22 files
*.xml791 LOC (13%) 14 files
*.svg267 LOC (4%) 1 file
*.properties212 LOC (3%) 4 files
*.mod176 LOC (2%) 2 files
*.json160 LOC (2%) 4 files
*.scala86 LOC (1%) 3 files
*.yaml83 LOC (1%) 5 files
*.txt31 LOC (<1%) 2 files
Analyzers
Info about analyzers used for source code examinations.


2025-05-07 20:58