YusukeHirao/etcsv

View on GitHub
lib/etcsv.js

Summary

Maintainability
B
5 hrs
Test Coverage

Function CSV has 86 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    var CSV = (function () {
        function CSV(filePath, charset) {
            var absPath = path.resolve(path.join(baseDir, filePath));
            var text = fs.readFileSync(absPath);
            var conv;
Severity: Major
Found in lib/etcsv.js - About 3 hrs to fix

    Function _parse has 55 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

            CSV.prototype._parse = function () {
                var text = this.text;
                var current;
                var next;
                var field = '';
    Severity: Major
    Found in lib/etcsv.js - About 2 hrs to fix

      There are no issues that match your filters.

      Category
      Status