prashant-andani/AR-Alphabets-words

View on GitHub

Showing 3 of 17 total issues

Function init has 166 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  function init() {
    var config = {
      scaleFlag: 0,
      isVolume: true,
      currentObject: {},
Severity: Major
Found in scripts/main.js - About 6 hrs to fix

    File alphabetsList.js has 275 lines of code (exceeds 250 allowed). Consider refactoring.
    Open

    export const data = [
      {
        id: 1,
        title: "A",
        description: "Airplane",
    Severity: Minor
    Found in scripts/alphabetsList.js - About 2 hrs to fix

      Function addObject has 28 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

          function addObject(data, toRemove, toRemoveId) {
            let currentData = data[config.currentId];
            if (document.querySelector("#obj_" + currentData.id)) {
              document
                .querySelector("#obj_" + currentData.id)
      Severity: Minor
      Found in scripts/main.js - About 1 hr to fix
        Severity
        Category
        Status
        Source
        Language