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.

main7444 LOC (33%) 151 files
test5164 LOC (23%) 364 files
generated0 LOC (0%) 0 files
build and deployment613 LOC (2%) 17 files
other8772 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,444 LOC, 100.0% vs. main code):
    • 137 *.kt files (7,254 LOC)
    • 13 *.java files (106 LOC)
    • 1 *.xml files (84 LOC)
  • " *.kt" is biggest, containing 97.45% of LOC.
  • " *.xml" is smallest, containing 1.13% of LOC.


*.kt7254 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]ests/.*".
    • files with paths like ".*/[Tt]est/.*".
  • 364 files match defined criteria (5,164 LOC, 69.4% vs. main code):
    • 325 *.java files (3,070 LOC)
    • 30 *.kt files (1,996 LOC)
    • 7 *.pro files (60 LOC)
    • 2 *.gradle files (38 LOC)
  • " *.java" is biggest, containing 59.45% of LOC.
  • " *.gradle" is smallest, containing 0.74% of LOC.


*.java3070 LOC (59%) 325 files
*.kt1996 LOC (38%) 30 files
*.pro60 LOC (1%) 7 files
*.gradle38 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 ".*/AndroidManifest[.]xml".
    • files with paths like ".*[.]sh".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]bat".
  • 17 files match defined criteria (613 LOC, 8.2% vs. main code):
    • 16 *.gradle files (537 LOC)
    • 1 *.bat files (76 LOC)
  • " *.gradle" is biggest, containing 87.6% of LOC.
  • " *.bat" is smallest, containing 12.4% of LOC.


*.gradle537 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 ".*[.]md".
    • files with paths like ".*[.]properties".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]txt".
    • files with paths like ".*/[Ss]amples/.*".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/LICENSE[.][a-z0-9]+".
    • files with paths like ".*[.]svg".
  • 320 files match defined criteria (8,772 LOC, 117.8% vs. main code):
    • 196 *.txt files (5,987 LOC)
    • 56 *.java files (1,470 LOC)
    • 17 *.md files (491 LOC)
    • 14 *.properties files (267 LOC)
    • 24 *.xml files (260 LOC)
    • 6 *.gradle files (222 LOC)
    • 6 *.kt files (70 LOC)
    • 1 *.svg files (5 LOC)
  • " *.txt" is biggest, containing 68.25% of LOC.
  • " *.svg" is smallest, containing 0.06% of LOC.


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


2024-04-03 14:38