apache / airflow-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
htaccess
stylelintignore
editorconfig
cfg
babelrc
gitmodules
eslintignore
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.

main10334731 LOC (45%) 58,959 files
test1030 LOC (<1%) 25 files
generated68739 LOC (<1%) 105 files
build and deployment11100 LOC (<1%) 106 files
other12272174 LOC (54%) 133,387 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
cfg
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 58959 files match defined criteria (10,334,731 LOC, 100.0% vs. main code):
    • 28,894 *.js files (6,819,780 LOC)
    • 12,290 *.css files (2,384,515 LOC)
    • 17,668 *.html files (911,737 LOC)
    • 59 *.yaml files (215,522 LOC)
    • 42 *.scss files (2,909 LOC)
    • 1 *.toml files (153 LOC)
    • 3 *.py files (111 LOC)
    • 1 *.cfg files (2 LOC)
    • 1 *.xml files (2 LOC)
  • " *.js" is biggest, containing 65.99% of LOC.
  • " *.xml" is smallest, containing 0% of LOC.


*.js6819780 LOC (65%) 28,894 files
*.css2384515 LOC (23%) 12,290 files
*.html911737 LOC (8%) 17,668 files
*.yaml215522 LOC (2%) 59 files
*.scss2909 LOC (<1%) 42 files
*.toml153 LOC (<1%) 1 file
*.py111 LOC (<1%) 3 files
*.cfg2 LOC (<1%) 1 file
*.xml2 LOC (<1%) 1 file
Test Code
Used only for testing of the product. Normally not deployed in a production environment.
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/[Tt]ests/.*".
    • files with paths like ".*[-]test[-].*".
    • files with paths like ".*/test_.*".
  • 25 files match defined criteria (1,030 LOC, 0.0% vs. main code). All matches are in *.html files.


*.html1030 LOC (100%) 25 files
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 .*".
  • 105 files match defined criteria (68,739 LOC, 0.7% vs. main code). All matches are in *.svg files.


*.svg68739 LOC (100%) 105 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".
    • files with paths like ".*/package[.]json".
    • files with paths like ".*([.]|/)webpack([.]|/).*".
    • files with paths like ".*/[.]gitmodules".
    • files with paths like ".*/docker[-]compose[.]yaml".
  • 106 files match defined criteria (11,100 LOC, 0.1% vs. main code):
    • 51 *.yaml files (10,225 LOC)
    • 52 *.sh files (770 LOC)
    • 3 *.js files (105 LOC)
  • " *.yaml" is biggest, containing 92.12% of LOC.
  • " *.js" is smallest, containing 0.95% of LOC.


*.yaml10225 LOC (92%) 51 files
*.sh770 LOC (6%) 52 files
*.js105 LOC (<1%) 3 files
Other Code
txt
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 ".*[.]txt".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.](rst|rest|resttxt|rsttxt)".
    • files with paths like ".*/LICENSE[.][a-z0-9]+".
    • files with paths like ".*[.]json".
    • files with paths like ".*/[.]stylelintignore".
    • files with paths like ".*[.]svg".
    • files with paths like ".*/[.]htaccess".
    • files with paths like ".*/[.]eslintignore".
    • files with paths like ".*/[Dd]emos?/.*".
    • files with paths like ".*[.]editorconfig".
    • files with paths like ".*/[.]dockerignore".
  • 133387 files match defined criteria (12,272,174 LOC, 118.7% vs. main code):
    • 121,191 *.txt files (8,729,066 LOC)
    • 6,461 *.json files (3,409,794 LOC)
    • 5,653 *.svg files (114,004 LOC)
    • 23 *.rst files (14,036 LOC)
    • 57 *.md files (5,202 LOC)
    • 1 *.sh files (54 LOC)
    • 1 *.py files (18 LOC)
  • " *.txt" is biggest, containing 71.13% of LOC.
  • " *.py" is smallest, containing 0% of LOC.


*.txt8729066 LOC (71%) 121,191 files
*.json3409794 LOC (27%) 6,461 files
*.svg114004 LOC (<1%) 5,653 files
*.rst14036 LOC (<1%) 23 files
*.md5202 LOC (<1%) 57 files
*.sh54 LOC (<1%) 1 file
*.py18 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-05-08 00:42