apache / cordova-plugin-camera
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
gitattributes
txt
plist
npmrc
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.

main2919 LOC (21%) 20 files
test678 LOC (5%) 3 files
generated4247 LOC (31%) 2 files
build and deployment0 LOC (0%) 0 files
other5462 LOC (41%) 10 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 ".*".
  • 20 files match defined criteria (2,919 LOC, 100.0% vs. main code):
    • 5 *.java files (1,311 LOC)
    • 3 *.m files (1,206 LOC)
    • 6 *.js files (175 LOC)
    • 4 *.h files (118 LOC)
    • 2 *.xml files (109 LOC)
  • " *.java" is biggest, containing 44.91% of LOC.
  • " *.xml" is smallest, containing 3.73% of LOC.


*.java1311 LOC (44%) 5 files
*.m1206 LOC (41%) 3 files
*.js175 LOC (5%) 6 files
*.h118 LOC (4%) 4 files
*.xml109 LOC (3%) 2 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 ".*/[Tt]ests/.*".
  • 3 files match defined criteria (678 LOC, 23.2% vs. main code):
    • 1 *.m files (342 LOC)
    • 1 *.js files (325 LOC)
    • 1 *.xml files (11 LOC)
  • " *.m" is biggest, containing 50.44% of LOC.
  • " *.xml" is smallest, containing 1.62% of LOC.


*.m342 LOC (50%) 1 file
*.js325 LOC (47%) 1 file
*.xml11 LOC (1%) 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".
  • 2 files match defined criteria (4,247 LOC, 145.5% vs. main code). All matches are in *.json files.


*.json4247 LOC (100%) 2 files
Other Code
plist
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]json".
    • files with paths like ".*/[.]npmignore".
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*[.]plist".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]npmrc".
    • files with paths like ".*[.]txt".
  • 10 files match defined criteria (5,462 LOC, 187.1% vs. main code):
    • 5 *.json files (4,346 LOC)
    • 4 *.md files (1,092 LOC)
    • 1 *.plist files (24 LOC)
  • " *.json" is biggest, containing 79.57% of LOC.
  • " *.plist" is smallest, containing 0.44% of LOC.


*.json4346 LOC (79%) 5 files
*.md1092 LOC (19%) 4 files
*.plist24 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-05-07 15:33