NCSS for this method is 41 (max allowed is 40). Open
public void processJoin(Player player) {
- Read upRead up
- Exclude checks
Determines complexity of methods, classes and files bycounting the Non Commenting Source Statements (NCSS). Thischeck adheres to the specification for theJavaNCSS-Toolwritten by Chr. Clemens Lee.
Roughly said the NCSS metric is calculated bycounting the source lines which are not comments, (nearly)equivalent to counting the semicolons and opening curly braces.
The NCSS for a class is summarized from the NCSSof all its methods, the NCSS of its nested classes and thenumber of member variable declarations.
The NCSS for a file is summarized from the ncss of all its top level classes,the number of imports and the package declaration.
Rationale: Too large methods and classes are hard to read andcostly to maintain. A large NCSS number often means that amethod or class has too many responsibilities and/orfunctionalities which should be decomposed into smaller units.
This documentation is written and maintained by the Checkstyle community and is covered under the same license as the Checkstyle project.