spotify / diffuser
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
plist
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.

main831 LOC (28%) 27 files
test1708 LOC (57%) 31 files
generated0 LOC (0%) 0 files
build and deployment305 LOC (10%) 7 files
other115 LOC (3%) 6 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 ".*".
  • 27 files match defined criteria (831 LOC, 100.0% vs. main code):
    • 15 *.swift files (541 LOC)
    • 12 *.java files (290 LOC)
  • " *.swift" is biggest, containing 65.1% of LOC.
  • " *.java" is smallest, containing 34.9% of LOC.


*.swift541 LOC (65%) 15 files
*.java290 LOC (34%) 12 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 ".*/[Tt]ests/.*".
  • 31 files match defined criteria (1,708 LOC, 205.5% vs. main code):
    • 19 *.swift files (1,062 LOC)
    • 10 *.kt files (584 LOC)
    • 2 *.java files (62 LOC)
  • " *.swift" is biggest, containing 62.18% of LOC.
  • " *.java" is smallest, containing 3.63% of LOC.


*.swift1062 LOC (62%) 19 files
*.kt584 LOC (34%) 10 files
*.java62 LOC (3%) 2 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 ".*[.]gradle".
    • files with paths like ".*/AndroidManifest[.]xml".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]bat".
  • 7 files match defined criteria (305 LOC, 36.7% vs. main code):
    • 5 *.gradle files (227 LOC)
    • 1 *.bat files (76 LOC)
    • 1 *.xml files (2 LOC)
  • " *.gradle" is biggest, containing 74.43% of LOC.
  • " *.xml" is smallest, containing 0.66% of LOC.


*.gradle227 LOC (74%) 5 files
*.bat76 LOC (24%) 1 file
*.xml2 LOC (<1%) 1 file
Other Code
properties
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]md".
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]properties".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*[.]plist".
    • files with paths like ".*[.]txt".
  • 6 files match defined criteria (115 LOC, 13.8% vs. main code):
    • 3 *.md files (97 LOC)
    • 3 *.properties files (18 LOC)
  • " *.md" is biggest, containing 84.35% of LOC.
  • " *.properties" is smallest, containing 15.65% of LOC.


*.md97 LOC (84%) 3 files
*.properties18 LOC (15%) 3 files
Analyzers
Info about analyzers used for source code examinations.


2025-01-17 11:39