apache / cassandra-java-driver
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
properties
cql
x
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.

main89835 LOC (42%) 1,175 files
test83167 LOC (39%) 688 files
generated0 LOC (0%) 0 files
build and deployment2966 LOC (1%) 18 files
other34690 LOC (16%) 194 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 ".*".
  • 1175 files match defined criteria (89,835 LOC, 100.0% vs. main code):
    • 1,167 *.java files (89,446 LOC)
    • 4 *.xml files (213 LOC)
    • 3 *.yaml files (156 LOC)
    • 1 *.scala files (20 LOC)
  • " *.java" is biggest, containing 99.57% of LOC.
  • " *.scala" is smallest, containing 0.02% of LOC.


*.java89446 LOC (99%) 1,167 files
*.xml213 LOC (<1%) 4 files
*.yaml156 LOC (<1%) 3 files
*.scala20 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/.*".
    • files with paths like ".*[-]tests/.*".
  • 688 files match defined criteria (83,167 LOC, 92.6% vs. main code):
    • 671 *.java files (81,005 LOC)
    • 10 *.cql files (1,408 LOC)
    • 7 *.xml files (754 LOC)
  • " *.java" is biggest, containing 97.4% of LOC.
  • " *.xml" is smallest, containing 0.91% of LOC.


*.java81005 LOC (97%) 671 files
*.cql1408 LOC (1%) 10 files
*.xml754 LOC (<1%) 7 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 ".*[.]sh".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
  • 18 files match defined criteria (2,966 LOC, 3.3% vs. main code):
    • 13 *.xml files (2,657 LOC)
    • 5 *.sh files (309 LOC)
  • " *.xml" is biggest, containing 89.58% of LOC.
  • " *.sh" is smallest, containing 10.42% of LOC.


*.xml2657 LOC (89%) 13 files
*.sh309 LOC (10%) 5 files
Other Code
txt
properties
cql
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]properties".
    • files with paths like ".*[.]json".
    • files with paths like ".*/[Ee]xamples/.*".
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*[.](rst|rest|resttxt|rsttxt)".
    • files with paths like ".*[.]txt".
    • files with paths like ".*/[.]gitignore".
  • 194 files match defined criteria (34,690 LOC, 38.6% vs. main code):
    • 115 *.md files (18,928 LOC)
    • 10 *.json files (10,639 LOC)
    • 40 *.java files (3,313 LOC)
    • 13 *.txt files (1,223 LOC)
    • 12 *.properties files (236 LOC)
    • 2 *.xml files (201 LOC)
    • 1 *.cql files (124 LOC)
    • 1 *.rst files (26 LOC)
  • " *.md" is biggest, containing 54.56% of LOC.
  • " *.rst" is smallest, containing 0.07% of LOC.


*.md18928 LOC (54%) 115 files
*.json10639 LOC (30%) 10 files
*.java3313 LOC (9%) 40 files
*.txt1223 LOC (3%) 13 files
*.properties236 LOC (<1%) 12 files
*.xml201 LOC (<1%) 2 files
*.cql124 LOC (<1%) 1 file
*.rst26 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-05-07 15:29