angelakuo/citydogshare

View on GitHub
public/assets/moment/bs-f1368802f11928d2e1adecab341b74580461480d872e654e01685c6a9f68b57f.js

Summary

Maintainability
A
2 hrs
Test Coverage

Function translate has 50 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    function translate(number, withoutSuffix, key) {
        var result = number + ' ';
        switch (key) {
            case 'm':
                return withoutSuffix ? 'jedna minuta' : 'jedne minute';

    Avoid too many return statements within this function.
    Open

                    return result;

      There are no issues that match your filters.

      Category
      Status