aws / aws-sdk-java-v2
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
feature
txt
tst
policy
cmd
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.

main195913 LOC (16%) 2,481 files
test254197 LOC (21%) 2,284 files
generated0 LOC (0%) 0 files
build and deployment33852 LOC (2%) 470 files
other686453 LOC (58%) 2,149 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 ".*".
  • 2481 files match defined criteria (195,913 LOC, 100.0% vs. main code):
    • 2,463 *.java files (194,892 LOC)
    • 9 *.py files (435 LOC)
    • 6 *.xml files (433 LOC)
    • 1 *.html files (98 LOC)
    • 1 *.css files (44 LOC)
    • 1 *.yaml files (11 LOC)
  • " *.java" is biggest, containing 99.48% of LOC.
  • " *.yaml" is smallest, containing 0.01% of LOC.


*.java194892 LOC (99%) 2,463 files
*.py435 LOC (<1%) 9 files
*.xml433 LOC (<1%) 6 files
*.html98 LOC (<1%) 1 file
*.css44 LOC (<1%) 1 file
*.yaml11 LOC (<1%) 1 file
Test Code
Used only for testing of the product. Normally not deployed in a production environment.
feature
tst
policy
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/[Tt]est/.*".
    • files with paths like ".*[.]feature".
    • files with paths like ".*/[Ss]pecs/.*".
    • files with paths like ".*[-]test[-].*".
    • files with paths like ".*/mock[a-zA-Z0-9_\- ]+/.*".
    • files with paths like ".*[-]tests/.*".
    • files with paths like ".*/[Tt]ests/.*".
    • files with paths like ".*[-]tests[-].*".
  • 2284 files match defined criteria (254,197 LOC, 129.7% vs. main code):
    • 2,162 *.java files (247,992 LOC)
    • 42 *.xml files (5,267 LOC)
    • 53 *.feature files (610 LOC)
    • 3 *.bat files (114 LOC)
    • 6 *.yaml files (66 LOC)
    • 4 *.gradle files (56 LOC)
    • 11 *.tst files (44 LOC)
    • 2 *.sh files (34 LOC)
    • 1 *.policy files (14 LOC)
  • " *.java" is biggest, containing 97.56% of LOC.
  • " *.policy" is smallest, containing 0.01% of LOC.


*.java247992 LOC (97%) 2,162 files
*.xml5267 LOC (2%) 42 files
*.feature610 LOC (<1%) 53 files
*.bat114 LOC (<1%) 3 files
*.yaml66 LOC (<1%) 6 files
*.gradle56 LOC (<1%) 4 files
*.tst44 LOC (<1%) 11 files
*.sh34 LOC (<1%) 2 files
*.policy14 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 ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]bat".
    • files with paths like ".*[.]sh".
    • files with paths like ".*/assembly[.]xml".
    • files with paths like ".*[.]gradle".
  • 470 files match defined criteria (33,852 LOC, 17.3% vs. main code). All matches are in *.xml files.


*.xml33852 LOC (100%) 470 files
Other Code
properties
txt
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]properties".
    • files with paths like ".*[.]txt".
    • 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 ".*/[.]gitignore".
    • files with paths like ".*/LICENSE[.][a-z0-9]+".
  • 2149 files match defined criteria (686,453 LOC, 350.4% vs. main code):
    • 1,816 *.json files (650,734 LOC)
    • 59 *.md files (29,475 LOC)
    • 242 *.properties files (5,214 LOC)
    • 8 *.java files (587 LOC)
    • 23 *.txt files (414 LOC)
    • 1 *.xml files (29 LOC)
  • " *.json" is biggest, containing 94.8% of LOC.
  • " *.xml" is smallest, containing 0% of LOC.


*.json650734 LOC (94%) 1,816 files
*.md29475 LOC (4%) 59 files
*.properties5214 LOC (<1%) 242 files
*.java587 LOC (<1%) 8 files
*.txt414 LOC (<1%) 23 files
*.xml29 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-05-03 23:12