epam / Indigo-ELN-v.-2.0
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
in
properties
txt
cmd
editorconfig
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.

main62761 LOC (80%) 928 files
test1958 LOC (2%) 23 files
generated0 LOC (0%) 0 files
build and deployment1090 LOC (1%) 10 files
other12096 LOC (15%) 40 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
in
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 928 files match defined criteria (62,761 LOC, 100.0% vs. main code):
    • 338 *.js files (23,642 LOC)
    • 353 *.java files (22,807 LOC)
    • 127 *.html files (6,370 LOC)
    • 22 *.css files (4,290 LOC)
    • 58 *.less files (4,264 LOC)
    • 10 *.in files (722 LOC)
    • 8 *.sql files (374 LOC)
    • 10 *.xml files (233 LOC)
    • 2 *.jsp files (59 LOC)
  • " *.js" is biggest, containing 37.67% of LOC.
  • " *.jsp" is smallest, containing 0.09% of LOC.


*.js23642 LOC (37%) 338 files
*.java22807 LOC (36%) 353 files
*.html6370 LOC (10%) 127 files
*.css4290 LOC (6%) 22 files
*.less4264 LOC (6%) 58 files
*.in722 LOC (1%) 10 files
*.sql374 LOC (<1%) 8 files
*.xml233 LOC (<1%) 10 files
*.jsp59 LOC (<1%) 2 files
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 ".*/karma[.]conf[.]js".
    • files with paths like ".*[.]spec[.]js".
    • files with paths like ".*/[Ss]pecs/.*".
    • files with paths like ".*/[Tt]est/.*".
  • 23 files match defined criteria (1,958 LOC, 3.1% vs. main code):
    • 22 *.js files (1,925 LOC)
    • 1 *.java files (33 LOC)
  • " *.js" is biggest, containing 98.31% of LOC.
  • " *.java" is smallest, containing 1.69% of LOC.


*.js1925 LOC (98%) 22 files
*.java33 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 ".*([.]|/)webpack([.]|/).*".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/package[.]json".
    • files with paths like ".*/pom[.]xml".
    • files with paths like ".*[.]sh".
  • 10 files match defined criteria (1,090 LOC, 1.7% vs. main code):
    • 4 *.xml files (781 LOC)
    • 5 *.js files (233 LOC)
    • 1 *.sh files (76 LOC)
  • " *.xml" is biggest, containing 71.65% of LOC.
  • " *.sh" is smallest, containing 6.97% of LOC.


*.xml781 LOC (71%) 4 files
*.js233 LOC (21%) 5 files
*.sh76 LOC (6%) 1 file
Other Code
txt
properties
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]editorconfig".
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*/[.]dockerignore".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]txt".
    • files with paths like ".*/LICENSE[.][a-z0-9]+".
    • files with paths like ".*[.]svg".
    • files with paths like ".*[.]properties".
    • files with paths like ".*/checkstyle[.]xml".
    • files with paths like ".*/checkstyle.*".
  • 40 files match defined criteria (12,096 LOC, 19.3% vs. main code):
    • 9 *.svg files (9,272 LOC)
    • 6 *.txt files (1,998 LOC)
    • 8 *.json files (351 LOC)
    • 8 *.md files (233 LOC)
    • 2 *.xml files (139 LOC)
    • 7 *.properties files (103 LOC)
  • " *.svg" is biggest, containing 76.65% of LOC.
  • " *.properties" is smallest, containing 0.85% of LOC.


*.svg9272 LOC (76%) 9 files
*.txt1998 LOC (16%) 6 files
*.json351 LOC (2%) 8 files
*.md233 LOC (1%) 8 files
*.xml139 LOC (1%) 2 files
*.properties103 LOC (<1%) 7 files
Analyzers
Info about analyzers used for source code examinations.


2025-01-17 15:34