epam / ai-dial-chat
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
gitattributes
patch
mjs
editorconfig
eslintignore
prettierignore
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.

main79163 LOC (65%) 737 files
test38764 LOC (32%) 110 files
generated0 LOC (0%) 0 files
build and deployment2 LOC (<1%) 1 file
other3191 LOC (2%) 81 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
mjs
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 737 files match defined criteria (79,163 LOC, 100.0% vs. main code):
    • 488 *.ts files (44,501 LOC)
    • 234 *.tsx files (33,842 LOC)
    • 10 *.js files (443 LOC)
    • 2 *.css files (180 LOC)
    • 1 *.mjs files (175 LOC)
    • 1 *.jsx files (12 LOC)
    • 1 *.yaml files (10 LOC)
  • " *.ts" is biggest, containing 56.21% of LOC.
  • " *.yaml" is smallest, containing 0.01% of LOC.


*.ts44501 LOC (56%) 488 files
*.tsx33842 LOC (42%) 234 files
*.js443 LOC (<1%) 10 files
*.css180 LOC (<1%) 2 files
*.mjs175 LOC (<1%) 1 file
*.jsx12 LOC (<1%) 1 file
*.yaml10 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 ".*[.][Tt]est[.].*".
    • files with paths like ".*[.]test[.].*".
    • files with paths like ".*__tests__.*".
    • files with paths like ".*/[Tt]ests/.*".
  • 110 files match defined criteria (38,764 LOC, 49.0% vs. main code):
    • 100 *.ts files (37,702 LOC)
    • 10 *.tsx files (1,062 LOC)
  • " *.ts" is biggest, containing 97.26% of LOC.
  • " *.tsx" is smallest, containing 2.74% of LOC.


*.ts37702 LOC (97%) 100 files
*.tsx1062 LOC (2%) 10 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[.]json".
    • files with paths like ".*[.]sh".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/[.]gitattributes".
  • 1 file matches defined criteria (2 LOC, 0.0% vs. main code). All matches are in *.sh files.


*.sh2 LOC (100%) 1 file
Other Code
patch
txt
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]patch".
    • files with paths like ".*[.]md".
    • files with paths like ".*/[.]prettierignore".
    • files with paths like ".*[.]editorconfig".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*/[.]dockerignore".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/[.]eslintignore".
    • files with paths like ".*[.]svg".
    • files with paths like ".*[.]txt".
  • 81 files match defined criteria (3,191 LOC, 4.0% vs. main code):
    • 43 *.json files (2,001 LOC)
    • 10 *.md files (1,007 LOC)
    • 25 *.svg files (109 LOC)
    • 1 *.patch files (72 LOC)
    • 2 *.txt files (2 LOC)
  • " *.json" is biggest, containing 62.71% of LOC.
  • " *.txt" is smallest, containing 0.06% of LOC.


*.json2001 LOC (62%) 43 files
*.md1007 LOC (31%) 10 files
*.svg109 LOC (3%) 25 files
*.patch72 LOC (2%) 1 file
*.txt2 LOC (<1%) 2 files
Analyzers
Info about analyzers used for source code examinations.


2025-01-17 15:36