LoboEvolution/LoboEvolution

View on GitHub
LoboCommon/src/main/java/org/loboevolution/html/Entities.java

Summary

Maintainability
A
2 hrs
Test Coverage

File Entities.java has 281 lines of code (exceeds 250 allowed). Consider refactoring.
Open

/*
 * MIT License
 *
 * Copyright (c) 2014 - 2024 LoboEvolution
 *
Severity: Minor
Found in LoboCommon/src/main/java/org/loboevolution/html/Entities.java - About 2 hrs to fix

    Rename this constant name to match the regular expression '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'.
    Open

        INT_("int"),

    Shared coding conventions allow teams to collaborate efficiently. This rule checks that all constant names match a provided regular expression.

    Noncompliant Code Example

    With the default regular expression ^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$:

    public class MyClass {
      public static final int first = 1;
    }
    
    public enum MyEnum {
      first;
    }
    

    Compliant Solution

    public class MyClass {
      public static final int FIRST = 1;
    }
    
    public enum MyEnum {
      FIRST;
    }
    

    There are no issues that match your filters.

    Category
    Status