aws / serverless-java-container
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
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.

main8518 LOC (37%) 101 files
test8829 LOC (38%) 113 files
generated0 LOC (0%) 0 files
build and deployment2146 LOC (9%) 15 files
other3284 LOC (14%) 83 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 ".*".
  • 101 files match defined criteria (8,518 LOC, 100.0% vs. main code):
    • 92 *.java files (8,310 LOC)
    • 9 *.xml files (208 LOC)
  • " *.java" is biggest, containing 97.56% of LOC.
  • " *.xml" is smallest, containing 2.44% of LOC.


*.java8310 LOC (97%) 92 files
*.xml208 LOC (2%) 9 files
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/.*".
  • 113 files match defined criteria (8,829 LOC, 103.7% vs. main code):
    • 110 *.java files (8,789 LOC)
    • 1 *.xml files (30 LOC)
    • 2 *.html files (10 LOC)
  • " *.java" is biggest, containing 99.55% of LOC.
  • " *.html" is smallest, containing 0.11% of LOC.


*.java8789 LOC (99%) 110 files
*.xml30 LOC (<1%) 1 file
*.html10 LOC (<1%) 2 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 ".*[.]sh".
    • files with paths like ".*/pom[.]xml".
    • files with paths like ".*[.]gradle".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
  • 15 files match defined criteria (2,146 LOC, 25.2% vs. main code):
    • 11 *.xml files (1,969 LOC)
    • 3 *.gradle files (99 LOC)
    • 1 *.sh files (78 LOC)
  • " *.xml" is biggest, containing 91.75% of LOC.
  • " *.sh" is smallest, containing 3.63% of LOC.


*.xml1969 LOC (91%) 11 files
*.gradle99 LOC (4%) 3 files
*.sh78 LOC (3%) 1 file
Other Code
properties
txt
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 ".*[.]properties".
    • files with paths like ".*[.]txt".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]json".
    • files with paths like ".*/[Ss]amples/.*".
  • 83 files match defined criteria (3,284 LOC, 38.6% vs. main code):
    • 38 *.java files (1,524 LOC)
    • 16 *.xml files (1,095 LOC)
    • 12 *.md files (499 LOC)
    • 4 *.gradle files (102 LOC)
    • 1 *.yaml files (28 LOC)
    • 8 *.properties files (19 LOC)
    • 1 *.graphqls files (14 LOC)
    • 3 *.txt files (3 LOC)
  • " *.java" is biggest, containing 46.41% of LOC.
  • " *.txt" is smallest, containing 0.09% of LOC.


*.java1524 LOC (46%) 38 files
*.xml1095 LOC (33%) 16 files
*.md499 LOC (15%) 12 files
*.gradle102 LOC (3%) 4 files
*.yaml28 LOC (<1%) 1 file
*.properties19 LOC (<1%) 8 files
*.graphqls14 LOC (<1%) 1 file
*.txt3 LOC (<1%) 3 files
Analyzers
Info about analyzers used for source code examinations.


2025-05-03 22:09