spotify / google-http-java-client
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
prefs
project
classpath
properties
txt
launch
proto
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.

main13429 LOC (56%) 213 files
test7396 LOC (31%) 73 files
generated0 LOC (0%) 0 files
build and deployment1868 LOC (7%) 18 files
other1126 LOC (4%) 30 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 ".*".
  • 213 files match defined criteria (13,429 LOC, 100.0% vs. main code):
    • 205 *.java files (13,007 LOC)
    • 3 *.html files (217 LOC)
    • 4 *.xml files (154 LOC)
    • 1 *.py files (51 LOC)
  • " *.java" is biggest, containing 96.86% of LOC.
  • " *.py" is smallest, containing 0.38% of LOC.


*.java13007 LOC (96%) 205 files
*.html217 LOC (1%) 3 files
*.xml154 LOC (1%) 4 files
*.py51 LOC (<1%) 1 file
Test Code
Used only for testing of the product. Normally not deployed in a production environment.
proto
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/[Tt]est/.*".
  • 73 files match defined criteria (7,396 LOC, 55.1% vs. main code):
    • 72 *.java files (7,371 LOC)
    • 1 *.proto files (25 LOC)
  • " *.java" is biggest, containing 99.66% of LOC.
  • " *.proto" is smallest, containing 0.34% of LOC.


*.java7371 LOC (99%) 72 files
*.proto25 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 ".*/pom[.]xml".
    • files with paths like ".*/assembly[.]xml".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/AndroidManifest[.]xml".
  • 18 files match defined criteria (1,868 LOC, 13.9% vs. main code). All matches are in *.xml files.


*.xml1868 LOC (100%) 18 files
Other Code
txt
properties
launch
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]txt".
    • files with paths like ".*[.]properties".
    • files with paths like ".*/LICENSE[.][a-z0-9]+".
    • files with paths like ".*/checkstyle.*".
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*/[Ss]amples/.*".
    • files with paths like ".*/checkstyle[.]xml".
    • files with paths like ".*/[.]gitignore".
  • 30 files match defined criteria (1,126 LOC, 8.4% vs. main code):
    • 5 *.xml files (503 LOC)
    • 2 *.java files (214 LOC)
    • 3 *.txt files (182 LOC)
    • 2 *.html files (146 LOC)
    • 15 *.properties files (29 LOC)
    • 2 *.launch files (28 LOC)
    • 1 *.md files (24 LOC)
  • " *.xml" is biggest, containing 44.67% of LOC.
  • " *.md" is smallest, containing 2.13% of LOC.


*.xml503 LOC (44%) 5 files
*.java214 LOC (19%) 2 files
*.txt182 LOC (16%) 3 files
*.html146 LOC (12%) 2 files
*.properties29 LOC (2%) 15 files
*.launch28 LOC (2%) 2 files
*.md24 LOC (2%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-01-17 11:37