rstoenescu/quasar-site

View on GitHub

Showing 2 of 2 total issues

Function parseResponse has 83 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  function parseResponse(xmlResponse) {
    // get the contents from search data
    var datas = $('entry', xmlResponse).map(function() {
      return {
        title: $('title', this).text(),
Severity: Major
Found in themes/quasar/source/js/search.js - About 3 hrs to fix

    Avoid too many return statements within this function.
    Open

        return '';
    Severity: Major
    Found in themes/quasar/scripts/page-helpers.js - About 30 mins to fix
      Severity
      Category
      Status
      Source
      Language