netflix / dgs-codegen
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
editorconfig
properties
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.

main17700 LOC (52%) 538 files
test15555 LOC (46%) 53 files
generated0 LOC (0%) 0 files
build and deployment218 LOC (<1%) 6 files
other234 LOC (<1%) 9 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 ".*".
  • 538 files match defined criteria (17,700 LOC, 100.0% vs. main code):
    • 470 *.kt files (16,879 LOC)
    • 64 *.graphql files (633 LOC)
    • 2 *.py files (163 LOC)
    • 1 *.kts files (15 LOC)
    • 1 *.java files (10 LOC)
  • " *.kt" is biggest, containing 95.36% of LOC.
  • " *.java" is smallest, containing 0.06% of LOC.


*.kt16879 LOC (95%) 470 files
*.graphql633 LOC (3%) 64 files
*.py163 LOC (<1%) 2 files
*.kts15 LOC (<1%) 1 file
*.java10 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]est/.*".
  • 53 files match defined criteria (15,555 LOC, 87.9% vs. main code):
    • 34 *.kt files (15,063 LOC)
    • 3 *.graphqls files (287 LOC)
    • 12 *.gradle files (104 LOC)
    • 4 *.java files (101 LOC)
  • " *.kt" is biggest, containing 96.84% of LOC.
  • " *.java" is smallest, containing 0.65% of LOC.


*.kt15063 LOC (96%) 34 files
*.graphqls287 LOC (1%) 3 files
*.gradle104 LOC (<1%) 12 files
*.java101 LOC (<1%) 4 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 ".*[.]gradle".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]bat".
  • 6 files match defined criteria (218 LOC, 1.2% vs. main code):
    • 5 *.gradle files (147 LOC)
    • 1 *.bat files (71 LOC)
  • " *.gradle" is biggest, containing 67.43% of LOC.
  • " *.bat" is smallest, containing 32.57% of LOC.


*.gradle147 LOC (67%) 5 files
*.bat71 LOC (32%) 1 file
Other Code
txt
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]properties".
    • 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 ".*[.]json".
    • files with paths like ".*[.]editorconfig".
  • 9 files match defined criteria (234 LOC, 1.3% vs. main code):
    • 8 *.md files (232 LOC)
    • 1 *.txt files (2 LOC)
  • " *.md" is biggest, containing 99.15% of LOC.
  • " *.txt" is smallest, containing 0.85% of LOC.


*.md232 LOC (99%) 8 files
*.txt2 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-05-02 23:46