eventoL/eventoL

View on GitHub
eventol/front/src/libs/qrcode.js

Summary

Maintainability
B
5 hrs
Test Coverage

Function qrcodeInit has 78 lines of code (exceeds 25 allowed). Consider refactoring.
Open

const qrcodeInit = readerId => {
  const element = $(`#${readerId}`);
  $.fn.extend({
    html5_qrcode(qrcodeSuccess, qrcodeError, videoError) {
      return element.each(() => {
Severity: Major
Found in eventol/front/src/libs/qrcode.js - About 3 hrs to fix

    Function html5_qrcode has 64 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        html5_qrcode(qrcodeSuccess, qrcodeError, videoError) {
          return element.each(() => {
            let height = element.height();
            let width = element.width();
    
    
    Severity: Major
    Found in eventol/front/src/libs/qrcode.js - About 2 hrs to fix

      There are no issues that match your filters.

      Category
      Status