apache / httpcomponents-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
txt
properties
gitattributes
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.

main29606 LOC (52%) 396 files
test20306 LOC (36%) 162 files
generated0 LOC (0%) 0 files
build and deployment939 LOC (1%) 7 files
other5484 LOC (9%) 57 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 ".*".
  • 396 files match defined criteria (29,606 LOC, 100.0% vs. main code):
    • 393 *.java files (29,467 LOC)
    • 1 *.rdf files (90 LOC)
    • 1 *.xml files (48 LOC)
    • 1 *.css files (1 LOC)
  • " *.java" is biggest, containing 99.53% of LOC.
  • " *.css" is smallest, containing 0% of LOC.


*.java29467 LOC (99%) 393 files
*.rdf90 LOC (<1%) 1 file
*.xml48 LOC (<1%) 1 file
*.css1 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/.*".
  • 162 files match defined criteria (20,306 LOC, 68.6% vs. main code):
    • 158 *.java files (20,254 LOC)
    • 4 *.xml files (52 LOC)
  • " *.java" is biggest, containing 99.74% of LOC.
  • " *.xml" is smallest, containing 0.26% of LOC.


*.java20254 LOC (99%) 158 files
*.xml52 LOC (<1%) 4 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 ".*/pom[.]xml".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/[.]gitattributes".
    • files with paths like ".*/docker[-]compose[.]yml".
  • 7 files match defined criteria (939 LOC, 3.2% vs. main code):
    • 6 *.xml files (923 LOC)
    • 1 *.yml files (16 LOC)
  • " *.xml" is biggest, containing 98.3% of LOC.
  • " *.yml" is smallest, containing 1.7% of LOC.


*.xml923 LOC (98%) 6 files
*.yml16 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 ".*/[Ee]xamples/.*".
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]txt".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]properties".
    • files with paths like ".*/[.]dockerignore".
    • files with paths like ".*/LICENSE[.][a-z0-9]+".
  • 57 files match defined criteria (5,484 LOC, 18.5% vs. main code):
    • 11 *.txt files (2,946 LOC)
    • 41 *.java files (2,381 LOC)
    • 3 *.md files (112 LOC)
    • 2 *.properties files (45 LOC)
  • " *.txt" is biggest, containing 53.72% of LOC.
  • " *.properties" is smallest, containing 0.82% of LOC.


*.txt2946 LOC (53%) 11 files
*.java2381 LOC (43%) 41 files
*.md112 LOC (2%) 3 files
*.properties45 LOC (<1%) 2 files
Analyzers
Info about analyzers used for source code examinations.


2023-08-10 10:57