epam / TimebaseWS
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
editorconfig
properties
jshintrc
babelrc
http
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.

main121191 LOC (87%) 1,528 files
test7829 LOC (5%) 82 files
generated183 LOC (<1%) 1 file
build and deployment1034 LOC (<1%) 18 files
other8683 LOC (6%) 157 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 ".*".
  • 1528 files match defined criteria (121,191 LOC, 100.0% vs. main code):
    • 735 *.java files (38,619 LOC)
    • 434 *.ts files (37,515 LOC)
    • 89 *.js files (29,616 LOC)
    • 136 *.scss files (7,355 LOC)
    • 113 *.html files (4,830 LOC)
    • 20 *.xml files (3,201 LOC)
    • 1 *.yaml files (55 LOC)
  • " *.java" is biggest, containing 31.87% of LOC.
  • " *.yaml" is smallest, containing 0.05% of LOC.


*.java38619 LOC (31%) 735 files
*.ts37515 LOC (30%) 434 files
*.js29616 LOC (24%) 89 files
*.scss7355 LOC (6%) 136 files
*.html4830 LOC (3%) 113 files
*.xml3201 LOC (2%) 20 files
*.yaml55 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]ests[.].*".
    • files with paths like ".*[.]tests[.].*".
    • files with paths like ".*/[Tt]ests/.*".
    • files with paths like ".*/e2e/.*".
    • files with paths like ".*/protractor[.]conf[.]js".
    • files with paths like ".*[.]spec[.]ts".
    • files with paths like ".*/test[.].*".
    • files with paths like ".*/karma[.]conf[.]js".
    • files with paths like ".*/[Tt]est/.*".
    • files with paths like ".*[-]tests/.*".
    • files with paths like ".*_test[.].*".
  • 82 files match defined criteria (7,829 LOC, 6.5% vs. main code):
    • 60 *.java files (6,989 LOC)
    • 6 *.yaml files (443 LOC)
    • 12 *.ts files (183 LOC)
    • 1 *.py files (136 LOC)
    • 3 *.js files (78 LOC)
  • " *.java" is biggest, containing 89.27% of LOC.
  • " *.js" is smallest, containing 1% of LOC.


*.java6989 LOC (89%) 60 files
*.yaml443 LOC (5%) 6 files
*.ts183 LOC (2%) 12 files
*.py136 LOC (1%) 1 file
*.js78 LOC (<1%) 3 files
Generated Code
Automatically generated files, not manually changed after generation.
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with any line of content like "\<\!\-\-[ ]*Generated by .*".
    • files with paths like ".*[.](html|html|xhtml)" AND any line of content like "[ ]*[<]meta name[=]"generator" .*".
  • 1 file matches defined criteria (183 LOC, 0.2% vs. main code). All matches are in *.md files.


*.md183 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 ".*/package[.]json".
    • files with paths like ".*([.]|/)webpack([.]|/).*".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]gradle".
    • files with paths like ".*[.]sh".
    • files with paths like ".*[.]bat".
  • 18 files match defined criteria (1,034 LOC, 0.9% vs. main code):
    • 15 *.gradle files (869 LOC)
    • 2 *.js files (97 LOC)
    • 1 *.bat files (68 LOC)
  • " *.gradle" is biggest, containing 84.04% of LOC.
  • " *.bat" is smallest, containing 6.58% of LOC.


*.gradle869 LOC (84%) 15 files
*.js97 LOC (9%) 2 files
*.bat68 LOC (6%) 1 file
Other Code
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 ".*/README[.][a-z0-9]+".
    • files with paths like ".*[.]editorconfig".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]txt".
    • files with paths like ".*[.]svg".
    • files with paths like ".*[.]properties".
    • files with paths like ".*/[Ss]amples/.*".
  • 157 files match defined criteria (8,683 LOC, 7.2% vs. main code):
    • 101 *.json files (6,069 LOC)
    • 27 *.md files (1,778 LOC)
    • 13 *.js files (395 LOC)
    • 3 *.txt files (153 LOC)
    • 4 *.py files (117 LOC)
    • 1 *.svg files (114 LOC)
    • 7 *.sh files (50 LOC)
    • 1 *.properties files (7 LOC)
  • " *.json" is biggest, containing 69.9% of LOC.
  • " *.properties" is smallest, containing 0.08% of LOC.


*.json6069 LOC (69%) 101 files
*.md1778 LOC (20%) 27 files
*.js395 LOC (4%) 13 files
*.txt153 LOC (1%) 3 files
*.py117 LOC (1%) 4 files
*.svg114 LOC (1%) 1 file
*.sh50 LOC (<1%) 7 files
*.properties7 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-01-10 14:19