apache / jclouds
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
cmd
gitattributes
pub
properties
el
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.

main232125 LOC (49%) 3,678 files
test183349 LOC (38%) 2,643 files
generated0 LOC (0%) 0 files
build and deployment10910 LOC (2%) 113 files
other44136 LOC (9%) 1,124 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
cmd
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 3678 files match defined criteria (232,125 LOC, 100.0% vs. main code):
    • 3,671 *.java files (231,921 LOC)
    • 7 *.cmd files (204 LOC)
  • " *.java" is biggest, containing 99.91% of LOC.
  • " *.cmd" is smallest, containing 0.09% of LOC.


*.java231921 LOC (99%) 3,671 files
*.cmd204 LOC (<1%) 7 files
Test Code
Used only for testing of the product. Normally not deployed in a production environment.
cmd
pub
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 ".*/test[.].*".
    • files with paths like ".*_test[.].*".
  • 2643 files match defined criteria (183,349 LOC, 79.0% vs. main code):
    • 2,199 *.java files (168,538 LOC)
    • 391 *.xml files (11,283 LOC)
    • 36 *.sh files (3,157 LOC)
    • 8 *.cmd files (173 LOC)
    • 3 *.html files (110 LOC)
    • 3 *.yaml files (85 LOC)
    • 3 *.pub files (3 LOC)
  • " *.java" is biggest, containing 91.92% of LOC.
  • " *.pub" is smallest, containing 0% of LOC.


*.java168538 LOC (91%) 2,199 files
*.xml11283 LOC (6%) 391 files
*.sh3157 LOC (1%) 36 files
*.cmd173 LOC (<1%) 8 files
*.html110 LOC (<1%) 3 files
*.yaml85 LOC (<1%) 3 files
*.pub3 LOC (<1%) 3 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 ".*[.]sh".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/[.]gitattributes".
  • 113 files match defined criteria (10,910 LOC, 4.7% vs. main code):
    • 103 *.xml files (10,665 LOC)
    • 10 *.sh files (245 LOC)
  • " *.xml" is biggest, containing 97.75% of LOC.
  • " *.sh" is smallest, containing 2.25% of LOC.


*.xml10665 LOC (97%) 103 files
*.sh245 LOC (2%) 10 files
Other Code
txt
properties
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*[.]txt".
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]properties".
    • files with paths like ".*/checkstyle[.]xml".
    • files with paths like ".*/checkstyle.*".
    • files with paths like ".*/[.]gitignore".
  • 1124 files match defined criteria (44,136 LOC, 19.0% vs. main code):
    • 1,046 *.json files (42,687 LOC)
    • 53 *.txt files (932 LOC)
    • 21 *.md files (393 LOC)
    • 2 *.xml files (75 LOC)
    • 2 *.properties files (49 LOC)
  • " *.json" is biggest, containing 96.72% of LOC.
  • " *.properties" is smallest, containing 0.11% of LOC.


*.json42687 LOC (96%) 1,046 files
*.txt932 LOC (2%) 53 files
*.md393 LOC (<1%) 21 files
*.xml75 LOC (<1%) 2 files
*.properties49 LOC (<1%) 2 files
Analyzers
Info about analyzers used for source code examinations.


2025-05-07 15:39