parroit/abdero-fetcher

View on GitHub

Showing 4 of 6 total issues

Function list has 30 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function list(imap, box, query, msgsStream) {

    var f = imap.fetch(query, {
        bodies: "HEADER.FIELDS (FROM TO SUBJECT DATE)",
        struct: true
Severity: Minor
Found in lib/abdero-fetcher.js - About 1 hr to fix

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

    module.exports = function(grunt) {
    
        // Project configuration.
        grunt.initConfig({
            watch: {
    Severity: Minor
    Found in Gruntfile.js - About 1 hr to fix

      Function download has 26 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

      Fetcher.prototype.download = function(folder, uid) {
      
      
          var self = this,
              stream = through();
      Severity: Minor
      Found in lib/abdero-fetcher.js - About 1 hr to fix

        Function streamMailObject has 5 arguments (exceeds 4 allowed). Consider refactoring.
        Open

        function streamMailObject(buffer, uid, stream, pending, done) {
        Severity: Minor
        Found in lib/abdero-fetcher.js - About 35 mins to fix
          Severity
          Category
          Status
          Source
          Language