gitlab-org / herokuish
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
mod
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.

main665 LOC (32%) 8 files
test583 LOC (28%) 56 files
generated0 LOC (0%) 0 files
build and deployment0 LOC (0%) 0 files
other810 LOC (39%) 13 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 ".*".
  • 8 files match defined criteria (665 LOC, 100.0% vs. main code):
    • 7 *.bash files (573 LOC)
    • 1 *.go files (92 LOC)
  • " *.bash" is biggest, containing 86.17% of LOC.
  • " *.go" is smallest, containing 13.83% of LOC.


*.bash573 LOC (86%) 7 files
*.go92 LOC (13%) 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]ests/.*".
    • files with paths like ".*/test[.].*".
    • files with paths like ".*/[Tt]est/.*".
    • files with paths like ".*_test[.].*".
    • files with paths like ".*/test_.*".
  • 56 files match defined criteria (583 LOC, 87.7% vs. main code):
    • 5 *.java files (98 LOC)
    • 4 *.php files (90 LOC)
    • 9 *.py files (86 LOC)
    • 15 *.sh files (68 LOC)
    • 1 *.xml files (45 LOC)
    • 3 *.clj files (41 LOC)
    • 6 *.yaml files (32 LOC)
    • 1 *.scala files (22 LOC)
    • 4 *.sbt files (21 LOC)
    • 3 *.html files (18 LOC)
    • 1 *.go files (17 LOC)
    • 2 *.rb files (17 LOC)
    • 1 *.js files (16 LOC)
    • 1 *.gradle files (12 LOC)
  • " *.java" is biggest, containing 16.81% of LOC.
  • " *.gradle" is smallest, containing 2.06% of LOC.


*.java98 LOC (16%) 5 files
*.php90 LOC (15%) 4 files
*.py86 LOC (14%) 9 files
*.sh68 LOC (11%) 15 files
*.xml45 LOC (7%) 1 file
*.clj41 LOC (7%) 3 files
*.yaml32 LOC (5%) 6 files
*.scala22 LOC (3%) 1 file
*.sbt21 LOC (3%) 4 files
*.html18 LOC (3%) 3 files
*.go17 LOC (2%) 1 file
*.rb17 LOC (2%) 2 files
*.js16 LOC (2%) 1 file
*.gradle12 LOC (2%) 1 file
Other Code
txt
mod
properties
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 ".*/[.]gitignore".
    • files with paths like ".*[.]txt".
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]properties".
    • files with paths like ".*/go[.]mod".
    • files with paths like ".*[.]editorconfig".
    • files with paths like ".*/[.]dockerignore".
  • 13 files match defined criteria (810 LOC, 121.8% vs. main code):
    • 3 *.md files (709 LOC)
    • 3 *.json files (79 LOC)
    • 3 *.txt files (8 LOC)
    • 1 *.mod files (8 LOC)
    • 3 *.properties files (6 LOC)
  • " *.md" is biggest, containing 87.53% of LOC.
  • " *.properties" is smallest, containing 0.74% of LOC.


*.md709 LOC (87%) 3 files
*.json79 LOC (9%) 3 files
*.txt8 LOC (<1%) 3 files
*.mod8 LOC (<1%) 1 file
*.properties6 LOC (<1%) 3 files
Analyzers
Info about analyzers used for source code examinations.


2025-05-16 13:43