Bnei-Baruch/mdb

View on GitHub
utils/gimatria.go

Summary

Maintainability
A
1 hr
Test Coverage

Avoid deeply nested control flow statements.
Open

            } else if digits[i:i+2] == "16" {
                return res + "טז"
            } else {
                res = res + numToHeb(d, m)
            }
Severity: Major
Found in utils/gimatria.go - About 45 mins to fix

    Function NumToHebrew has 6 return statements (exceeds 4 allowed).
    Open

    func NumToHebrew(num uint16) string {
        if num == 15 {
            return "טו"
        }
        if num == 16 {
    Severity: Major
    Found in utils/gimatria.go - About 40 mins to fix

      There are no issues that match your filters.

      Category
      Status