michielbdejong/solid-ui

View on GitHub
src/media-capture.js

Summary

Maintainability
B
5 hrs
Test Coverage

Function cameraCaptureControl has 105 lines of code (exceeds 25 allowed). Consider refactoring.
Open

module.exports.cameraCaptureControl = function cameraCaptureControl (
  dom,
  store,
  getImageDoc,
  doneCallback
Severity: Major
Found in src/media-capture.js - About 4 hrs to fix

    Function cameraOLD has 26 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

    UI.media.cameraOLD = function (context, _gotBlob) {
      function takeSnapshot () {
        var dom = context.dom
        var img = dom.createElement('img')
        var ctx
    Severity: Minor
    Found in src/media-capture.js - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status