guardian / archivehunter
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
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.

main26095 LOC (80%) 360 files
test5975 LOC (18%) 60 files
generated0 LOC (0%) 0 files
build and deployment141 LOC (<1%) 6 files
other277 LOC (<1%) 9 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 ".*".
  • 360 files match defined criteria (26,095 LOC, 100.0% vs. main code):
    • 223 *.scala files (13,955 LOC)
    • 64 *.tsx files (5,781 LOC)
    • 42 *.jsx files (3,453 LOC)
    • 8 *.yaml files (1,607 LOC)
    • 6 *.rb files (415 LOC)
    • 6 *.py files (407 LOC)
    • 2 *.sbt files (202 LOC)
    • 4 *.xml files (171 LOC)
    • 3 *.ts files (84 LOC)
    • 2 *.html files (20 LOC)
  • " *.scala" is biggest, containing 53.48% of LOC.
  • " *.html" is smallest, containing 0.08% of LOC.


*.scala13955 LOC (53%) 223 files
*.tsx5781 LOC (22%) 64 files
*.jsx3453 LOC (13%) 42 files
*.yaml1607 LOC (6%) 8 files
*.rb415 LOC (1%) 6 files
*.py407 LOC (1%) 6 files
*.sbt202 LOC (<1%) 2 files
*.xml171 LOC (<1%) 4 files
*.ts84 LOC (<1%) 3 files
*.html20 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 ".*/test_.*".
    • files with paths like ".*__tests__.*".
  • 60 files match defined criteria (5,975 LOC, 22.9% vs. main code):
    • 45 *.scala files (5,511 LOC)
    • 9 *.jsx files (229 LOC)
    • 3 *.tsx files (192 LOC)
    • 2 *.ts files (41 LOC)
    • 1 *.xml files (2 LOC)
  • " *.scala" is biggest, containing 92.23% of LOC.
  • " *.xml" is smallest, containing 0.03% of LOC.


*.scala5511 LOC (92%) 45 files
*.jsx229 LOC (3%) 9 files
*.tsx192 LOC (3%) 3 files
*.ts41 LOC (<1%) 2 files
*.xml2 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 ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]sh".
    • files with paths like ".*/package[.]json".
    • files with paths like ".*([.]|/)webpack([.]|/).*".
  • 6 files match defined criteria (141 LOC, 0.5% vs. main code):
    • 5 *.sh files (84 LOC)
    • 1 *.js files (57 LOC)
  • " *.sh" is biggest, containing 59.57% of LOC.
  • " *.js" is smallest, containing 40.43% of LOC.


*.sh84 LOC (59%) 5 files
*.js57 LOC (40%) 1 file
Other Code
properties
txt
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]txt".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]properties".
    • files with paths like ".*[.]svg".
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*[.]json".
  • 9 files match defined criteria (277 LOC, 1.1% vs. main code):
    • 2 *.json files (117 LOC)
    • 1 *.md files (101 LOC)
    • 1 *.svg files (49 LOC)
    • 3 *.properties files (7 LOC)
    • 2 *.txt files (3 LOC)
  • " *.json" is biggest, containing 42.24% of LOC.
  • " *.txt" is smallest, containing 1.08% of LOC.


*.json117 LOC (42%) 2 files
*.md101 LOC (36%) 1 file
*.svg49 LOC (17%) 1 file
*.properties7 LOC (2%) 3 files
*.txt3 LOC (1%) 2 files
Analyzers
Info about analyzers used for source code examinations.


2025-05-09 20:50