kwk/docker-registry-frontend

View on GitHub

Showing 4 of 18 total issues

Function exports has 317 lines of code (exceeds 25 allowed). Consider refactoring.
Open

module.exports = function (grunt) {

  // Load grunt tasks automatically
  require('load-grunt-tasks')(grunt);

Severity: Major
Found in Gruntfile.js - About 1 day to fix

    File Gruntfile.js has 320 lines of code (exceeds 250 allowed). Consider refactoring.
    Open

    // Generated on 2014-09-12 using generator-angular 0.9.8
    'use strict';
    
    // # Globbing
    // for performance reasons we're only matching one level down:
    Severity: Minor
    Found in Gruntfile.js - About 3 hrs to fix

      Function transformResponse has 32 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

              transformResponse: function(data, headers){
                var repos = angular.fromJson(data).repositories;
      
                // Extract the "last=" part from Link header:
                //
      Severity: Minor
      Found in app/services/registry-services.js - About 1 hr to fix

        Function transformResponse has 31 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

                transformResponse: function(data, headers){
                  var res = {};
                  var history = [];
                  var tmp;
                  var resp = angular.fromJson(data);
        Severity: Minor
        Found in app/services/registry-services.js - About 1 hr to fix
          Severity
          Category
          Status
          Source
          Language