epam / aws-syndicate
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
csproj
cfg
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.

main33645 LOC (69%) 282 files
test2546 LOC (5%) 43 files
generated1024 LOC (2%) 7 files
build and deployment327 LOC (<1%) 3 files
other11042 LOC (22%) 215 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
cfg
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 282 files match defined criteria (33,645 LOC, 100.0% vs. main code):
    • 193 *.py files (30,404 LOC)
    • 88 *.java files (3,239 LOC)
    • 1 *.cfg files (2 LOC)
  • " *.py" is biggest, containing 90.37% of LOC.
  • " *.cfg" is smallest, containing 0.01% of LOC.


*.py30404 LOC (90%) 193 files
*.java3239 LOC (9%) 88 files
*.cfg2 LOC (<1%) 1 file
Test Code
Used only for testing of the product. Normally not deployed in a production environment.
csproj
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/[Tt]ests/.*".
    • files with paths like ".*/test_.*".
    • files with paths like ".*/[Tt]est/.*".
  • 43 files match defined criteria (2,546 LOC, 7.6% vs. main code):
    • 18 *.py files (1,638 LOC)
    • 12 *.java files (603 LOC)
    • 5 *.xml files (197 LOC)
    • 1 *.html files (31 LOC)
    • 2 *.csproj files (24 LOC)
    • 1 *.cs files (20 LOC)
    • 3 *.js files (19 LOC)
    • 1 *.graphql files (14 LOC)
  • " *.py" is biggest, containing 64.34% of LOC.
  • " *.graphql" is smallest, containing 0.55% of LOC.


*.py1638 LOC (64%) 18 files
*.java603 LOC (23%) 12 files
*.xml197 LOC (7%) 5 files
*.html31 LOC (1%) 1 file
*.csproj24 LOC (<1%) 2 files
*.cs20 LOC (<1%) 1 file
*.js19 LOC (<1%) 3 files
*.graphql14 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".
  • 7 files match defined criteria (1,024 LOC, 3.0% vs. main code). All matches are in *.json files.


*.json1024 LOC (100%) 7 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 ".*/package[-]lock[.]json".
    • files with paths like ".*/package[.]json".
    • files with paths like ".*/pom[.]xml".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]csproj".
  • 3 files match defined criteria (327 LOC, 1.0% vs. main code). All matches are in *.xml files.


*.xml327 LOC (100%) 3 files
Other Code
csproj
txt
properties
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]md".
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]txt".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]properties".
    • files with paths like ".*/[Ee]xamples/.*".
    • files with paths like ".*/[Dd]emos?/.*".
  • 215 files match defined criteria (11,042 LOC, 32.8% vs. main code):
    • 75 *.json files (6,190 LOC)
    • 28 *.md files (2,183 LOC)
    • 37 *.java files (1,162 LOC)
    • 4 *.xml files (457 LOC)
    • 4 *.cs files (256 LOC)
    • 8 *.js files (248 LOC)
    • 33 *.py files (205 LOC)
    • 1 *.html files (161 LOC)
    • 6 *.csproj files (66 LOC)
    • 17 *.txt files (61 LOC)
    • 1 *.graphql files (43 LOC)
    • 1 *.properties files (10 LOC)
  • " *.json" is biggest, containing 56.06% of LOC.
  • " *.properties" is smallest, containing 0.09% of LOC.


*.json6190 LOC (56%) 75 files
*.md2183 LOC (19%) 28 files
*.java1162 LOC (10%) 37 files
*.xml457 LOC (4%) 4 files
*.cs256 LOC (2%) 4 files
*.js248 LOC (2%) 8 files
*.py205 LOC (1%) 33 files
*.html161 LOC (1%) 1 file
*.csproj66 LOC (<1%) 6 files
*.txt61 LOC (<1%) 17 files
*.graphql43 LOC (<1%) 1 file
*.properties10 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-01-17 15:34