|
1623 | 1623 | "severity": "MAJOR", |
1624 | 1624 | "url": "https://spotbugs.readthedocs.io/en/latest/bugDescriptions.html#mc-overridable-method-call-in-constructor" |
1625 | 1625 | }, |
| 1626 | + { |
| 1627 | + "key": "MC_OVERRIDABLE_METHOD_CALL_IN_READ_OBJECT", |
| 1628 | + "name": "Malicious code - An overridable method is called from the readObject method.", |
| 1629 | + "type": "CODE_SMELL", |
| 1630 | + "severity": "MAJOR", |
| 1631 | + "url": "https://spotbugs.readthedocs.io/en/latest/bugDescriptions.html#mc-overridable-method-call-in-read-object" |
| 1632 | + }, |
1626 | 1633 | { |
1627 | 1634 | "key": "ME_ENUM_FIELD_SETTER", |
1628 | 1635 | "name": "Bad practice - Public enum method unconditionally sets its field", |
|
2876 | 2883 | "severity": "MAJOR", |
2877 | 2884 | "url": "https://spotbugs.readthedocs.io/en/latest/bugDescriptions.html#sic-threadlocal-deadly-embrace" |
2878 | 2885 | }, |
| 2886 | + { |
| 2887 | + "key": "SING_SINGLETON_GETTER_NOT_SYNCHRONIZED", |
| 2888 | + "name": "Correctness - Instance-getter method of class using singleton design pattern is not synchronized.", |
| 2889 | + "type": "BUG", |
| 2890 | + "severity": "MAJOR", |
| 2891 | + "url": "https://spotbugs.readthedocs.io/en/latest/bugDescriptions.html#sing-singleton-getter-not-synchronized" |
| 2892 | + }, |
| 2893 | + { |
| 2894 | + "key": "SING_SINGLETON_HAS_NONPRIVATE_CONSTRUCTOR", |
| 2895 | + "name": "Correctness - Class using singleton design pattern has non-private constructor.", |
| 2896 | + "type": "BUG", |
| 2897 | + "severity": "MAJOR", |
| 2898 | + "url": "https://spotbugs.readthedocs.io/en/latest/bugDescriptions.html#sing-singleton-has-nonprivate-constructor" |
| 2899 | + }, |
| 2900 | + { |
| 2901 | + "key": "SING_SINGLETON_IMPLEMENTS_CLONEABLE", |
| 2902 | + "name": "Correctness - Class using singleton design pattern directly implements Cloneable interface.", |
| 2903 | + "type": "BUG", |
| 2904 | + "severity": "MAJOR", |
| 2905 | + "url": "https://spotbugs.readthedocs.io/en/latest/bugDescriptions.html#sing-singleton-implements-cloneable" |
| 2906 | + }, |
| 2907 | + { |
| 2908 | + "key": "SING_SINGLETON_IMPLEMENTS_CLONE_METHOD", |
| 2909 | + "name": "Correctness - Class using singleton design pattern implements clone() method without being an unconditional CloneNotSupportedException-thrower.", |
| 2910 | + "type": "BUG", |
| 2911 | + "severity": "MAJOR", |
| 2912 | + "url": "https://spotbugs.readthedocs.io/en/latest/bugDescriptions.html#sing-singleton-implements-clone-method" |
| 2913 | + }, |
| 2914 | + { |
| 2915 | + "key": "SING_SINGLETON_IMPLEMENTS_SERIALIZABLE", |
| 2916 | + "name": "Correctness - Class using singleton design pattern directly or indirectly implements Serializable interface.", |
| 2917 | + "type": "BUG", |
| 2918 | + "severity": "MAJOR", |
| 2919 | + "url": "https://spotbugs.readthedocs.io/en/latest/bugDescriptions.html#sing-singleton-implements-serializable" |
| 2920 | + }, |
| 2921 | + { |
| 2922 | + "key": "SING_SINGLETON_INDIRECTLY_IMPLEMENTS_CLONEABLE", |
| 2923 | + "name": "Correctness - Class using singleton design pattern indirectly implements Cloneable interface.", |
| 2924 | + "type": "BUG", |
| 2925 | + "severity": "MAJOR", |
| 2926 | + "url": "https://spotbugs.readthedocs.io/en/latest/bugDescriptions.html#sing-singleton-indirectly-implements-cloneable" |
| 2927 | + }, |
2879 | 2928 | { |
2880 | 2929 | "key": "SIO_SUPERFLUOUS_INSTANCEOF", |
2881 | 2930 | "name": "Correctness - Unnecessary type check done using instanceof operator", |
|
0 commit comments