public class CyclomaticComplexityCheck extends AbstractComplexityCheck
DEFAULT_ERROR_SCORE, DEFAULT_INFO_SCORE, DEFAULT_WARNING_SCORE, mScoring, mViolationSize
コンストラクタと説明 |
---|
CyclomaticComplexityCheck()
Create an instance.
|
修飾子とタイプ | メソッドと説明 |
---|---|
int[] |
getDefaultTokens()
Returns the default token a check is interested in.
|
protected String |
getMessageID() |
protected void |
visitTokenHook(DetailAST aAST)
Hook called when visiting a token.
|
getCurrentValue, getMax, getRequiredTokens, incrementCurrentValue, leaveToken, leaveTokenHook, popValue, pushValue, setCurrentValue, setMax, visitToken
beginTree, destroy, finishTree, getAcceptableTokens, getClassLoader, getFileContents, getLines, getTabWidth, getTokenNames, init, log, log, setClassLoader, setFileContents, setMessages, setTabWidth, setTokens
calculateScore, getCustomMessages, getErrorScore, getId, getInfoScore, getMessageBundle, getScore, getScoring, getSeverity, getSeverityLevel, getWarningScore, log, setErrorScore, setId, setInfoScore, setScore, setScoring, setSeverity, setWarningScore
configure, contextualize, finishLocalSetup, getConfiguration, setupChild
public int[] getDefaultTokens()
Check
getDefaultTokens
クラス内 Check
TokenTypes
protected final void visitTokenHook(DetailAST aAST)
AbstractComplexityCheck
visitTokenHook
クラス内 AbstractComplexityCheck
aAST
- the token being visitedprotected final String getMessageID()
getMessageID
クラス内 AbstractComplexityCheck
Copyright © 2001-2013. All Rights Reserved.