Uber / queryparser
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
hs
cabal
txt
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.

main17928 LOC (63%) 48 files
test9826 LOC (34%) 25 files
generated0 LOC (0%) 0 files
build and deployment0 LOC (0%) 0 files
other370 LOC (1%) 10 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
hs
cabal
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 48 files match defined criteria (17,928 LOC, 100.0% vs. main code):
    • 43 *.hs files (17,553 LOC)
    • 4 *.cabal files (359 LOC)
    • 1 *.yaml files (16 LOC)
  • " *.hs" is biggest, containing 97.91% of LOC.
  • " *.yaml" is smallest, containing 0.09% of LOC.


*.hs17553 LOC (97%) 43 files
*.cabal359 LOC (2%) 4 files
*.yaml16 LOC (<1%) 1 file
Test Code
Used only for testing of the product. Normally not deployed in a production environment.
hs
cabal
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/[Tt]est/.*".
  • 25 files match defined criteria (9,826 LOC, 54.8% vs. main code):
    • 24 *.hs files (9,677 LOC)
    • 1 *.cabal files (149 LOC)
  • " *.hs" is biggest, containing 98.48% of LOC.
  • " *.cabal" is smallest, containing 1.52% of LOC.


*.hs9677 LOC (98%) 24 files
*.cabal149 LOC (1%) 1 file
Other Code
hs
cabal
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/[Dd]emos?/.*".
    • files with paths like ".*[.]md".
    • files with paths like ".*[.]json".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]txt".
  • 10 files match defined criteria (370 LOC, 2.1% vs. main code):
    • 7 *.md files (206 LOC)
    • 2 *.hs files (135 LOC)
    • 1 *.cabal files (29 LOC)
  • " *.md" is biggest, containing 55.68% of LOC.
  • " *.cabal" is smallest, containing 7.84% of LOC.


*.md206 LOC (55%) 7 files
*.hs135 LOC (36%) 2 files
*.cabal29 LOC (7%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2024-04-03 14:35