uber / okbuck
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
txt
watchmanconfig
xsl
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.

main20090 LOC (88%) 303 files
test682 LOC (2%) 33 files
generated0 LOC (0%) 0 files
build and deployment1363 LOC (5%) 42 files
other600 LOC (2%) 29 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
xsl
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 303 files match defined criteria (20,090 LOC, 100.0% vs. main code):
    • 242 *.java files (19,409 LOC)
    • 41 *.xml files (431 LOC)
    • 13 *.kt files (143 LOC)
    • 4 *.bzl files (54 LOC)
    • 1 *.xsl files (40 LOC)
    • 1 *.scala files (7 LOC)
    • 1 *.groovy files (6 LOC)
  • " *.java" is biggest, containing 96.61% of LOC.
  • " *.groovy" is smallest, containing 0.03% of LOC.


*.java19409 LOC (96%) 242 files
*.xml431 LOC (2%) 41 files
*.kt143 LOC (<1%) 13 files
*.bzl54 LOC (<1%) 4 files
*.xsl40 LOC (<1%) 1 file
*.scala7 LOC (<1%) 1 file
*.groovy6 LOC (<1%) 1 file
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 ".*_test[.].*".
    • files with paths like ".*/src/androidTest/.*".
    • files with paths like ".*/test_.*".
  • 33 files match defined criteria (682 LOC, 3.4% vs. main code):
    • 14 *.java files (410 LOC)
    • 11 *.kt files (169 LOC)
    • 5 *.xml files (57 LOC)
    • 1 *.sh files (23 LOC)
    • 1 *.groovy files (13 LOC)
    • 1 *.scala files (10 LOC)
  • " *.java" is biggest, containing 60.12% of LOC.
  • " *.scala" is smallest, containing 1.47% of LOC.


*.java410 LOC (60%) 14 files
*.kt169 LOC (24%) 11 files
*.xml57 LOC (8%) 5 files
*.sh23 LOC (3%) 1 file
*.groovy13 LOC (1%) 1 file
*.scala10 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 ".*/AndroidManifest[.]xml".
    • files with paths like ".*[.]sh".
    • files with paths like ".*[.]bat".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
  • 42 files match defined criteria (1,363 LOC, 6.8% vs. main code):
    • 26 *.gradle files (1,119 LOC)
    • 11 *.xml files (124 LOC)
    • 1 *.bat files (68 LOC)
    • 4 *.sh files (52 LOC)
  • " *.gradle" is biggest, containing 82.1% of LOC.
  • " *.sh" is smallest, containing 3.82% of LOC.


*.gradle1119 LOC (82%) 26 files
*.xml124 LOC (9%) 11 files
*.bat68 LOC (4%) 1 file
*.sh52 LOC (3%) 4 files
Other Code
properties
txt
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 ".*/[Dd]emos?/.*".
    • files with paths like ".*[.]txt".
    • files with paths like ".*/[.]gitignore".
  • 29 files match defined criteria (600 LOC, 3.0% vs. main code):
    • 9 *.md files (390 LOC)
    • 9 *.kt files (122 LOC)
    • 5 *.properties files (41 LOC)
    • 3 *.java files (28 LOC)
    • 2 *.xml files (18 LOC)
    • 1 *.txt files (1 LOC)
  • " *.md" is biggest, containing 65% of LOC.
  • " *.txt" is smallest, containing 0.17% of LOC.


*.md390 LOC (65%) 9 files
*.kt122 LOC (20%) 9 files
*.properties41 LOC (6%) 5 files
*.java28 LOC (4%) 3 files
*.xml18 LOC (3%) 2 files
*.txt1 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2026-04-18 12:54