apache / cordova-plugin-test-framework
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
jade
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.

main13061 LOC (31%) 23 files
test110 LOC (<1%) 5 files
generated4167 LOC (9%) 1 file
build and deployment0 LOC (0%) 0 files
other24763 LOC (58%) 30 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 ".*".
  • 23 files match defined criteria (13,061 LOC, 100.0% vs. main code):
    • 6 *.css files (7,484 LOC)
    • 15 *.js files (5,526 LOC)
    • 1 *.html files (29 LOC)
    • 1 *.xml files (22 LOC)
  • " *.css" is biggest, containing 57.3% of LOC.
  • " *.xml" is smallest, containing 0.17% of LOC.


*.css7484 LOC (57%) 6 files
*.js5526 LOC (42%) 15 files
*.html29 LOC (<1%) 1 file
*.xml22 LOC (<1%) 1 file
Test Code
Used only for testing of the product. Normally not deployed in a production environment.
jade
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/[Tt]est/.*".
  • 5 files match defined criteria (110 LOC, 0.8% vs. main code):
    • 4 *.js files (96 LOC)
    • 1 *.jade files (14 LOC)
  • " *.js" is biggest, containing 87.27% of LOC.
  • " *.jade" is smallest, containing 12.73% of LOC.


*.js96 LOC (87%) 4 files
*.jade14 LOC (12%) 1 file
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,167 LOC, 31.9% vs. main code). All matches are in *.json files.


*.json4167 LOC (100%) 1 file
Other Code
txt
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 ".*/[Dd]emos?/.*".
    • files with paths like ".*[.]svg".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]txt".
    • files with paths like ".*/LICENSE[.][a-z0-9]+".
    • files with paths like ".*/[.]eslintignore".
  • 30 files match defined criteria (24,763 LOC, 189.6% vs. main code):
    • 4 *.html files (13,102 LOC)
    • 12 *.svg files (6,823 LOC)
    • 3 *.json files (4,277 LOC)
    • 5 *.md files (316 LOC)
    • 3 *.css files (120 LOC)
    • 2 *.txt files (81 LOC)
    • 1 *.js files (44 LOC)
  • " *.html" is biggest, containing 52.91% of LOC.
  • " *.js" is smallest, containing 0.18% of LOC.


*.html13102 LOC (52%) 4 files
*.svg6823 LOC (27%) 12 files
*.json4277 LOC (17%) 3 files
*.md316 LOC (1%) 5 files
*.css120 LOC (<1%) 3 files
*.txt81 LOC (<1%) 2 files
*.js44 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2023-08-10 15:17