apache / datasketches-website
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
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.

main3415 LOC (8%) 36 files
test0 LOC (0%) 0 files
generated33821 LOC (81%) 301 files
build and deployment537 LOC (1%) 1 file
other3646 LOC (8%) 20 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 ".*".
  • 36 files match defined criteria (3,415 LOC, 100.0% vs. main code):
    • 11 *.css files (1,634 LOC)
    • 8 *.java files (826 LOC)
    • 11 *.html files (540 LOC)
    • 3 *.xml files (311 LOC)
    • 2 *.js files (58 LOC)
    • 1 *.rdf files (46 LOC)
  • " *.css" is biggest, containing 47.85% of LOC.
  • " *.rdf" is smallest, containing 1.35% of LOC.


*.css1634 LOC (47%) 11 files
*.java826 LOC (24%) 8 files
*.html540 LOC (15%) 11 files
*.xml311 LOC (9%) 3 files
*.js58 LOC (1%) 2 files
*.rdf46 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 any line of content like "\<\!\-\-[ ]*Generated by .*".
  • 301 files match defined criteria (33,821 LOC, 990.4% vs. main code). All matches are in *.html files.


*.html33821 LOC (100%) 301 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 ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
  • 1 file matches defined criteria (537 LOC, 15.7% vs. main code). All matches are in *.xml files.


*.xml537 LOC (100%) 1 file
Other Code
txt
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]svg".
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]txt".
    • files with paths like ".*/[.]gitignore".
  • 20 files match defined criteria (3,646 LOC, 106.8% vs. main code):
    • 15 *.svg files (3,408 LOC)
    • 2 *.md files (116 LOC)
    • 1 *.json files (92 LOC)
    • 2 *.txt files (30 LOC)
  • " *.svg" is biggest, containing 93.47% of LOC.
  • " *.txt" is smallest, containing 0.82% of LOC.


*.svg3408 LOC (93%) 15 files
*.md116 LOC (3%) 2 files
*.json92 LOC (2%) 1 file
*.txt30 LOC (<1%) 2 files
Analyzers
Info about analyzers used for source code examinations.


2025-05-07 15:50