guardian / atom-workshop
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
snap
babelrc
txt
eslintignore
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.

main8678 LOC (89%) 205 files
test792 LOC (8%) 26 files
generated0 LOC (0%) 0 files
build and deployment107 LOC (1%) 5 files
other169 LOC (1%) 15 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 ".*".
  • 205 files match defined criteria (8,678 LOC, 100.0% vs. main code):
    • 137 *.js files (6,001 LOC)
    • 35 *.scss files (1,532 LOC)
    • 25 *.scala files (974 LOC)
    • 2 *.rb files (54 LOC)
    • 2 *.html files (44 LOC)
    • 1 *.xml files (29 LOC)
    • 2 *.sbt files (27 LOC)
    • 1 *.yaml files (17 LOC)
  • " *.js" is biggest, containing 69.15% of LOC.
  • " *.yaml" is smallest, containing 0.2% of LOC.


*.js6001 LOC (69%) 137 files
*.scss1532 LOC (17%) 35 files
*.scala974 LOC (11%) 25 files
*.rb54 LOC (<1%) 2 files
*.html44 LOC (<1%) 2 files
*.xml29 LOC (<1%) 1 file
*.sbt27 LOC (<1%) 2 files
*.yaml17 LOC (<1%) 1 file
Test Code
Used only for testing of the product. Normally not deployed in a production environment.
snap
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]spec[.]js".
    • files with paths like ".*[.]snap".
    • files with paths like ".*/__mock[a-zA-Z0-9_\- ]+/.*".
  • 26 files match defined criteria (792 LOC, 9.1% vs. main code):
    • 17 *.js files (431 LOC)
    • 9 *.snap files (361 LOC)
  • " *.js" is biggest, containing 54.42% of LOC.
  • " *.snap" is smallest, containing 45.58% of LOC.


*.js431 LOC (54%) 17 files
*.snap361 LOC (45%) 9 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 ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]sh".
    • files with paths like ".*/package[.]json".
    • files with paths like ".*([.]|/)webpack([.]|/).*".
  • 5 files match defined criteria (107 LOC, 1.2% vs. main code):
    • 1 *.js files (61 LOC)
    • 4 *.sh files (46 LOC)
  • " *.js" is biggest, containing 57.01% of LOC.
  • " *.sh" is smallest, containing 42.99% of LOC.


*.js61 LOC (57%) 1 file
*.sh46 LOC (42%) 4 files
Other Code
properties
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*/[.]eslintignore".
    • files with paths like ".*[.]json".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]txt".
    • files with paths like ".*[.]properties".
    • files with paths like ".*[.]svg".
    • files with paths like ".*/vendor/.*".
  • 15 files match defined criteria (169 LOC, 1.9% vs. main code):
    • 1 *.json files (77 LOC)
    • 2 *.md files (49 LOC)
    • 11 *.svg files (42 LOC)
    • 1 *.properties files (1 LOC)
  • " *.json" is biggest, containing 45.56% of LOC.
  • " *.properties" is smallest, containing 0.59% of LOC.


*.json77 LOC (45%) 1 file
*.md49 LOC (28%) 2 files
*.svg42 LOC (24%) 11 files
*.properties1 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-05-09 20:47