Class RecursiveFunctions
- java.lang.Object
-
- com.ensoftcorp.open.commons.analyzers.Analyzer
-
- com.ensoftcorp.open.commons.analyzers.Property
-
- com.ensoftcorp.open.commons.analyzers.RecursiveFunctions
-
public class RecursiveFunctions extends Property
An analyzer for recursive functions- Author:
- Ben Holland, Jon Mathews
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.ensoftcorp.open.commons.analyzers.Analyzer
Analyzer.Result
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringRESULT_PREFIX
-
Constructor Summary
Constructors Constructor Description RecursiveFunctions()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String[]getAssumptions()Returns an array of assumptions made when writing the analyzerjava.lang.StringgetDescription()Returns a short description of the analyzerjava.lang.StringgetName()Returns a name of the analyzerstatic com.ensoftcorp.atlas.core.query.QgetRecursiveMethods()java.util.Comparator<Analyzer.Result>getResultOrder()Sort results based on complexityjava.util.List<Analyzer.Result>getResults(com.ensoftcorp.atlas.core.query.Q context)Return analyzer's labeled results Results are for results within a given context-
Methods inherited from class com.ensoftcorp.open.commons.analyzers.Property
getCategory
-
Methods inherited from class com.ensoftcorp.open.commons.analyzers.Analyzer
equals, getAllResults, getCodemapStageDependencies, getMarkup, getMarkupKey, hashCode
-
-
-
-
Field Detail
-
RESULT_PREFIX
public static final java.lang.String RESULT_PREFIX
- See Also:
- Constant Field Values
-
-
Method Detail
-
getName
public java.lang.String getName()
Description copied from class:AnalyzerReturns a name of the analyzer
-
getDescription
public java.lang.String getDescription()
Description copied from class:AnalyzerReturns a short description of the analyzer- Specified by:
getDescriptionin classAnalyzer- Returns:
-
getAssumptions
public java.lang.String[] getAssumptions()
Description copied from class:AnalyzerReturns an array of assumptions made when writing the analyzer- Overrides:
getAssumptionsin classAnalyzer- Returns:
-
getResults
public java.util.List<Analyzer.Result> getResults(com.ensoftcorp.atlas.core.query.Q context)
Description copied from class:AnalyzerReturn analyzer's labeled results Results are for results within a given context- Specified by:
getResultsin classAnalyzer- Returns:
-
getRecursiveMethods
public static com.ensoftcorp.atlas.core.query.Q getRecursiveMethods()
-
getResultOrder
public java.util.Comparator<Analyzer.Result> getResultOrder()
Sort results based on complexity- Overrides:
getResultOrderin classAnalyzer- Returns:
-
-