azure / YCSB
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
lua
cql
ini
editorconfig
mysql
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.

main21324 LOC (61%) 207 files
test5962 LOC (17%) 58 files
generated0 LOC (0%) 0 files
build and deployment3213 LOC (9%) 51 files
other4455 LOC (12%) 93 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
lua
mysql
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 207 files match defined criteria (21,324 LOC, 100.0% vs. main code):
    • 186 *.java files (20,314 LOC)
    • 10 *.xml files (526 LOC)
    • 7 *.html files (448 LOC)
    • 2 *.lua files (22 LOC)
    • 1 *.mysql files (7 LOC)
    • 1 *.sql files (7 LOC)
  • " *.java" is biggest, containing 95.26% of LOC.
  • " *.sql" is smallest, containing 0.03% of LOC.


*.java20314 LOC (95%) 186 files
*.xml526 LOC (2%) 10 files
*.html448 LOC (2%) 7 files
*.lua22 LOC (<1%) 2 files
*.mysql7 LOC (<1%) 1 file
*.sql7 LOC (<1%) 1 file
Test Code
Used only for testing of the product. Normally not deployed in a production environment.
cql
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/[Tt]est/.*".
  • 58 files match defined criteria (5,962 LOC, 28.0% vs. main code):
    • 50 *.java files (5,815 LOC)
    • 5 *.xml files (113 LOC)
    • 2 *.cql files (24 LOC)
    • 1 *.html files (10 LOC)
  • " *.java" is biggest, containing 97.53% of LOC.
  • " *.html" is smallest, containing 0.17% of LOC.


*.java5815 LOC (97%) 50 files
*.xml113 LOC (1%) 5 files
*.cql24 LOC (<1%) 2 files
*.html10 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 ".*[.]sh".
    • files with paths like ".*[.]bat".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
  • 51 files match defined criteria (3,213 LOC, 15.1% vs. main code). All matches are in *.xml files.


*.xml3213 LOC (100%) 51 files
Other Code
properties
txt
ini
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 ".*[.]properties".
    • files with paths like ".*/checkstyle[.]xml".
    • files with paths like ".*/checkstyle.*".
    • files with paths like ".*[.]txt".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]editorconfig".
    • files with paths like ".*/LICENSE[.][a-z0-9]+".
    • files with paths like ".*[.]ini".
  • 93 files match defined criteria (4,455 LOC, 20.9% vs. main code):
    • 54 *.md files (3,217 LOC)
    • 32 *.properties files (937 LOC)
    • 5 *.txt files (209 LOC)
    • 1 *.xml files (75 LOC)
    • 1 *.ini files (17 LOC)
  • " *.md" is biggest, containing 72.21% of LOC.
  • " *.ini" is smallest, containing 0.38% of LOC.


*.md3217 LOC (72%) 54 files
*.properties937 LOC (21%) 32 files
*.txt209 LOC (4%) 5 files
*.xml75 LOC (1%) 1 file
*.ini17 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-05-06 22:32