arey/angular-musicbrainz

View on GitHub
app/js/services.js

Summary

Maintainability
A
3 hrs
Test Coverage

Function fullTextSearch has 52 lines of code (exceeds 25 allowed). Consider refactoring.
Open

            'fullTextSearch': function (from, size, text) {
                return es.search({
                    index: 'musicalbum',
                    type: 'album',
                    body: {
Severity: Major
Found in app/js/services.js - About 2 hrs to fix

    Function autocomplete has 41 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

                'autocomplete': function (text) {
                    return es.search({
                        index: 'musicalbum',
                        type: 'album',
                        body: {
    Severity: Minor
    Found in app/js/services.js - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status