aws / amazon-q-eclipse
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
project
classpath
prefs
txt
properties
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.

main24892 LOC (58%) 409 files
test0 LOC (0%) 0 files
generated3927 LOC (9%) 1 file
build and deployment779 LOC (1%) 7 files
other12598 LOC (29%) 12 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 ".*".
  • 409 files match defined criteria (24,892 LOC, 100.0% vs. main code):
    • 388 *.java files (22,292 LOC)
    • 4 *.xml files (1,360 LOC)
    • 9 *.vue files (866 LOC)
    • 5 *.ts files (251 LOC)
    • 1 *.scss files (85 LOC)
    • 1 *.kts files (26 LOC)
    • 1 *.html files (12 LOC)
  • " *.java" is biggest, containing 89.55% of LOC.
  • " *.html" is smallest, containing 0.05% of LOC.


*.java22292 LOC (89%) 388 files
*.xml1360 LOC (5%) 4 files
*.vue866 LOC (3%) 9 files
*.ts251 LOC (1%) 5 files
*.scss85 LOC (<1%) 1 file
*.kts26 LOC (<1%) 1 file
*.html12 LOC (<1%) 1 file
Generated Code
Automatically generated files, not manually changed after generation.
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/package[-]lock[.]json".
  • 1 file matches defined criteria (3,927 LOC, 15.8% vs. main code). All matches are in *.json files.


*.json3927 LOC (100%) 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 ".*[.]sh".
    • files with paths like ".*/package[-]lock[.]json".
    • files with paths like ".*/package[.]json".
    • files with paths like ".*([.]|/)webpack([.]|/).*".
  • 7 files match defined criteria (779 LOC, 3.1% vs. main code):
    • 5 *.xml files (628 LOC)
    • 1 *.js files (123 LOC)
    • 1 *.sh files (28 LOC)
  • " *.xml" is biggest, containing 80.62% of LOC.
  • " *.sh" is smallest, containing 3.59% of LOC.


*.xml628 LOC (80%) 5 files
*.js123 LOC (15%) 1 file
*.sh28 LOC (3%) 1 file
Other Code
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 ".*/[.]gitignore".
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]txt".
    • files with paths like ".*/checkstyle[.]xml".
    • files with paths like ".*/checkstyle.*".
    • files with paths like ".*[.]properties".
  • 12 files match defined criteria (12,598 LOC, 50.6% vs. main code):
    • 7 *.json files (12,419 LOC)
    • 1 *.xml files (88 LOC)
    • 3 *.md files (82 LOC)
    • 1 *.properties files (9 LOC)
  • " *.json" is biggest, containing 98.58% of LOC.
  • " *.properties" is smallest, containing 0.07% of LOC.


*.json12419 LOC (98%) 7 files
*.xml88 LOC (<1%) 1 file
*.md82 LOC (<1%) 3 files
*.properties9 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-05-04 01:01