uber / motif
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
properties
pro
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.

main7391 LOC (33%) 151 files
test5262 LOC (23%) 364 files
generated0 LOC (0%) 0 files
build and deployment623 LOC (2%) 17 files
other8746 LOC (39%) 320 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 ".*".
  • 151 files match defined criteria (7,391 LOC, 100.0% vs. main code):
    • 137 *.kt files (7,201 LOC)
    • 13 *.java files (106 LOC)
    • 1 *.xml files (84 LOC)
  • " *.kt" is biggest, containing 97.43% of LOC.
  • " *.xml" is smallest, containing 1.14% of LOC.


*.kt7201 LOC (97%) 137 files
*.java106 LOC (1%) 13 files
*.xml84 LOC (1%) 1 file
Test Code
Used only for testing of the product. Normally not deployed in a production environment.
pro
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/[Tt]est/.*".
    • files with paths like ".*/[Tt]ests/.*".
  • 364 files match defined criteria (5,262 LOC, 71.2% vs. main code):
    • 325 *.java files (3,070 LOC)
    • 30 *.kt files (2,100 LOC)
    • 7 *.pro files (60 LOC)
    • 2 *.gradle files (32 LOC)
  • " *.java" is biggest, containing 58.34% of LOC.
  • " *.gradle" is smallest, containing 0.61% of LOC.


*.java3070 LOC (58%) 325 files
*.kt2100 LOC (39%) 30 files
*.pro60 LOC (1%) 7 files
*.gradle32 LOC (<1%) 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 ".*[.]sh".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/AndroidManifest[.]xml".
    • files with paths like ".*[.]bat".
  • 17 files match defined criteria (623 LOC, 8.4% vs. main code):
    • 16 *.gradle files (547 LOC)
    • 1 *.bat files (76 LOC)
  • " *.gradle" is biggest, containing 87.8% of LOC.
  • " *.bat" is smallest, containing 12.2% of LOC.


*.gradle547 LOC (87%) 16 files
*.bat76 LOC (12%) 1 file
Other Code
txt
properties
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]properties".
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*[.]svg".
    • files with paths like ".*[.]txt".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]json".
    • files with paths like ".*/[Ss]amples/.*".
    • files with paths like ".*/LICENSE[.][a-z0-9]+".
  • 320 files match defined criteria (8,746 LOC, 118.3% vs. main code):
    • 196 *.txt files (5,987 LOC)
    • 56 *.java files (1,470 LOC)
    • 17 *.md files (493 LOC)
    • 14 *.properties files (267 LOC)
    • 24 *.xml files (260 LOC)
    • 6 *.gradle files (198 LOC)
    • 6 *.kt files (66 LOC)
    • 1 *.svg files (5 LOC)
  • " *.txt" is biggest, containing 68.45% of LOC.
  • " *.svg" is smallest, containing 0.06% of LOC.


*.txt5987 LOC (68%) 196 files
*.java1470 LOC (16%) 56 files
*.md493 LOC (5%) 17 files
*.properties267 LOC (3%) 14 files
*.xml260 LOC (2%) 24 files
*.gradle198 LOC (2%) 6 files
*.kt66 LOC (<1%) 6 files
*.svg5 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-05-03 07:37