aws / c3r
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
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.

main9775 LOC (30%) 174 files
test19996 LOC (61%) 158 files
generated0 LOC (0%) 0 files
build and deployment514 LOC (1%) 8 files
other2112 LOC (6%) 30 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 ".*".
  • 174 files match defined criteria (9,775 LOC, 100.0% vs. main code):
    • 167 *.java files (9,491 LOC)
    • 6 *.xml files (170 LOC)
    • 1 *.py files (114 LOC)
  • " *.java" is biggest, containing 97.09% of LOC.
  • " *.py" is smallest, containing 1.17% of LOC.


*.java9491 LOC (97%) 167 files
*.xml170 LOC (1%) 6 files
*.py114 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 ".*_tests[.].*".
    • files with paths like ".*/[Tt]est/.*".
    • files with paths like ".*[-]test[-].*".
  • 158 files match defined criteria (19,996 LOC, 204.6% vs. main code):
    • 151 *.java files (19,475 LOC)
    • 2 *.py files (339 LOC)
    • 4 *.xml files (135 LOC)
    • 1 *.sh files (47 LOC)
  • " *.java" is biggest, containing 97.39% of LOC.
  • " *.sh" is smallest, containing 0.24% of LOC.


*.java19475 LOC (97%) 151 files
*.py339 LOC (1%) 2 files
*.xml135 LOC (<1%) 4 files
*.sh47 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 ".*[.]gradle".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]sh".
    • files with paths like ".*[.]bat".
  • 8 files match defined criteria (514 LOC, 5.3% vs. main code):
    • 7 *.gradle files (443 LOC)
    • 1 *.bat files (71 LOC)
  • " *.gradle" is biggest, containing 86.19% of LOC.
  • " *.bat" is smallest, containing 13.81% of LOC.


*.gradle443 LOC (86%) 7 files
*.bat71 LOC (13%) 1 file
Other Code
txt
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]properties".
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*/config/checkstyle/.*".
    • files with paths like ".*/checkstyle.*".
    • files with paths like ".*[.]txt".
    • files with paths like ".*/checkstyle[.]xml".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]json".
    • files with paths like ".*/[Ss]amples/.*".
    • files with paths like ".*/[Ee]xamples/.*".
  • 30 files match defined criteria (2,112 LOC, 21.6% vs. main code):
    • 12 *.java files (695 LOC)
    • 7 *.json files (643 LOC)
    • 7 *.md files (444 LOC)
    • 2 *.xml files (327 LOC)
    • 2 *.txt files (3 LOC)
  • " *.java" is biggest, containing 32.91% of LOC.
  • " *.txt" is smallest, containing 0.14% of LOC.


*.java695 LOC (32%) 12 files
*.json643 LOC (30%) 7 files
*.md444 LOC (21%) 7 files
*.xml327 LOC (15%) 2 files
*.txt3 LOC (<1%) 2 files
Analyzers
Info about analyzers used for source code examinations.


2025-05-04 00:47