spotify / s3mper
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
properties
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.

main2781 LOC (65%) 37 files
test1163 LOC (27%) 5 files
generated0 LOC (0%) 0 files
build and deployment187 LOC (4%) 3 files
other121 LOC (2%) 2 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 ".*".
  • 37 files match defined criteria (2,781 LOC, 100.0% vs. main code):
    • 35 *.java files (2,614 LOC)
    • 1 *.py files (144 LOC)
    • 1 *.xml files (23 LOC)
  • " *.java" is biggest, containing 93.99% of LOC.
  • " *.xml" is smallest, containing 0.83% of LOC.


*.java2614 LOC (93%) 35 files
*.py144 LOC (5%) 1 file
*.xml23 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/.*".
  • 5 files match defined criteria (1,163 LOC, 41.8% vs. main code). All matches are in *.java files.


*.java1163 LOC (100%) 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 ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]sh".
    • files with paths like ".*[.]gradle".
    • files with paths like ".*[.]bat".
  • 3 files match defined criteria (187 LOC, 6.7% vs. main code):
    • 1 *.gradle files (107 LOC)
    • 1 *.bat files (66 LOC)
    • 1 *.sh files (14 LOC)
  • " *.gradle" is biggest, containing 57.22% of LOC.
  • " *.sh" is smallest, containing 7.49% of LOC.


*.gradle107 LOC (57%) 1 file
*.bat66 LOC (35%) 1 file
*.sh14 LOC (7%) 1 file
Other Code
properties
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*[.]properties".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]txt".
  • 2 files match defined criteria (121 LOC, 4.4% vs. main code):
    • 1 *.md files (116 LOC)
    • 1 *.properties files (5 LOC)
  • " *.md" is biggest, containing 95.87% of LOC.
  • " *.properties" is smallest, containing 4.13% of LOC.


*.md116 LOC (95%) 1 file
*.properties5 LOC (4%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-01-17 11:38