uber / uForwarder
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
proto
properties
gitattributes
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.

main25887 LOC (47%) 291 files
test27839 LOC (51%) 213 files
generated0 LOC (0%) 0 files
build and deployment614 LOC (1%) 18 files
other180 LOC (<1%) 6 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
proto
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 291 files match defined criteria (25,887 LOC, 100.0% vs. main code):
    • 270 *.java files (23,701 LOC)
    • 13 *.proto files (1,141 LOC)
    • 5 *.html files (889 LOC)
    • 3 *.yaml files (156 LOC)
  • " *.java" is biggest, containing 91.56% of LOC.
  • " *.yaml" is smallest, containing 0.6% of LOC.


*.java23701 LOC (91%) 270 files
*.proto1141 LOC (4%) 13 files
*.html889 LOC (3%) 5 files
*.yaml156 LOC (<1%) 3 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/.*".
  • 213 files match defined criteria (27,839 LOC, 107.5% vs. main code):
    • 204 *.java files (27,563 LOC)
    • 7 *.yaml files (233 LOC)
    • 1 *.py files (23 LOC)
    • 1 *.xml files (20 LOC)
  • " *.java" is biggest, containing 99.01% of LOC.
  • " *.xml" is smallest, containing 0.07% of LOC.


*.java27563 LOC (99%) 204 files
*.yaml233 LOC (<1%) 7 files
*.py23 LOC (<1%) 1 file
*.xml20 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 ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/[.]gitattributes".
    • files with paths like ".*[.]bat".
    • files with paths like ".*[.]sh".
  • 18 files match defined criteria (614 LOC, 2.4% vs. main code):
    • 15 *.gradle files (500 LOC)
    • 1 *.bat files (71 LOC)
    • 2 *.sh files (43 LOC)
  • " *.gradle" is biggest, containing 81.43% of LOC.
  • " *.sh" is smallest, containing 7% of LOC.


*.gradle500 LOC (81%) 15 files
*.bat71 LOC (11%) 1 file
*.sh43 LOC (7%) 2 files
Other Code
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 ".*[.]json".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]txt".
  • 6 files match defined criteria (180 LOC, 0.7% vs. main code):
    • 2 *.md files (97 LOC)
    • 3 *.json files (78 LOC)
    • 1 *.properties files (5 LOC)
  • " *.md" is biggest, containing 53.89% of LOC.
  • " *.properties" is smallest, containing 2.78% of LOC.


*.md97 LOC (53%) 2 files
*.json78 LOC (43%) 3 files
*.properties5 LOC (2%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-05-03 07:38