hirondelle.web4jtools.metrics.comments
Class CommentsAction
Object
ActionImpl
hirondelle.web4jtools.metrics.base.MetricsAction
hirondelle.web4jtools.metrics.comments.CommentsAction
- All Implemented Interfaces:
- Action
public final class CommentsAction
- extends MetricsAction
List java classes with a low number of comments.
Calculate the overall percentage of comments in your code.
Uses the ThresholdForLowComments setting in web.xml.
Method Summary |
protected void |
calculateMetric()
Calculate metrics and show list of classes with low numbers of comments. |
static void |
readConfig(ServletConfig aConfig)
Read in settings from web.xml. |
Methods inherited from class ActionImpl |
addError, addError, addError, addMessage, addMessage, addToRequest, addToSession, copyFromSessionToRequest, createSessionAndCsrfToken, endSession, getErrors, getExistingSession, getFromSession, getIdParam, getIdParams, getLocale, getLoggedInUserName, getMessages, getOperation, getOrderBy, getParam, getParamUnsafe, getRequestParser, getResponsePage, getTimeZone, getUserId, hasErrors, removeFromSession, setResponsePage |
Methods inherited from class Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CommentsAction
public CommentsAction(RequestParser aRequestParser)
readConfig
public static void readConfig(ServletConfig aConfig)
- Read in settings from web.xml.
calculateMetric
protected void calculateMetric()
- Calculate metrics and show list of classes with low numbers of comments.
- Specified by:
calculateMetric
in class MetricsAction
Copyright Hirondelle Systems - Generated 2013Oct19.12.26