com.github.theresasogunle.RaveConstant
last analyzed

Complexity

Total Complexity 0

Size/Duplication

Total Lines 5
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 5
wmc 0
1
package com.github.theresasogunle;
2
3
/**
4
 * @author Theresa
5
 */
6
public class RaveConstant {
0 ignored issues
show
Best Practice introduced by
This looks like a utility class. You may want to hide the implict public constructor behind a private one, so the class cannot be instantiated,
Loading history...
7
8
    public static String SECRET_KEY;
0 ignored issues
show
Security introduced by
public static fields should always be marked final to prevent them being overwritten in unexpected ways. Consider making SECRET_KEY final.

See this CWE advisory on why this is a security issue.

Loading history...
9
    public static String PUBLIC_KEY;
0 ignored issues
show
Security introduced by
public static fields should always be marked final to prevent them being overwritten in unexpected ways. Consider making PUBLIC_KEY final.

See this CWE advisory on why this is a security issue.

Loading history...
10
    public static Environment ENVIRONMENT;
0 ignored issues
show
Security introduced by
public static fields should always be marked final to prevent them being overwritten in unexpected ways. Consider making ENVIRONMENT final.

See this CWE advisory on why this is a security issue.

Loading history...
11
12
}
13
    
14