ARM-software/golang-utils

View on GitHub
utils/charset/mapping.go

Summary

Maintainability
D
1 day
Test Coverage

Function initialiseMapping has 380 lines of code (exceeds 50 allowed). Consider refactoring.
Open

func initialiseMapping() {
    mappingOnce.Do(func() {
        // This mapping list was created based on the following indexes:
        // - https://www.iana.org/assignments/character-sets/character-sets.xhtml
        // - https://encoding.spec.whatwg.org/encodings.json
Severity: Major
Found in utils/charset/mapping.go - About 1 day to fix

    There are no issues that match your filters.

    Category
    Status