genome/dgi-db

View on GitHub
app/assets/javascripts/trunk8.js

Summary

Maintainability
A
3 hrs
Test Coverage

Function truncate has 48 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    function truncate() {
        var data = this.data('trunk8'),
            settings = data.settings,
            width = settings.width,
            side = settings.side,
Severity: Minor
Found in app/assets/javascripts/trunk8.js - About 1 hr to fix

    Function eatStr has 36 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

            eatStr: function (str, side, bite_size, fill) {
                var length = str.length,
                    key = utils.eatStr.generateKey.apply(null, arguments),
                    half_length,
                    half_bite_size;
    Severity: Minor
    Found in app/assets/javascripts/trunk8.js - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status