Checkstyle Results

The following document contains the results of Checkstylerss feed

Summary

Files Infos Infos Warnings Warnings Errors Errors
43 0 25 7

Details

com/gridsystems/resource/ResourcePlugin.java

Violation Message Line
Errors File does not end with a newline. 0

com/gridsystems/resource/api/CAStatus.java

Violation Message Line
Warnings Line has trailing spaces. 95

com/gridsystems/resource/api/CPU.java

Violation Message Line
Errors File does not end with a newline. 0

com/gridsystems/resource/api/Group.java

Violation Message Line
Errors File does not end with a newline. 0

com/gridsystems/resource/api/ResourceProperties.java

Violation Message Line
Warnings '-2' is a magic number. 240

com/gridsystems/resource/api/Time.java

Violation Message Line
Errors File does not end with a newline. 0

com/gridsystems/resource/api/TimeInterval.java

Violation Message Line
Errors File does not end with a newline. 0

com/gridsystems/resource/events/GroupEvent.java

Violation Message Line
Warnings Cyclomatic Complexity is 11 (max allowed is 10). 174

com/gridsystems/resource/events/ResourceEvent.java

Violation Message Line
Warnings Cyclomatic Complexity is 25 (max allowed is 10). 252

com/gridsystems/resource/internal/ApiResourceGroupImpl.java

Violation Message Line
Warnings Unused import - java.util.HashSet. 23

com/gridsystems/resource/internal/ApiResourceManagerImpl.java

Violation Message Line
Warnings Cyclomatic Complexity is 22 (max allowed is 10). 174
Warnings NPath Complexity is 2,097,152 (max allowed is 200). 174
Warnings Cyclomatic Complexity is 13 (max allowed is 10). 328

com/gridsystems/resource/internal/ApiResourceQueryImpl.java

Violation Message Line
Warnings Class Data Abstraction Coupling is 13 (max allowed is 7) classes [ArrayList, BigDecimal, CPU, Filter, GetAllResourcesPagedRequest, HashSet, Hashtable, IKernelException, PagedRequestManager, Resource, ResourceComparator, ResourceHolder, TreeSet]. 60
Warnings Class Fan-Out Complexity is 28 (max allowed is 20). 60
Warnings Cyclomatic Complexity is 12 (max allowed is 10). 434

com/gridsystems/resource/internal/GroupChecker.java

Violation Message Line
Errors File does not end with a newline. 0
Warnings Cyclomatic Complexity is 11 (max allowed is 10). 226

com/gridsystems/resource/internal/GroupHolder.java

Violation Message Line
Warnings Class Data Abstraction Coupling is 8 (max allowed is 7) classes [AclInfo, CaseInsensitiveResourceIdComparator, GroupDAO, GroupEvent, HashMap, IKernelException, ResourceId, TreeSet]. 59
Warnings Class Fan-Out Complexity is 21 (max allowed is 20). 59

com/gridsystems/resource/internal/GroupList.java

Violation Message Line
Warnings Class Data Abstraction Coupling is 9 (max allowed is 7) classes [ArrayList, GroupEvent, GroupHolder, HashSet, IKernelException, RepositoryFile, ResourceId, TreeMap, Vector]. 62
Warnings Class Fan-Out Complexity is 24 (max allowed is 20). 62
Warnings Cyclomatic Complexity is 12 (max allowed is 10). 648
Warnings NPath Complexity is 240 (max allowed is 200). 648
Warnings Cyclomatic Complexity is 12 (max allowed is 10). 704

com/gridsystems/resource/internal/ResourceChecker.java

Violation Message Line
Warnings Cyclomatic Complexity is 13 (max allowed is 10). 144
Warnings NPath Complexity is 528 (max allowed is 200). 144

com/gridsystems/resource/internal/ResourceHolder.java

Violation Message Line
Warnings Class Data Abstraction Coupling is 8 (max allowed is 7) classes [CPU, HashMap, OS, Resource, ResourceDAO, ResourceId, ResourceProperties, ResourceUsage]. 47

com/gridsystems/resource/internal/ResourceList.java

Violation Message Line
Warnings Class Data Abstraction Coupling is 10 (max allowed is 7) classes [ArrayList, CaseInsensitiveResourceIdComparator, HashMap, RepositoryFile, ResourceAssignment, ResourceEvent, ResourceHolder, ResourceUsage, TreeMap, Vector]. 54

com/gridsystems/resource/internal/utils/GetAllResourcesPagedRequest.java

Violation Message Line
Warnings Cyclomatic Complexity is 14 (max allowed is 10). 86

com/gridsystems/resource/internal/utils/ResourceStats.java

Violation Message Line
Errors File does not end with a newline. 0
Warnings NPath Complexity is 320 (max allowed is 200). 119