apache / flink-web
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
htaccess
gitmodules
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.

main9133 LOC (4%) 250 files
test0 LOC (0%) 0 files
generated191997 LOC (85%) 324 files
build and deployment1077 LOC (<1%) 15 files
other22389 LOC (9%) 42 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 ".*".
  • 250 files match defined criteria (9,133 LOC, 100.0% vs. main code):
    • 15 *.xml files (6,626 LOC)
    • 229 *.html files (2,326 LOC)
    • 4 *.js files (111 LOC)
    • 2 *.rdf files (70 LOC)
  • " *.xml" is biggest, containing 72.55% of LOC.
  • " *.rdf" is smallest, containing 0.77% of LOC.


*.xml6626 LOC (72%) 15 files
*.html2326 LOC (25%) 229 files
*.js111 LOC (1%) 4 files
*.rdf70 LOC (<1%) 2 files
Generated Code
Automatically generated files, not manually changed after generation.
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/generated/.*".
    • files with paths like ".*[.](html|html|xhtml)" AND any line of content like "[ ]*[<]meta name[=]"generator" .*".
  • 324 files match defined criteria (191,997 LOC, 2102.2% vs. main code):
    • 323 *.html files (189,090 LOC)
    • 1 *.yml files (2,907 LOC)
  • " *.html" is biggest, containing 98.49% of LOC.
  • " *.yml" is smallest, containing 1.51% of LOC.


*.html189090 LOC (98%) 323 files
*.yml2907 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 ".*[.]sh".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/[.]gitmodules".
  • 15 files match defined criteria (1,077 LOC, 11.8% vs. main code). All matches are in *.sh files.


*.sh1077 LOC (100%) 15 files
Other Code
txt
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]svg".
    • files with paths like ".*/[Dd]ocumentation/.*".
    • files with paths like ".*[.]txt".
    • files with paths like ".*/LICENSE[.][a-z0-9]+".
    • files with paths like ".*/[.]htaccess".
    • files with paths like ".*[.]md".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/README[.][a-z0-9]+".
  • 42 files match defined criteria (22,389 LOC, 245.1% vs. main code):
    • 15 *.svg files (14,663 LOC)
    • 22 *.html files (7,470 LOC)
    • 2 *.xml files (160 LOC)
    • 1 *.md files (66 LOC)
    • 1 *.txt files (15 LOC)
    • 1 *.json files (15 LOC)
  • " *.svg" is biggest, containing 65.49% of LOC.
  • " *.json" is smallest, containing 0.07% of LOC.


*.svg14663 LOC (65%) 15 files
*.html7470 LOC (33%) 22 files
*.xml160 LOC (<1%) 2 files
*.md66 LOC (<1%) 1 file
*.txt15 LOC (<1%) 1 file
*.json15 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2023-08-10 15:49