epam / firecloud-ui
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
cljs
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.

main13801 LOC (50%) 126 files
test3939 LOC (14%) 83 files
generated4372 LOC (15%) 1 file
build and deployment224 LOC (<1%) 9 files
other5023 LOC (18%) 17 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
cljs
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 126 files match defined criteria (13,801 LOC, 100.0% vs. main code):
    • 111 *.cljs files (13,390 LOC)
    • 4 *.js files (174 LOC)
    • 2 *.clj files (80 LOC)
    • 2 *.scala files (57 LOC)
    • 1 *.html files (48 LOC)
    • 2 *.scss files (27 LOC)
    • 1 *.xml files (13 LOC)
    • 1 *.css files (7 LOC)
    • 2 *.sbt files (5 LOC)
  • " *.cljs" is biggest, containing 97.02% of LOC.
  • " *.sbt" is smallest, containing 0.04% of LOC.


*.cljs13390 LOC (97%) 111 files
*.js174 LOC (1%) 4 files
*.clj80 LOC (<1%) 2 files
*.scala57 LOC (<1%) 2 files
*.html48 LOC (<1%) 1 file
*.scss27 LOC (<1%) 2 files
*.xml13 LOC (<1%) 1 file
*.css7 LOC (<1%) 1 file
*.sbt5 LOC (<1%) 2 files
Test Code
Used only for testing of the product. Normally not deployed in a production environment.
cljs
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/test[.].*".
    • files with paths like ".*[-]tests[-].*".
    • files with paths like ".*[-]test[-].*".
    • files with paths like ".*/[Tt]est/.*".
    • files with paths like ".*/e2e/.*".
  • 83 files match defined criteria (3,939 LOC, 28.5% vs. main code):
    • 73 *.scala files (3,677 LOC)
    • 6 *.cljs files (198 LOC)
    • 4 *.sh files (64 LOC)
  • " *.scala" is biggest, containing 93.35% of LOC.
  • " *.sh" is smallest, containing 1.62% of LOC.


*.scala3677 LOC (93%) 73 files
*.cljs198 LOC (5%) 6 files
*.sh64 LOC (1%) 4 files
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".
  • 1 file matches defined criteria (4,372 LOC, 31.7% vs. main code). All matches are in *.json files.


*.json4372 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 ".*([.]|/)webpack([.]|/).*".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/package[-]lock[.]json".
    • files with paths like ".*/package[.]json".
    • files with paths like ".*[.]sh".
  • 9 files match defined criteria (224 LOC, 1.6% vs. main code):
    • 8 *.sh files (188 LOC)
    • 1 *.js files (36 LOC)
  • " *.sh" is biggest, containing 83.93% of LOC.
  • " *.js" is smallest, containing 16.07% of LOC.


*.sh188 LOC (83%) 8 files
*.js36 LOC (16%) 1 file
Other Code
txt
properties
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]properties".
    • files with paths like ".*[.]txt".
    • files with paths like ".*/LICENSE[.][a-z0-9]+".
  • 17 files match defined criteria (5,023 LOC, 36.4% vs. main code):
    • 10 *.json files (4,648 LOC)
    • 4 *.md files (350 LOC)
    • 2 *.txt files (24 LOC)
    • 1 *.properties files (1 LOC)
  • " *.json" is biggest, containing 92.53% of LOC.
  • " *.properties" is smallest, containing 0.02% of LOC.


*.json4648 LOC (92%) 10 files
*.md350 LOC (6%) 4 files
*.txt24 LOC (<1%) 2 files
*.properties1 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-01-10 14:07