angelakuo/citydogshare

View on GitHub
public/assets/moment/hr-dae6fd138b54e5ee8a3987db3eb06949b241015b71e7f66e83b1d764fb0f0b8d.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