gnavalesi/music-tag

View on GitHub

Showing 4 of 4 total issues

Function makeTags has 33 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    var makeTags = function (tags) {
        var frames = {},
            labels = _.invert(config.labels),
            total_size = 0;

Severity: Minor
Found in src/lib/tag_generator.js - About 1 hr to fix

    Function write has 33 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        var write = function (path, tags, options) {
            var deferred = Q.defer();
    
            var validParameters = false;
            if (!_.isString(path)) {
    Severity: Minor
    Found in src/lib/writer.js - About 1 hr to fix

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

          var read = function (path, options) {
              var deferred = Q.defer();
      
              var validParameters = false;
              if (!_.isString(path)) {
      Severity: Minor
      Found in src/lib/reader.js - About 1 hr to fix

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

            var writeFile = function (path, tags, options) {
                var deferred = Q.defer();
        
                var readDeferred = Q.defer();
        
        
        Severity: Minor
        Found in src/lib/writer.js - About 1 hr to fix
          Severity
          Category
          Status
          Source
          Language