netflix / metacat
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
txt
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.

main44314 LOC (66%) 665 files
test19131 LOC (28%) 131 files
generated0 LOC (0%) 0 files
build and deployment704 LOC (1%) 31 files
other2895 LOC (4%) 31 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 ".*".
  • 665 files match defined criteria (44,314 LOC, 100.0% vs. main code):
    • 660 *.java files (44,141 LOC)
    • 1 *.groovy files (76 LOC)
    • 2 *.sql files (55 LOC)
    • 2 *.xml files (42 LOC)
  • " *.java" is biggest, containing 99.61% of LOC.
  • " *.xml" is smallest, containing 0.09% of LOC.


*.java44141 LOC (99%) 660 files
*.groovy76 LOC (<1%) 1 file
*.sql55 LOC (<1%) 2 files
*.xml42 LOC (<1%) 2 files
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/.*".
    • files with paths like ".*[-]tests/.*".
    • files with paths like ".*[-]test[-].*".
  • 131 files match defined criteria (19,131 LOC, 43.2% vs. main code):
    • 98 *.groovy files (16,477 LOC)
    • 15 *.sql files (1,476 LOC)
    • 17 *.java files (1,064 LOC)
    • 1 *.gradle files (114 LOC)
  • " *.groovy" is biggest, containing 86.13% of LOC.
  • " *.gradle" is smallest, containing 0.6% of LOC.


*.groovy16477 LOC (86%) 98 files
*.sql1476 LOC (7%) 15 files
*.java1064 LOC (5%) 17 files
*.gradle114 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 ".*[.]sh".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]bat".
  • 31 files match defined criteria (704 LOC, 1.6% vs. main code):
    • 23 *.gradle files (555 LOC)
    • 7 *.sh files (81 LOC)
    • 1 *.bat files (68 LOC)
  • " *.gradle" is biggest, containing 78.84% of LOC.
  • " *.bat" is smallest, containing 9.66% of LOC.


*.gradle555 LOC (78%) 23 files
*.sh81 LOC (11%) 7 files
*.bat68 LOC (9%) 1 file
Other Code
properties
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 ".*/checkstyle[.]xml".
    • files with paths like ".*/checkstyle.*".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]txt".
    • files with paths like ".*[.]editorconfig".
  • 31 files match defined criteria (2,895 LOC, 6.5% vs. main code):
    • 12 *.json files (2,104 LOC)
    • 16 *.properties files (511 LOC)
    • 2 *.xml files (227 LOC)
    • 1 *.md files (53 LOC)
  • " *.json" is biggest, containing 72.68% of LOC.
  • " *.md" is smallest, containing 1.83% of LOC.


*.json2104 LOC (72%) 12 files
*.properties511 LOC (17%) 16 files
*.xml227 LOC (7%) 2 files
*.md53 LOC (1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-05-02 23:43