apache / storm-site
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.

main16586 LOC (<1%) 87 files
test0 LOC (0%) 0 files
generated9829028 LOC (96%) 67,973 files
build and deployment6 LOC (<1%) 6 files
other336324 LOC (3%) 2,174 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 ".*".
  • 87 files match defined criteria (16,586 LOC, 100.0% vs. main code):
    • 37 *.css files (13,194 LOC)
    • 34 *.js files (2,759 LOC)
    • 11 *.html files (420 LOC)
    • 3 *.scss files (134 LOC)
    • 1 *.rb files (49 LOC)
    • 1 *.xml files (30 LOC)
  • " *.css" is biggest, containing 79.55% of LOC.
  • " *.xml" is smallest, containing 0.18% of LOC.


*.css13194 LOC (79%) 37 files
*.js2759 LOC (16%) 34 files
*.html420 LOC (2%) 11 files
*.scss134 LOC (<1%) 3 files
*.rb49 LOC (<1%) 1 file
*.xml30 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 .*".
    • files with paths like ".*/generated/.*".
    • files with paths like ".*[.](html|html|xhtml)" AND any line of content like "[ ]*[<]meta name[=]"generator" .*".
  • 67973 files match defined criteria (9,829,028 LOC, 59261.0% vs. main code). All matches are in *.html files.


*.html9829028 LOC (100%) 67,973 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 ".*[.]sh".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
  • 6 files match defined criteria (6 LOC, 0.0% vs. main code). All matches are in *.sh files.


*.sh6 LOC (100%) 6 files
Other Code
txt
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]md".
    • files with paths like ".*[.]txt".
    • files with paths like ".*/[Ss]amples/.*".
    • files with paths like ".*/[Ee]xamples/.*".
    • files with paths like ".*[.]svg".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*/[Dd]ocumentation/.*".
    • files with paths like ".*/[.]gitignore".
  • 2174 files match defined criteria (336,324 LOC, 2027.8% vs. main code):
    • 1,863 *.md files (264,035 LOC)
    • 41 *.svg files (45,531 LOC)
    • 252 *.html files (22,384 LOC)
    • 18 *.txt files (4,374 LOC)
  • " *.md" is biggest, containing 78.51% of LOC.
  • " *.txt" is smallest, containing 1.3% of LOC.


*.md264035 LOC (78%) 1,863 files
*.svg45531 LOC (13%) 41 files
*.html22384 LOC (6%) 252 files
*.txt4374 LOC (1%) 18 files
Analyzers
Info about analyzers used for source code examinations.


2025-05-07 18:06