apache / couchdb-fauxton
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
npmignore
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.

main33115 LOC (63%) 428 files
test14166 LOC (27%) 187 files
generated0 LOC (0%) 0 files
build and deployment346 LOC (<1%) 3 files
other4240 LOC (8%) 138 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 ".*".
  • 428 files match defined criteria (33,115 LOC, 100.0% vs. main code):
    • 370 *.js files (28,426 LOC)
    • 58 *.scss files (4,689 LOC)
  • " *.js" is biggest, containing 85.84% of LOC.
  • " *.scss" is smallest, containing 14.16% of LOC.


*.js28426 LOC (85%) 370 files
*.scss4689 LOC (14%) 58 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 ".*[-]test[-].*".
    • files with paths like ".*[.][Tt]est[.].*".
    • files with paths like ".*[.]test[.].*".
    • files with paths like ".*__tests__.*".
    • files with paths like ".*/[Tt]ests/.*".
    • files with paths like ".*[.][Tt]ests[.].*".
    • files with paths like ".*[.]tests[.].*".
    • files with paths like ".*/__mock[a-zA-Z0-9_\- ]+/.*".
    • files with paths like ".*/[Tt]est/.*".
  • 187 files match defined criteria (14,166 LOC, 42.8% vs. main code). All matches are in *.js files.


*.js14166 LOC (100%) 187 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 ".*[.]sh".
    • files with paths like ".*/package[.]json".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*([.]|/)webpack([.]|/).*".
  • 3 files match defined criteria (346 LOC, 1.0% vs. main code):
    • 2 *.js files (345 LOC)
    • 1 *.sh files (1 LOC)
  • " *.js" is biggest, containing 99.71% of LOC.
  • " *.sh" is smallest, containing 0.29% of LOC.


*.js345 LOC (99%) 2 files
*.sh1 LOC (<1%) 1 file
Other Code
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/[.]npmignore".
    • files with paths like ".*[.]md".
    • files with paths like ".*[.]json".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*[.]svg".
    • files with paths like ".*/[Dd]ocumentation/.*".
    • files with paths like ".*/[.]eslintignore".
  • 138 files match defined criteria (4,240 LOC, 12.8% vs. main code):
    • 118 *.svg files (3,271 LOC)
    • 10 *.md files (502 LOC)
    • 5 *.json files (301 LOC)
    • 4 *.js files (121 LOC)
    • 1 *.scss files (45 LOC)
  • " *.svg" is biggest, containing 77.15% of LOC.
  • " *.scss" is smallest, containing 1.06% of LOC.


*.svg3271 LOC (77%) 118 files
*.md502 LOC (11%) 10 files
*.json301 LOC (7%) 5 files
*.js121 LOC (2%) 4 files
*.scss45 LOC (1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-05-07 15:38