epam / xframework
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
gypi
jshintrc
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.

main12656 LOC (75%) 58 files
test2986 LOC (17%) 28 files
generated0 LOC (0%) 0 files
build and deployment0 LOC (0%) 0 files
other1073 LOC (6%) 7 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
gypi
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 58 files match defined criteria (12,656 LOC, 100.0% vs. main code):
    • 35 *.js files (6,984 LOC)
    • 1 *.css files (3,218 LOC)
    • 21 *.less files (2,419 LOC)
    • 1 *.gypi files (35 LOC)
  • " *.js" is biggest, containing 55.18% of LOC.
  • " *.gypi" is smallest, containing 0.28% of LOC.


*.js6984 LOC (55%) 35 files
*.css3218 LOC (25%) 1 file
*.less2419 LOC (19%) 21 files
*.gypi35 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 ".*/mock[a-zA-Z0-9_\- ]+/.*".
    • files with paths like ".*/[Mm]ocks/.*".
    • files with paths like ".*/[Tt]est/.*".
    • files with paths like ".*/test[.].*".
  • 28 files match defined criteria (2,986 LOC, 23.6% vs. main code):
    • 23 *.js files (2,645 LOC)
    • 1 *.css files (169 LOC)
    • 3 *.html files (120 LOC)
    • 1 *.xml files (52 LOC)
  • " *.js" is biggest, containing 88.58% of LOC.
  • " *.xml" is smallest, containing 1.74% of LOC.


*.js2645 LOC (88%) 23 files
*.css169 LOC (5%) 1 file
*.html120 LOC (4%) 3 files
*.xml52 LOC (1%) 1 file
Other Code
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 ".*[.]svg".
    • files with paths like ".*/[.]gitignore".
  • 7 files match defined criteria (1,073 LOC, 8.5% vs. main code):
    • 1 *.md files (816 LOC)
    • 4 *.json files (231 LOC)
    • 2 *.svg files (26 LOC)
  • " *.md" is biggest, containing 76.05% of LOC.
  • " *.svg" is smallest, containing 2.42% of LOC.


*.md816 LOC (76%) 1 file
*.json231 LOC (21%) 4 files
*.svg26 LOC (2%) 2 files
Analyzers
Info about analyzers used for source code examinations.


2025-01-10 14:07