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
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.

main3728 LOC (26%) 23 files
test678 LOC (4%) 3 files
generated4196 LOC (30%) 1 file
build and deployment0 LOC (0%) 0 files
other5331 LOC (38%) 9 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 (3,728 LOC, 100.0% vs. main code):
    • 4 *.m files (1,334 LOC)
    • 5 *.java files (1,298 LOC)
    • 7 *.js files (800 LOC)
    • 5 *.h files (159 LOC)
    • 2 *.xml files (137 LOC)
  • " *.m" is biggest, containing 35.78% of LOC.
  • " *.xml" is smallest, containing 3.67% of LOC.


*.m1334 LOC (35%) 4 files
*.java1298 LOC (34%) 5 files
*.js800 LOC (21%) 7 files
*.h159 LOC (4%) 5 files
*.xml137 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, 18.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".
  • 1 file matches defined criteria (4,196 LOC, 112.6% vs. main code). All matches are in *.json files.


*.json4196 LOC (100%) 1 file
Other Code
plist
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/[.]npmignore".
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]plist".
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]txt".
  • 9 files match defined criteria (5,331 LOC, 143.0% vs. main code):
    • 4 *.json files (4,289 LOC)
    • 4 *.md files (1,018 LOC)
    • 1 *.plist files (24 LOC)
  • " *.json" is biggest, containing 80.45% of LOC.
  • " *.plist" is smallest, containing 0.45% of LOC.


*.json4289 LOC (80%) 4 files
*.md1018 LOC (19%) 4 files
*.plist24 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2023-08-10 14:49