huggingface / quicktype
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
prefs
hs
txt
project
csproj
classpath
elm
pike
gitattributes
plist
cr
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.

main40035 LOC (36%) 93 files
test4809 LOC (4%) 77 files
generated6360 LOC (5%) 4 files
build and deployment32 LOC (<1%) 4 files
other58783 LOC (53%) 254 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 ".*".
  • 93 files match defined criteria (40,035 LOC, 100.0% vs. main code):
    • 92 *.ts files (40,027 LOC)
    • 1 *.ps1 files (8 LOC)
  • " *.ts" is biggest, containing 99.98% of LOC.
  • " *.ps1" is smallest, containing 0.02% of LOC.


*.ts40027 LOC (99%) 92 files
*.ps18 LOC (<1%) 1 file
Test Code
Used only for testing of the product. Normally not deployed in a production environment.
elm
hs
csproj
pike
cr
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/[Tt]est/.*".
    • files with paths like ".*[-]test[-].*".
    • files with paths like ".*/test[.].*".
  • 77 files match defined criteria (4,809 LOC, 12.0% vs. main code):
    • 10 *.ts files (2,745 LOC)
    • 2 *.m files (742 LOC)
    • 5 *.py files (329 LOC)
    • 1 *.h files (186 LOC)
    • 9 *.graphql files (121 LOC)
    • 6 *.java files (104 LOC)
    • 2 *.xml files (96 LOC)
    • 10 *.sh files (72 LOC)
    • 1 *.c files (54 LOC)
    • 3 *.scala files (41 LOC)
    • 4 *.js files (39 LOC)
    • 3 *.kt files (35 LOC)
    • 2 *.cs files (28 LOC)
    • 1 *.go files (26 LOC)
    • 1 *.elm files (25 LOC)
    • 3 *.hs files (21 LOC)
    • 1 *.cpp files (21 LOC)
    • 1 *.rs files (20 LOC)
    • 2 *.csproj files (18 LOC)
    • 2 *.yaml files (17 LOC)
    • 1 *.toml files (15 LOC)
    • 1 *.swift files (12 LOC)
    • 1 *.dart files (10 LOC)
    • 1 *.php files (10 LOC)
    • 1 *.pike files (9 LOC)
    • 1 *.rb files (7 LOC)
    • 1 *.cr files (5 LOC)
    • 1 *.hpp files (1 LOC)
  • " *.ts" is biggest, containing 57.08% of LOC.
  • " *.hpp" is smallest, containing 0.02% of LOC.


*.ts2745 LOC (57%) 10 files
*.m742 LOC (15%) 2 files
*.py329 LOC (6%) 5 files
*.h186 LOC (3%) 1 file
*.graphql121 LOC (2%) 9 files
*.java104 LOC (2%) 6 files
*.xml96 LOC (1%) 2 files
*.sh72 LOC (1%) 10 files
*.c54 LOC (1%) 1 file
*.scala41 LOC (<1%) 3 files
*.js39 LOC (<1%) 4 files
*.kt35 LOC (<1%) 3 files
*.cs28 LOC (<1%) 2 files
*.go26 LOC (<1%) 1 file
*.elm25 LOC (<1%) 1 file
*.hs21 LOC (<1%) 3 files
*.cpp21 LOC (<1%) 1 file
*.rs20 LOC (<1%) 1 file
*.csproj18 LOC (<1%) 2 files
*.yaml17 LOC (<1%) 2 files
*.toml15 LOC (<1%) 1 file
*.swift12 LOC (<1%) 1 file
*.dart10 LOC (<1%) 1 file
*.php10 LOC (<1%) 1 file
*.pike9 LOC (<1%) 1 file
*.rb7 LOC (<1%) 1 file
*.cr5 LOC (<1%) 1 file
*.hpp1 LOC (<1%) 1 file
Generated Code
Automatically generated files, not manually changed after generation.
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/package[-]lock[.]json".
  • 4 files match defined criteria (6,360 LOC, 15.9% vs. main code). All matches are in *.json files.


*.json6360 LOC (100%) 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 ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitattributes".
    • files with paths like ".*/package[.]json".
    • files with paths like ".*[.]sh".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]csproj".
    • files with paths like ".*/pom[.]xml".
    • files with paths like ".*/package[-]lock[.]json".
  • 4 files match defined criteria (32 LOC, 0.1% vs. main code). All matches are in *.sh files.


*.sh32 LOC (100%) 4 files
Other Code
txt
plist
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]txt".
    • files with paths like ".*/[Ss]amples/.*".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]plist".
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
  • 254 files match defined criteria (58,783 LOC, 146.8% vs. main code):
    • 246 *.json files (56,994 LOC)
    • 2 *.txt files (1,371 LOC)
    • 5 *.md files (396 LOC)
    • 1 *.plist files (22 LOC)
  • " *.json" is biggest, containing 96.96% of LOC.
  • " *.plist" is smallest, containing 0.04% of LOC.


*.json56994 LOC (96%) 246 files
*.txt1371 LOC (2%) 2 files
*.md396 LOC (<1%) 5 files
*.plist22 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-06-30 09:06