GoogleCloudPlatform / oozie-to-airflow
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
properties
tpl
xsd
txt
cfg
pig
in
ini
q
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.

main4281 LOC (16%) 115 files
test4729 LOC (18%) 54 files
generated0 LOC (0%) 0 files
build and deployment283 LOC (1%) 4 files
other16707 LOC (64%) 66 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
tpl
xsd
in
cfg
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 115 files match defined criteria (4,281 LOC, 100.0% vs. main code):
    • 70 *.py files (2,968 LOC)
    • 29 *.tpl files (723 LOC)
    • 11 *.xsd files (521 LOC)
    • 2 *.toml files (46 LOC)
    • 1 *.yaml files (16 LOC)
    • 1 *.in files (5 LOC)
    • 1 *.cfg files (2 LOC)
  • " *.py" is biggest, containing 69.33% of LOC.
  • " *.cfg" is smallest, containing 0.05% of LOC.


*.py2968 LOC (69%) 70 files
*.tpl723 LOC (16%) 29 files
*.xsd521 LOC (12%) 11 files
*.toml46 LOC (1%) 2 files
*.yaml16 LOC (<1%) 1 file
*.in5 LOC (<1%) 1 file
*.cfg2 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 ".*/test_.*".
    • files with paths like ".*/test[.].*".
    • files with paths like ".*/[Tt]ests/.*".
    • files with paths like ".*_tests[.].*".
  • 54 files match defined criteria (4,729 LOC, 110.5% vs. main code). All matches are in *.py files.


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


*.sh283 LOC (100%) 4 files
Other Code
txt
properties
pig
q
ini
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]properties".
    • files with paths like ".*/[Ee]xamples/.*".
    • files with paths like ".*[.]txt".
    • files with paths like ".*/[Dd]emos?/.*".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/LICENSE[.][a-z0-9]+".
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]ini".
  • 66 files match defined criteria (16,707 LOC, 390.3% vs. main code):
    • 8 *.txt files (13,762 LOC)
    • 4 *.md files (1,038 LOC)
    • 32 *.properties files (990 LOC)
    • 18 *.xml files (839 LOC)
    • 2 *.pig files (50 LOC)
    • 1 *.q files (20 LOC)
    • 1 *.ini files (8 LOC)
  • " *.txt" is biggest, containing 82.37% of LOC.
  • " *.ini" is smallest, containing 0.05% of LOC.


*.txt13762 LOC (82%) 8 files
*.md1038 LOC (6%) 4 files
*.properties990 LOC (5%) 32 files
*.xml839 LOC (5%) 18 files
*.pig50 LOC (<1%) 2 files
*.q20 LOC (<1%) 1 file
*.ini8 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-05-04 14:42