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

main10944 LOC (41%) 262 files
test14673 LOC (55%) 134 files
generated0 LOC (0%) 0 files
build and deployment89 LOC (<1%) 2 files
other585 LOC (2%) 17 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 ".*".
  • 262 files match defined criteria (10,944 LOC, 100.0% vs. main code):
    • 147 *.kt files (8,047 LOC)
    • 83 *.java files (1,903 LOC)
    • 22 *.kts files (462 LOC)
    • 5 *.graphqls files (290 LOC)
    • 2 *.py files (187 LOC)
    • 2 *.js files (37 LOC)
    • 1 *.xml files (18 LOC)
  • " *.kt" is biggest, containing 73.53% of LOC.
  • " *.xml" is smallest, containing 0.16% of LOC.


*.kt8047 LOC (73%) 147 files
*.java1903 LOC (17%) 83 files
*.kts462 LOC (4%) 22 files
*.graphqls290 LOC (2%) 5 files
*.py187 LOC (1%) 2 files
*.js37 LOC (<1%) 2 files
*.xml18 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/.*".
  • 134 files match defined criteria (14,673 LOC, 134.1% vs. main code):
    • 77 *.kt files (12,945 LOC)
    • 48 *.java files (1,665 LOC)
    • 8 *.graphqls files (60 LOC)
    • 1 *.graphql files (3 LOC)
  • " *.kt" is biggest, containing 88.22% of LOC.
  • " *.graphql" is smallest, containing 0.02% of LOC.


*.kt12945 LOC (88%) 77 files
*.java1665 LOC (11%) 48 files
*.graphqls60 LOC (<1%) 8 files
*.graphql3 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 ".*[.]gradle".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/[.]gitattributes".
    • files with paths like ".*[.]bat".
  • 2 files match defined criteria (89 LOC, 0.8% vs. main code):
    • 1 *.bat files (73 LOC)
    • 1 *.gradle files (16 LOC)
  • " *.bat" is biggest, containing 82.02% of LOC.
  • " *.gradle" is smallest, containing 17.98% of LOC.


*.bat73 LOC (82%) 1 file
*.gradle16 LOC (17%) 1 file
Other Code
txt
properties
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]txt".
    • files with paths like ".*[.]json".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]properties".
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*[.]editorconfig".
  • 17 files match defined criteria (585 LOC, 5.3% vs. main code):
    • 6 *.json files (274 LOC)
    • 7 *.md files (200 LOC)
    • 3 *.txt files (88 LOC)
    • 1 *.properties files (23 LOC)
  • " *.json" is biggest, containing 46.84% of LOC.
  • " *.properties" is smallest, containing 3.93% of LOC.


*.json274 LOC (46%) 6 files
*.md200 LOC (34%) 7 files
*.txt88 LOC (15%) 3 files
*.properties23 LOC (3%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-05-02 23:46