epam / covid-tracing-bluetooth-poc
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
plist
storyboard
properties
pro
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.

main1555 LOC (75%) 39 files
test23 LOC (1%) 2 files
generated0 LOC (0%) 0 files
build and deployment164 LOC (8%) 5 files
other305 LOC (14%) 10 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 ".*".
  • 39 files match defined criteria (1,555 LOC, 100.0% vs. main code):
    • 18 *.kt files (828 LOC)
    • 11 *.swift files (379 LOC)
    • 10 *.xml files (348 LOC)
  • " *.kt" is biggest, containing 53.25% of LOC.
  • " *.xml" is smallest, containing 22.38% of LOC.


*.kt828 LOC (53%) 18 files
*.swift379 LOC (24%) 11 files
*.xml348 LOC (22%) 10 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 ".*/src/androidTest/.*".
    • files with paths like ".*/[Tt]est/.*".
  • 2 files match defined criteria (23 LOC, 1.5% vs. main code). All matches are in *.kt files.


*.kt23 LOC (100%) 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 ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]gradle".
    • files with paths like ".*/AndroidManifest[.]xml".
    • files with paths like ".*[.]bat".
  • 5 files match defined criteria (164 LOC, 10.5% vs. main code):
    • 3 *.gradle files (61 LOC)
    • 1 *.bat files (61 LOC)
    • 1 *.xml files (42 LOC)
  • " *.gradle" is biggest, containing 37.2% of LOC.
  • " *.xml" is smallest, containing 25.61% of LOC.


*.gradle61 LOC (37%) 3 files
*.bat61 LOC (37%) 1 file
*.xml42 LOC (25%) 1 file
Other Code
storyboard
plist
properties
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]plist".
    • files with paths like ".*[.]storyboard".
    • files with paths like ".*[.]json".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]properties".
    • files with paths like ".*[.]md".
    • files with paths like ".*[.]txt".
  • 10 files match defined criteria (305 LOC, 19.6% vs. main code):
    • 2 *.storyboard files (111 LOC)
    • 4 *.plist files (93 LOC)
    • 2 *.json files (59 LOC)
    • 1 *.md files (21 LOC)
    • 1 *.properties files (21 LOC)
  • " *.storyboard" is biggest, containing 36.39% of LOC.
  • " *.properties" is smallest, containing 6.89% of LOC.


*.storyboard111 LOC (36%) 2 files
*.plist93 LOC (30%) 4 files
*.json59 LOC (19%) 2 files
*.md21 LOC (6%) 1 file
*.properties21 LOC (6%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-01-10 14:09