DeloitteAU / ddmock-android
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
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.

main1150 LOC (70%) 33 files
test63 LOC (3%) 1 file
generated0 LOC (0%) 0 files
build and deployment259 LOC (15%) 10 files
other155 LOC (9%) 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 ".*".
  • 33 files match defined criteria (1,150 LOC, 100.0% vs. main code):
    • 21 *.xml files (675 LOC)
    • 12 *.kt files (475 LOC)
  • " *.xml" is biggest, containing 58.7% of LOC.
  • " *.kt" is smallest, containing 41.3% of LOC.


*.xml675 LOC (58%) 21 files
*.kt475 LOC (41%) 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 ".*/mock[a-zA-Z0-9_\- ]+/.*".
    • files with paths like ".*_mock[.][a-zA-Z0-9_\-]+".
  • 1 file matches defined criteria (63 LOC, 5.5% vs. main code). All matches are in *.xml files.


*.xml63 LOC (100%) 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 ".*[.]gradle".
    • files with paths like ".*/AndroidManifest[.]xml".
    • files with paths like ".*[.]bat".
  • 10 files match defined criteria (259 LOC, 22.5% vs. main code):
    • 6 *.gradle files (145 LOC)
    • 1 *.bat files (61 LOC)
    • 3 *.xml files (53 LOC)
  • " *.gradle" is biggest, containing 55.98% of LOC.
  • " *.xml" is smallest, containing 20.46% of LOC.


*.gradle145 LOC (55%) 6 files
*.bat61 LOC (23%) 1 file
*.xml53 LOC (20%) 3 files
Other Code
properties
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]properties".
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*[.]txt".
  • 6 files match defined criteria (155 LOC, 13.5% vs. main code):
    • 3 *.properties files (63 LOC)
    • 1 *.md files (49 LOC)
    • 2 *.json files (43 LOC)
  • " *.properties" is biggest, containing 40.65% of LOC.
  • " *.json" is smallest, containing 27.74% of LOC.


*.properties63 LOC (40%) 3 files
*.md49 LOC (31%) 1 file
*.json43 LOC (27%) 2 files
Analyzers
Info about analyzers used for source code examinations.


2025-01-17 11:50