aws / pg_tle
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
in
l
txt
mk
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.

main8445 LOC (68%) 27 files
test2740 LOC (22%) 14 files
generated0 LOC (0%) 0 files
build and deployment274 LOC (2%) 1 file
other918 LOC (7%) 17 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
l
in
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 27 files match defined criteria (8,445 LOC, 100.0% vs. main code):
    • 6 *.c files (5,253 LOC)
    • 13 *.sql files (2,129 LOC)
    • 6 *.h files (539 LOC)
    • 1 *.l files (518 LOC)
    • 1 *.in files (6 LOC)
  • " *.c" is biggest, containing 62.2% of LOC.
  • " *.in" is smallest, containing 0.07% of LOC.


*.c5253 LOC (62%) 6 files
*.sql2129 LOC (25%) 13 files
*.h539 LOC (6%) 6 files
*.l518 LOC (6%) 1 file
*.in6 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/.*".
  • 14 files match defined criteria (2,740 LOC, 32.4% vs. main code):
    • 9 *.sql files (2,008 LOC)
    • 5 *.pl files (732 LOC)
  • " *.sql" is biggest, containing 73.28% of LOC.
  • " *.pl" is smallest, containing 26.72% of LOC.


*.sql2008 LOC (73%) 9 files
*.pl732 LOC (26%) 5 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 ".*[.]mk".
    • files with paths like ".*[.]sh".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
  • 1 file matches defined criteria (274 LOC, 3.2% vs. main code). All matches are in *.sh files.


*.sh274 LOC (100%) 1 file
Other Code
mk
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*/[Ee]xamples/.*".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]txt".
  • 17 files match defined criteria (918 LOC, 10.9% vs. main code):
    • 5 *.sql files (463 LOC)
    • 10 *.md files (388 LOC)
    • 1 *.sh files (48 LOC)
    • 1 *.mk files (19 LOC)
  • " *.sql" is biggest, containing 50.44% of LOC.
  • " *.mk" is smallest, containing 2.07% of LOC.


*.sql463 LOC (50%) 5 files
*.md388 LOC (42%) 10 files
*.sh48 LOC (5%) 1 file
*.mk19 LOC (2%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-05-04 00:39