Uber / RxDogTag
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.

main1109 LOC (31%) 21 files
test1485 LOC (41%) 17 files
generated0 LOC (0%) 0 files
build and deployment371 LOC (10%) 10 files
other576 LOC (16%) 10 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
pro
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 21 files match defined criteria (1,109 LOC, 100.0% vs. main code):
    • 17 *.java files (848 LOC)
    • 1 *.kt files (203 LOC)
    • 1 *.yml files (47 LOC)
    • 2 *.pro files (11 LOC)
  • " *.java" is biggest, containing 76.47% of LOC.
  • " *.pro" is smallest, containing 0.99% of LOC.


*.java848 LOC (76%) 17 files
*.kt203 LOC (18%) 1 file
*.yml47 LOC (4%) 1 file
*.pro11 LOC (<1%) 2 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 ".*/src/androidTest/.*".
  • 17 files match defined criteria (1,485 LOC, 133.9% vs. main code):
    • 15 *.java files (1,311 LOC)
    • 1 *.kt files (164 LOC)
    • 1 *.xml files (10 LOC)
  • " *.java" is biggest, containing 88.28% of LOC.
  • " *.xml" is smallest, containing 0.67% of LOC.


*.java1311 LOC (88%) 15 files
*.kt164 LOC (11%) 1 file
*.xml10 LOC (<1%) 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 ".*[.]gradle".
    • files with paths like ".*[.]sh".
    • files with paths like ".*/AndroidManifest[.]xml".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]bat".
  • 10 files match defined criteria (371 LOC, 33.5% vs. main code):
    • 7 *.gradle files (261 LOC)
    • 1 *.bat files (78 LOC)
    • 1 *.sh files (27 LOC)
    • 1 *.xml files (5 LOC)
  • " *.gradle" is biggest, containing 70.35% of LOC.
  • " *.xml" is smallest, containing 1.35% of LOC.


*.gradle261 LOC (70%) 7 files
*.bat78 LOC (21%) 1 file
*.sh27 LOC (7%) 1 file
*.xml5 LOC (1%) 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 ".*[.]json".
    • files with paths like ".*[.]properties".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]txt".
    • files with paths like ".*/LICENSE[.][a-z0-9]+".
  • 10 files match defined criteria (576 LOC, 51.9% vs. main code):
    • 5 *.md files (326 LOC)
    • 1 *.txt files (169 LOC)
    • 4 *.properties files (81 LOC)
  • " *.md" is biggest, containing 56.6% of LOC.
  • " *.properties" is smallest, containing 14.06% of LOC.


*.md326 LOC (56%) 5 files
*.txt169 LOC (29%) 1 file
*.properties81 LOC (14%) 4 files
Analyzers
Info about analyzers used for source code examinations.


2024-04-03 14:39