twitter / twemoji-parser
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
babelrc
txt
eslintignore
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.

main762 LOC (32%) 9 files
test1373 LOC (58%) 5 files
generated0 LOC (0%) 0 files
build and deployment11 LOC (<1%) 1 file
other203 LOC (8%) 6 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 ".*".
  • 9 files match defined criteria (762 LOC, 100.0% vs. main code):
    • 6 *.scala files (652 LOC)
    • 1 *.js files (60 LOC)
    • 1 *.mustache files (38 LOC)
    • 1 *.toml files (12 LOC)
  • " *.scala" is biggest, containing 85.56% of LOC.
  • " *.toml" is smallest, containing 1.57% of LOC.


*.scala652 LOC (85%) 6 files
*.js60 LOC (7%) 1 file
*.mustache38 LOC (4%) 1 file
*.toml12 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 ".*/jest[.][a-zA-Z0-9\.]+".
    • files with paths like ".*[.][Tt]est[.].*".
    • files with paths like ".*[.]test[.].*".
    • files with paths like ".*__tests__.*".
    • files with paths like ".*/[Tt]est/.*".
  • 5 files match defined criteria (1,373 LOC, 180.2% vs. main code):
    • 2 *.js files (738 LOC)
    • 3 *.scala files (635 LOC)
  • " *.js" is biggest, containing 53.75% of LOC.
  • " *.scala" is smallest, containing 46.25% of LOC.


*.js738 LOC (53%) 2 files
*.scala635 LOC (46%) 3 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 ".*/package[.]json".
    • files with paths like ".*[.]sh".
  • 1 file matches defined criteria (11 LOC, 1.4% vs. main code). All matches are in *.sh files.


*.sh11 LOC (100%) 1 file
Other Code
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]md".
    • files with paths like ".*/LICENSE[.][a-z0-9]+".
    • files with paths like ".*[.]json".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/[.]eslintignore".
    • files with paths like ".*[.]txt".
  • 6 files match defined criteria (203 LOC, 26.6% vs. main code):
    • 5 *.md files (161 LOC)
    • 1 *.json files (42 LOC)
  • " *.md" is biggest, containing 79.31% of LOC.
  • " *.json" is smallest, containing 20.69% of LOC.


*.md161 LOC (79%) 5 files
*.json42 LOC (20%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-01-17 11:59