aws / sagemaker-feature-store-spark
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
in
ini
cfg
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.

main1150 LOC (28%) 21 files
test1101 LOC (26%) 7 files
generated0 LOC (0%) 0 files
build and deployment0 LOC (0%) 0 files
other1827 LOC (44%) 7 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
cfg
in
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 21 files match defined criteria (1,150 LOC, 100.0% vs. main code):
    • 10 *.scala files (723 LOC)
    • 7 *.py files (309 LOC)
    • 2 *.sbt files (107 LOC)
    • 1 *.cfg files (7 LOC)
    • 1 *.in files (4 LOC)
  • " *.scala" is biggest, containing 62.87% of LOC.
  • " *.in" is smallest, containing 0.35% of LOC.


*.scala723 LOC (62%) 10 files
*.py309 LOC (26%) 7 files
*.sbt107 LOC (9%) 2 files
*.cfg7 LOC (<1%) 1 file
*.in4 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]ests/.*".
    • files with paths like ".*/test_.*".
    • files with paths like ".*/[Tt]est/.*".
  • 7 files match defined criteria (1,101 LOC, 95.7% vs. main code):
    • 6 *.scala files (1,056 LOC)
    • 1 *.py files (45 LOC)
  • " *.scala" is biggest, containing 95.91% of LOC.
  • " *.py" is smallest, containing 4.09% of LOC.


*.scala1056 LOC (95%) 6 files
*.py45 LOC (4%) 1 file
Other Code
txt
ini
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 ".*[.]ini".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]properties".
    • files with paths like ".*[.]txt".
  • 7 files match defined criteria (1,827 LOC, 158.9% vs. main code):
    • 1 *.txt files (1,620 LOC)
    • 4 *.md files (159 LOC)
    • 1 *.ini files (47 LOC)
    • 1 *.properties files (1 LOC)
  • " *.txt" is biggest, containing 88.67% of LOC.
  • " *.properties" is smallest, containing 0.05% of LOC.


*.txt1620 LOC (88%) 1 file
*.md159 LOC (8%) 4 files
*.ini47 LOC (2%) 1 file
*.properties1 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-05-04 00:37