gtoubiana/acte

View on GitHub
src/docs/js/demo-script.js

Summary

Maintainability
D
2 days
Test Coverage

Function saintChretien has 176 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  acte.saintChretien = (res, obj) => {
    const saints = [
      ['Sainte Marie', 'Saint Basile', 'Sainte Geneviève',
        'Saint Odilon',
        'Saint Edouard', 'Saint Mélaine', 'Saint Raymond',
Severity: Major
Found in src/docs/js/demo-script.js - About 7 hrs to fix

    File demo-script.js has 439 lines of code (exceeds 250 allowed). Consider refactoring.
    Open

    /*!
     * Acte.js demo JS
     * http://gtoubiana.github.io/acte/
     *
     * © 2015-Present, Gilles Toubiana
    Severity: Minor
    Found in src/docs/js/demo-script.js - About 6 hrs to fix

      Function jourRepublicain has 144 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

        acte.jourRepublicain = (res, obj) => {
          const jours = [
            ['du Raisin', 'du Safran', 'de la Châtaigne', 'de la Colchique',
              'du Cheval', 'de la Balsamine', 'de la Carotte',
              'de l\'Amarante',
      Severity: Major
      Found in src/docs/js/demo-script.js - About 5 hrs to fix

        There are no issues that match your filters.

        Category
        Status