- calculate(Matrix) - Method in class com.sdmetrics.metrics.MatrixEngine
-
Calculates a relation matrix.
- calculate(ModelElement, Metric) - Method in class com.sdmetrics.metrics.MetricProcedure
-
Calculates the metric procedure.
- calculate(ModelElement, Metric) - Method in class com.sdmetrics.metrics.MetricProcedureAttributeValue
-
Calculates the metric procedure.
- calculate(ModelElement, Metric) - Method in class com.sdmetrics.metrics.MetricProcedureCompare
-
- calculate(ModelElement, Metric) - Method in class com.sdmetrics.metrics.MetricProcedureCompound
-
- calculate(ModelElement, Metric) - Method in class com.sdmetrics.metrics.MetricProcedureConnectedComponents
-
Calculates the metric procedure.
- calculate(ModelElement, Metric) - Method in class com.sdmetrics.metrics.MetricProcedureCount
-
- calculate(ModelElement, Metric) - Method in class com.sdmetrics.metrics.MetricProcedureFilterValue
-
- calculate(ModelElement, Metric) - Method in class com.sdmetrics.metrics.MetricProcedureNesting
-
Calculates the metric procedure.
- calculate(ModelElement, Metric) - Method in class com.sdmetrics.metrics.MetricProcedureProjection
-
- calculate(ModelElement, Metric) - Method in class com.sdmetrics.metrics.MetricProcedureSetOperation
-
- calculate(ModelElement, Metric) - Method in class com.sdmetrics.metrics.MetricProcedureSignature
-
- calculate(ModelElement, Metric) - Method in class com.sdmetrics.metrics.MetricProcedureSubelements
-
- calculate(ModelElement, Metric) - Method in class com.sdmetrics.metrics.MetricProcedureSubString
-
- calculate(ModelElement, Metric) - Method in class com.sdmetrics.metrics.MetricProcedureValuesetOperation
-
Calculates the metric procedure.
- calculate(ModelElement, Set) - Method in class com.sdmetrics.metrics.SetProcedure
-
Calculates the set procedure.
- calculate(ModelElement, Set) - Method in class com.sdmetrics.metrics.SetProcedureCompare
-
- calculate(ModelElement, Set) - Method in class com.sdmetrics.metrics.SetProcedureCompound
-
- calculate(ModelElement, Set) - Method in class com.sdmetrics.metrics.SetProcedureProjection
-
- calculate(ModelElement, Set) - Method in class com.sdmetrics.metrics.SetProcedureSubelements
-
- calculateConnectedComponents(StronglyConnectedComponents.Graph<T>, int, boolean) - Method in class com.sdmetrics.metrics.StronglyConnectedComponents
-
Calculates the strongly connected components for a graph.
- calculateMatrices(MessageHandler, int, int) - Method in class com.sdmetrics.app.RelationMatrices
-
Calculates all relation matrices, reports any errors.
- calculateValue(ModelElement, ExpressionNode, Variables) - Method in class com.sdmetrics.metrics.BooleanOperation
-
Calculates the value for the Boolean operation.
- calculateValue(ModelElement, ExpressionNode, Variables) - Method in class com.sdmetrics.metrics.ScalarOperation
-
Calculates the value for the scalar operation.
- calculateValue(ModelElement, ExpressionNode, Variables) - Method in class com.sdmetrics.metrics.SetOperation
-
Calculates the value for the set operations.
- ChangeDirectionsAdapter<T> - Class in com.sdmetrics.metrics
-
Constructs a new graph from an existing one, reversing or removing the
directions of the edges.
- ChangeDirectionsAdapter(StronglyConnectedComponents.Graph<T>, boolean) - Constructor for class com.sdmetrics.metrics.ChangeDirectionsAdapter
-
Constructor.
- characters(char[], int, int) - Method in class com.sdmetrics.model.XMIReader
-
Processes text between XML element tags.
- checkFilterIdentifiers() - Method in class com.sdmetrics.app.RuleData
-
Checks the application areas of the rule filter for plausibility.
- checkIdentifiers(MetricStore) - Method in class com.sdmetrics.metrics.RuleFilter
-
Checks the identifiers of the rule filter for plausibility.
- checkRule(ModelElement, Rule) - Method in class com.sdmetrics.metrics.RuleEngine
-
Checks a design rule for a model element.
- checkRule(ModelElement, Rule) - Method in class com.sdmetrics.metrics.RuleProcedure
-
Checks the rule for a model element.
- checkRule(ModelElement, Rule) - Method in class com.sdmetrics.metrics.RuleProcedureCycle
-
- checkRule(ModelElement, Rule) - Method in class com.sdmetrics.metrics.RuleProcedureSet
-
- checkRule(ModelElement, Rule) - Method in class com.sdmetrics.metrics.RuleProcedureViolation
-
- checkRules(MessageHandler, int, int) - Method in class com.sdmetrics.app.RuleData
-
Checks all design rules, reports any errors.
- checkVersion(Attributes, String) - Method in class com.sdmetrics.util.SAXHandler
-
Tests if the indicated "version" number in an XML document is still
supported.
- clear() - Method in class com.sdmetrics.math.HashMultiSet
-
Removes all occurrences of all elements from this set.
- clearValuesCache() - Method in class com.sdmetrics.metrics.RuleEngine
-
Clears the value cache for rule procedures.
- collectExemptedRules(ModelElement) - Method in class com.sdmetrics.metrics.RuleEngine
-
Gets the names of the rules that a model element is allowed to violate.
- com.sdmetrics.app - package com.sdmetrics.app
-
Supports the integration of SDMetrics' measurement capabilities into applications.
- com.sdmetrics.cmdline - package com.sdmetrics.cmdline
-
Provides a simple command line tool for SDMetrics' core functionality.
- com.sdmetrics.math - package com.sdmetrics.math
-
Hosts the expression parser for metric, set, and condition expressions,
and some specialized container classes.
- com.sdmetrics.metrics - package com.sdmetrics.metrics
-
Provides the core functionality of SDMetrics:
calculating metrics, checking design rules.
- com.sdmetrics.model - package com.sdmetrics.model
-
Provides the XMI import of UML models and access to the elements of the imported model.
- com.sdmetrics.output - package com.sdmetrics.output
-
Provides data export to text files, HTML files, Excel, and OpenDocument Spreadsheets.
- com.sdmetrics.util - package com.sdmetrics.util
-
Package with some general utility classes to provide simple XML parsing and version information.
- config - Variable in class com.sdmetrics.output.ExportFormatter
-
The configuration parameters for this data export.
- ConsoleMessageHandler - Class in com.sdmetrics.app
-
Message handler for console-based applications.
- ConsoleMessageHandler() - Constructor for class com.sdmetrics.app.ConsoleMessageHandler
-
Creates a new handler that writes to the "standard out" and
"standard err" streams of the process.
- ConsoleMessageHandler(PrintStream) - Constructor for class com.sdmetrics.app.ConsoleMessageHandler
-
Creates a message handler writing all messages to a single stream.
- ConsoleMessageHandler(PrintStream, PrintStream) - Constructor for class com.sdmetrics.app.ConsoleMessageHandler
-
Creates a message handler writing progress and error messages to separate
streams.
- contains(Object) - Method in class com.sdmetrics.math.HashMultiSet
-
Returns true
if this set contains the specified element at
least once.
- COPYRIGHT - Static variable in class com.sdmetrics.util.VersionInfo
-
Copyright string, using unicode characters.
- COPYRIGHTASCII - Static variable in class com.sdmetrics.util.VersionInfo
-
Copyright string, using only ASCII characters.
- CoreCommandLineProcessor - Class in com.sdmetrics.cmdline
-
Processes the SDMetrics core command line, and initiates metrics calculation
and data export as specified by the command line options.
- CoreCommandLineProcessor() - Constructor for class com.sdmetrics.cmdline.CoreCommandLineProcessor
-
- createHashSet(boolean) - Static method in class com.sdmetrics.metrics.MetricTools
-
Creates a new empty set or multiset.
- createHashSet(boolean, Collection<?>) - Static method in class com.sdmetrics.metrics.MetricTools
-
Creates a new set or multiset with initial contents.
- createOutputFile(String) - Method in class com.sdmetrics.output.ExportFormatter
-
Creates an output file with the configured encoding.
- get(int, int) - Method in class com.sdmetrics.math.IntegerMatrix
-
Retrieves the integer at the given coordinates.
- getAcceptedElements(MetaModelElement) - Method in class com.sdmetrics.model.Model
-
Returns the list of accepted elements of a given type.
- getApplicableAreas() - Method in class com.sdmetrics.metrics.Rule
-
Gets the application areas of the rule.
- getAttributeDescription(String) - Method in class com.sdmetrics.model.MetaModelElement
-
Gets the description of an attribute.
- getAttributeNames() - Method in class com.sdmetrics.model.MetaModelElement
-
Gets the attribute names of the metamodel element.
- getAttributes() - Method in class com.sdmetrics.metrics.MetricEntry
-
Gets the calculation procedure attributes for this entry.
- getBooleanValue(String, boolean) - Method in class com.sdmetrics.metrics.ProcedureAttributes
-
Retrieves the value of a boolean attribute.
- getBriefDescription() - Method in class com.sdmetrics.metrics.MetricEntry
-
Gets the brief description for this entry.
- getCategory() - Method in class com.sdmetrics.metrics.Metric
-
Gets the category (structural property) measured by the metric.
- getCategory() - Method in class com.sdmetrics.metrics.Rule
-
Gets the category of this rule.
- getColumnCondition() - Method in class com.sdmetrics.metrics.Matrix
-
Gets the condition expression for column elements to be included in the
matrix.
- getColumnDescription(int, int) - Method in interface com.sdmetrics.app.DataTables
-
Returns a short description of a column.
- getColumnDescription(int, int) - Method in class com.sdmetrics.app.MetricData
-
Returns a description for the metric at the specified column.
- getColumnDescription(int, int) - Method in class com.sdmetrics.app.ModelData
-
Gets the description of an attribute in a column.
- getColumnDescription(int, int) - Method in class com.sdmetrics.app.RelationMatrices
-
Returns a short description of a column.
- getColumnDescription(int, int) - Method in class com.sdmetrics.app.RuleData
-
- getColumnElement(int) - Method in class com.sdmetrics.metrics.MatrixData
-
Gets the target model element in a column of this relation matrix.
- getColumnName(int, int) - Method in interface com.sdmetrics.app.DataTables
-
Returns the name of the object a column represents (column header).
- getColumnName(int, int) - Method in class com.sdmetrics.app.MetricData
-
Returns the name of the metric at the specified column.
- getColumnName(int, int) - Method in class com.sdmetrics.app.ModelData
-
Gets the name of the attribute in a column.
- getColumnName(int, int) - Method in class com.sdmetrics.app.RelationMatrices
-
Gets the name of a target element in specific column.
- getColumnName(int, int) - Method in class com.sdmetrics.app.RuleData
-
- getColumnType() - Method in class com.sdmetrics.metrics.Matrix
-
Retrieves the element type of the target elements (columns).
- getComparator() - Static method in class com.sdmetrics.model.ModelElement
-
Returns a comparator to sort model elements by the order in which they
are defined in the XMI file.
- getConnectedComponent(int) - Method in class com.sdmetrics.metrics.StronglyConnectedComponents
-
Gets the node set for a strongly connected component.
- getConnectedComponentCount() - Method in class com.sdmetrics.metrics.StronglyConnectedComponents
-
Gets the number of strongly connected components found.
- getConnectedComponents(MetricsEngine, ModelElement, Metric) - Method in class com.sdmetrics.metrics.MetricProcedureConnectedComponents
-
Calculates the connected components for a model element.
- getCriticality() - Method in class com.sdmetrics.metrics.Rule
-
Gets the criticality of this rule.
- getDescription() - Method in class com.sdmetrics.output.ExportFormatter
-
Gets a description string for this format.
- getElement() - Method in exception com.sdmetrics.metrics.SDMetricsException
-
Gets the model element that caused the problem.
- getElementCount(Object) - Method in class com.sdmetrics.math.HashMultiSet
-
Retrieves the cardinality of an element in this set.
- getElements(MetaModelElement) - Method in class com.sdmetrics.model.Model
-
Returns the list of all elements of a given type.
- getErrorInfo() - Method in class com.sdmetrics.math.ExpressionParser
-
Retrieves a string describing the syntax error that occurred during
expression parsing.
- getErrorMessage() - Method in class com.sdmetrics.util.XMLParser
-
Gets an enhanced error message when parsing of a file failed.
- getErrorMessageText(List<Problem>, boolean) - Static method in class com.sdmetrics.app.ConsoleMessageHandler
-
Creates an error report for a list of problems.
- getExportFormats() - Static method in class com.sdmetrics.output.ExportFormatterFactory
-
Retrieves the file extension names of all available export formats.
- getExpression(String) - Method in class com.sdmetrics.metrics.ProcedureAttributes
-
Retrieves the operator tree for an optional attribute holding an
expression.
- getExtension() - Method in class com.sdmetrics.output.ExportFormatter
-
Gets the file extension for this format.
- getExtensionReference() - Method in class com.sdmetrics.model.MetaModelElement
-
Gets the name of the extension reference attribute.
- getFilterAttributeProcessor(ProcedureAttributes) - Method in class com.sdmetrics.metrics.AbstractProcedure
-
Creates a new filter attribute processing object.
- getFlatIterator() - Method in class com.sdmetrics.math.HashMultiSet
-
Returns an iterator over the elements in the set, ignoring the
cardinality.
- getFlatIterator(Collection<T>) - Static method in class com.sdmetrics.metrics.MetricTools
-
Obtains an iterator over the unique elements of a set or multiset.
- getFloatValue(ModelElement, ExpressionNode, Variables) - Method in class com.sdmetrics.metrics.ScalarOperation
-
Evaluates an expression that yields a float value.
- getFloatValue(Object, ModelElement) - Method in class com.sdmetrics.metrics.ScalarOperation
-
Converts a number value to float.
- getFormatter(String) - Static method in class com.sdmetrics.output.ExportFormatterFactory
-
Creates an export formatter for a given file extension.
- getFullDescription() - Method in class com.sdmetrics.metrics.MetricEntry
-
Gets the full description for this entry.
- getFullName() - Method in class com.sdmetrics.model.ModelElement
-
Gets the fully qualified name of this model element.
- getGlossary() - Method in class com.sdmetrics.metrics.MetricStore
-
Gets the list of all glossary terms defined in the metric definition
file.
- getIndexFor(T) - Method in class com.sdmetrics.metrics.StronglyConnectedComponents
-
Gets the index of the strongly connected component of a node.
- getLeftNode() - Method in class com.sdmetrics.math.ExpressionNode
-
Retrieves the node representing the left hand side of a binary operation,
or the operand of a unary operation.
- getLinksIgnored() - Method in class com.sdmetrics.model.ModelElement
-
Tests whether cross-references to this element should be ignored
according to the element filter settings.
- getLiteratureReferences() - Method in class com.sdmetrics.metrics.MetricStore
-
Gets the list of all literature references defined in the metric
definition file.
- getLocation() - Method in class com.sdmetrics.metrics.MetricEntry
-
Gets the line number of this entry in the metric definition file.
- getMatrices() - Method in class com.sdmetrics.metrics.MetricStore
-
Gets the list of all relationship matrices defined in the metric
definition file.
- getMatrixDefinition() - Method in class com.sdmetrics.metrics.MatrixData
-
Gets the definition of the matrix.
- getMessage() - Method in class com.sdmetrics.app.Problem
-
Gets the message of the problem.
- getMetaModel() - Method in class com.sdmetrics.metrics.AbstractProcedure
-
Gets the metamodel for which this calculation takes place.
- getMetaModel() - Method in class com.sdmetrics.metrics.MetricsEngine
-
Retrieves the metamodel on which this metrics engine is based.
- getMetaModel() - Method in class com.sdmetrics.metrics.MetricStore
-
Gets the metamodel on which the metrics are based.
- getMetaModel() - Method in class com.sdmetrics.model.Model
-
Retrieves the metamodel on which this model is based.
- getMetric(MetaModelElement, String) - Method in class com.sdmetrics.metrics.MetricStore
-
Gets the metric for a given element type by its name.
- getMetricEntry() - Method in exception com.sdmetrics.metrics.SDMetricsException
-
Gets the metric, set, rule, or matrix that caused the problem.
- getMetrics(MetaModelElement) - Method in class com.sdmetrics.metrics.MetricStore
-
Gets the list of all metrics for a given element type.
- getMetricsEngine() - Method in class com.sdmetrics.metrics.AbstractProcedure
-
Gets the metrics engine to use for calculations.
- getMetricsEngine() - Method in class com.sdmetrics.metrics.MatrixEngine
-
Returns the metrics engine that this matrix engine uses.
- getMetricsEngine() - Method in class com.sdmetrics.metrics.RuleEngine
-
Returns the metrics engine that this rule engine uses.
- getMetricStore() - Method in class com.sdmetrics.metrics.MetricsEngine
-
Retrieves the metric definitions used by this metrics engine.
- getMetricValue(int, int, int) - Method in class com.sdmetrics.app.MetricData
-
Returns the metric value for a particular design element and metric in a
table, throwing an exception if the calculation failed.
- getMetricValue(ModelElement, Metric) - Method in class com.sdmetrics.metrics.MetricsEngine
-
Retrieves the value of a metric for a model element.
- getMinExpressionValue(ModelElement, ProcedureAttributes, String, Variables) - Method in class com.sdmetrics.metrics.RuleProcedure
-
Evaluates the "minnodes" or "mincnt" expression of a rule.
- getModel() - Method in class com.sdmetrics.metrics.AbstractProcedure
-
Gets the model for which this calculation takes place.
- getModel() - Method in class com.sdmetrics.metrics.MetricsEngine
-
Retrieves the model on which this metrics engine operates.
- getModelElement() - Method in class com.sdmetrics.metrics.RuleViolation
-
Gets the model element of this rule violation.
- getName() - Method in class com.sdmetrics.metrics.MetricEntry
-
Retrieves the name of the entry.
- getName() - Method in class com.sdmetrics.model.MetaModelElement
-
Gets the name of this element type.
- getName() - Method in class com.sdmetrics.model.ModelElement
-
Gets the name of this model element.
- getNeighbors(T) - Method in class com.sdmetrics.metrics.ChangeDirectionsAdapter
-
- getNeighbors(ModelElement) - Method in class com.sdmetrics.metrics.ElementGraph
-
- getNeighbors(T) - Method in interface com.sdmetrics.metrics.StronglyConnectedComponents.Graph
-
Obtains, for a node, the set of nodes to which it has an outgoing
edge.
- getNodes() - Method in class com.sdmetrics.metrics.ChangeDirectionsAdapter
-
- getNodes() - Method in class com.sdmetrics.metrics.ElementGraph
-
- getNodes() - Method in interface com.sdmetrics.metrics.StronglyConnectedComponents.Graph
-
Retrieves the set of nodes of the graph.
- getNumber(float) - Static method in class com.sdmetrics.metrics.MetricTools
-
Optimizes a float return value for a metric.
- getNumberOfColumns(int) - Method in interface com.sdmetrics.app.DataTables
-
Returns the number of columns of a table.
- getNumberOfColumns(int) - Method in class com.sdmetrics.app.MetricData
-
Returns the number of metrics for a table.
- getNumberOfColumns(int) - Method in class com.sdmetrics.app.ModelData
-
Returns the number of attributes (columns) in a table.
- getNumberOfColumns(int) - Method in class com.sdmetrics.app.RelationMatrices
-
Gets the number of target design elements (columns) in a table.
- getNumberOfColumns(int) - Method in class com.sdmetrics.app.RuleData
-
- getNumberOfColumns() - Method in class com.sdmetrics.metrics.MatrixData
-
Gets the number of columns (target model elements) of this relation
matrix.
- getNumberOfElements() - Method in class com.sdmetrics.model.XMIReader
-
Gets the number of elements that have been extracted.
- getNumberOfRows(int) - Method in interface com.sdmetrics.app.DataTables
-
Returns the number of rows of a table.
- getNumberOfRows(int) - Method in class com.sdmetrics.app.MetricData
-
Returns the number of design elements for a table.
- getNumberOfRows(int) - Method in class com.sdmetrics.app.ModelData
-
Returns the number of model elements (rows) in a table.
- getNumberOfRows(int) - Method in class com.sdmetrics.app.RelationMatrices
-
Gets the number of source design elements (rows) in a table.
- getNumberOfRows(int) - Method in class com.sdmetrics.app.RuleData
-
Gets the number of design rule violations for a table.
- getNumberOfRows() - Method in class com.sdmetrics.metrics.MatrixData
-
Gets the number of rows (source model elements) of this relation matrix.
- getNumberOfTables() - Method in interface com.sdmetrics.app.DataTables
-
Returns the number of available tables.
- getNumberOfTables() - Method in class com.sdmetrics.app.MetricData
-
- getNumberOfTables() - Method in class com.sdmetrics.app.ModelData
-
- getNumberOfTables() - Method in class com.sdmetrics.app.RelationMatrices
-
- getNumberOfTables() - Method in class com.sdmetrics.app.RuleData
-
- getOperand(int) - Method in class com.sdmetrics.math.ExpressionNode
-
Gets an operand of the node.
- getOperandCount() - Method in class com.sdmetrics.math.ExpressionNode
-
Gets the number of operands of this node.
- getOwnedElements() - Method in class com.sdmetrics.model.ModelElement
-
Gets the model elements owned by this element.
- getOwner() - Method in class com.sdmetrics.model.ModelElement
-
Gets the owner of this model element.
- getParameterCount() - Method in enum com.sdmetrics.metrics.DescriptionLocator
-
Gets the number of parameters this locator expects following the prefix.
- getParent() - Method in class com.sdmetrics.model.MetaModelElement
-
Gets the parent of this element type.
- getPlainAttribute(String) - Method in class com.sdmetrics.model.ModelElement
-
Retrieves the value of a single-valued data attribute for this model
element.
- getPrefix() - Method in enum com.sdmetrics.metrics.DescriptionLocator
-
Gets the prefix of this locator.
- getProcedureName() - Method in class com.sdmetrics.metrics.MetricEntry
-
Gets the name of the calculation procedure.
- getRefAttribute(String) - Method in class com.sdmetrics.model.ModelElement
-
Retrieves the model element referenced by a single-valued cross-reference
attribute.
- getReferencedIds(int, int, int) - Method in class com.sdmetrics.app.ModelData
-
Gets the set of XMI IDs of model elements referenced by a (multi-valued)
cross-reference attribute.
- getRelationOrSet(ModelElement, ProcedureAttributes, Variables) - Method in class com.sdmetrics.metrics.AbstractProcedure
-
Gets the element set specified by a "relation" or "relset" attribute.
- getRelations(String) - Method in class com.sdmetrics.model.ModelElement
-
Returns the set of model elements that point to this model element via a
specified cross-reference attribute.
- getRequiredExpression(String) - Method in class com.sdmetrics.metrics.ProcedureAttributes
-
Retrieves the operator tree for a required attribute holding an
expression.
- getRequiredStringValue(String) - Method in class com.sdmetrics.metrics.ProcedureAttributes
-
Retrieves the value of a required attribute holding a simple string.
- getResultSet() - Method in class com.sdmetrics.metrics.SetSummationHelper
-
Gets the result set.
- getRightNode() - Method in class com.sdmetrics.math.ExpressionNode
-
Retrieves the node representing the right hand side of a binary
operation.
- getRowCondition() - Method in class com.sdmetrics.metrics.Matrix
-
Gets the condition expression for row elements to be included in the
matrix.
- getRowElement(int) - Method in class com.sdmetrics.metrics.MatrixData
-
Gets the source element in a row of this relation matrix.
- getRowName(int, int) - Method in interface com.sdmetrics.app.DataTables
-
Returns the name of the object a row represents (row header).
- getRowName(int, int) - Method in class com.sdmetrics.app.MetricData
-
Returns the name of the design element at the specified row.
- getRowName(int, int) - Method in class com.sdmetrics.app.ModelData
-
Gets the fully qualified name of a model element in a specific row.
- getRowName(int, int) - Method in class com.sdmetrics.app.RelationMatrices
-
Gets the name of a source element in specific row.
- getRowName(int, int) - Method in class com.sdmetrics.app.RuleData
-
Gets the fully qualified name of the violating model element in a
specific row.
- getRowType() - Method in class com.sdmetrics.metrics.Matrix
-
Retrieves the element type of the source elements (rows).
- getRule(MetaModelElement, String) - Method in class com.sdmetrics.metrics.MetricStore
-
Gets the rule for a given element type by its name.
- getRule() - Method in class com.sdmetrics.metrics.RuleViolation
-
Gets the rule of this rule violation.
- getRuleEngine() - Method in class com.sdmetrics.metrics.RuleProcedure
-
Gets the rule engine for this rule procedure.
- getRules(MetaModelElement) - Method in class com.sdmetrics.metrics.MetricStore
-
Gets the list of all rules for a given element type.
- getRuleValue(ModelElement, ProcedureAttributes, Variables) - Method in class com.sdmetrics.metrics.RuleProcedure
-
Evaluates the "value" expression of a rule.
- getSAXParserHandler() - Method in class com.sdmetrics.metrics.MetricStore
-
Gets a SAX handler to parse a metric definition file and store its
contents with this object.
- getSAXParserHandler() - Method in class com.sdmetrics.model.MetaModel
-
Gets a SAX handler to populate this metamodel with the contents of a
metamodel definition file.
- getSAXParserHandler() - Method in class com.sdmetrics.model.XMITransformations
-
Gets a SAX handler to parse an XMI transformation file and store the
transformations with this object.
- getSet(ModelElement, Set) - Method in class com.sdmetrics.metrics.MetricsEngine
-
Retrieves the contents of a set for a model element.
- getSet(MetaModelElement, String) - Method in class com.sdmetrics.metrics.MetricStore
-
Gets the set for a given element type by its name.
- getSetAttribute(String) - Method in class com.sdmetrics.model.ModelElement
-
Retrieves the set of values for a multi-valued attribute.
- getSets(MetaModelElement) - Method in class com.sdmetrics.metrics.MetricStore
-
Gets the list of all sets for a given element type.
- getStringValue(String) - Method in class com.sdmetrics.metrics.ProcedureAttributes
-
Retrieves the value of an optional attribute holding a simple string.
- getTableName(int) - Method in interface com.sdmetrics.app.DataTables
-
Returns the name of a table.
- getTableName(int) - Method in class com.sdmetrics.app.MetricData
-
- getTableName(int) - Method in class com.sdmetrics.app.ModelData
-
- getTableName(int) - Method in class com.sdmetrics.app.RelationMatrices
-
Returns the name of the relation matrix.
- getTableName(int) - Method in class com.sdmetrics.app.RuleData
-
- getTablesDescription() - Method in interface com.sdmetrics.app.DataTables
-
Returns a short description of the tables contents.
- getTablesDescription() - Method in class com.sdmetrics.app.MetricData
-
- getTablesDescription() - Method in class com.sdmetrics.app.ModelData
-
- getTablesDescription() - Method in class com.sdmetrics.app.RelationMatrices
-
- getTablesDescription() - Method in class com.sdmetrics.app.RuleData
-
- getThrowable() - Method in class com.sdmetrics.app.Problem
-
Gets the exception/error that caused the problem.
- getTotal() - Method in class com.sdmetrics.metrics.SummationHelper
-
Gets the current total.
- getType() - Method in class com.sdmetrics.metrics.Metric
-
Retrieves the type of elements for which the metric is defined.
- getType() - Method in class com.sdmetrics.metrics.Rule
-
Gets the element type for which this rule is defined.
- getType() - Method in class com.sdmetrics.metrics.Set
-
Retrieves the type of elements for which the set is defined.
- getType(String) - Method in class com.sdmetrics.model.MetaModel
-
Retrieves a metamodel element by its type name.
- getType() - Method in class com.sdmetrics.model.ModelElement
-
Returns the metamodel element type of this model element.
- getTypeName(int) - Method in interface com.sdmetrics.app.DataTables
-
Returns the metamodel type name of the elements of a table.
- getTypeName(int) - Method in class com.sdmetrics.app.MetricData
-
- getTypeName(int) - Method in class com.sdmetrics.app.ModelData
-
- getTypeName(int) - Method in class com.sdmetrics.app.RelationMatrices
-
Returns the metamodel type name of the elements of a table.
- getTypeName(int) - Method in class com.sdmetrics.app.RuleData
-
- getValue() - Method in class com.sdmetrics.math.ExpressionNode
-
Retrieves the value of this node.
- getValue() - Method in class com.sdmetrics.metrics.RuleViolation
-
Gets the value for this rule violation.
- getValueAt(int, int, int) - Method in interface com.sdmetrics.app.DataTables
-
Returns the value of a table cell.
- getValueAt(int, int, int) - Method in class com.sdmetrics.app.MetricData
-
Returns the metric value for a particular design element and metric in a
table.
- getValueAt(int, int, int) - Method in class com.sdmetrics.app.ModelData
-
Gets the value of an attribute for a specific model element.
- getValueAt(int, int, int) - Method in class com.sdmetrics.app.RelationMatrices
-
- getValueAt(int, int, int) - Method in class com.sdmetrics.app.RuleData
-
Gets the detailed information about a rule violation in the specified
column.
- getValueAt(int, int) - Method in class com.sdmetrics.metrics.MatrixData
-
Gets the value of a cell of this relation matrix.
- getValuesCache() - Method in class com.sdmetrics.metrics.RuleProcedure
-
Gets the cache to store data for reuse for subsequent checks of other
model elements.
- getVariable(String) - Method in class com.sdmetrics.metrics.Variables
-
Gets the value of a variable.
- getXMIID(int, int) - Method in class com.sdmetrics.app.ModelData
-
Gets the XMI ID of a model element.
- getXMIID() - Method in class com.sdmetrics.model.ModelElement
-
Gets the XMI ID of this model element.
- Glossary - Class in com.sdmetrics.metrics
-
Represents a glossary term entry in the metric definition file.
- MappedCollectionsIterator<T> - Class in com.sdmetrics.math
-
Iterates over the elements contained in multiple collections, which are
organized as values in a map.
- MappedCollectionsIterator(Map<?, ? extends Collection<T>>) - Constructor for class com.sdmetrics.math.MappedCollectionsIterator
-
Constructor.
- match(Rule) - Method in class com.sdmetrics.metrics.RuleFilter
-
Checks if the application area(s) of a design rule match this filter.
- Matrix - Class in com.sdmetrics.metrics
-
Represents the definition of a relation matrix in the metric definition file.
- Matrix(String, MetaModelElement, MetaModelElement) - Constructor for class com.sdmetrics.metrics.Matrix
-
Creates a new relation matrix definition.
- MatrixData - Class in com.sdmetrics.metrics
-
Data structure to store the data for one matrix.
- MatrixEngine - Class in com.sdmetrics.metrics
-
Calculates relation matrices.
- MatrixEngine(MetricsEngine) - Constructor for class com.sdmetrics.metrics.MatrixEngine
-
Creates a new matrix engine.
- message(String, int) - Method in class com.sdmetrics.app.ConsoleMessageHandler
-
- message(String, int) - Method in class com.sdmetrics.app.MessageHandler
-
Reports a calculation progress message.
- MessageHandler - Class in com.sdmetrics.app
-
Class to report progress messages and errors during (lengthy) operations such
as metric calculations.
- MessageHandler() - Constructor for class com.sdmetrics.app.MessageHandler
-
- MetaModel - Class in com.sdmetrics.model
-
Represents an SDMetrics metamodel.
- MetaModel() - Constructor for class com.sdmetrics.model.MetaModel
-
- MetaModelElement - Class in com.sdmetrics.model
-
Represents an element type of the SDMetrics metamodel.
- Metric - Class in com.sdmetrics.metrics
-
Represents the definition of metric in the metric definition file.
- Metric(String, MetaModelElement, String) - Constructor for class com.sdmetrics.metrics.Metric
-
Creates a new metric definition.
- MetricData - Class in com.sdmetrics.app
-
Provides a tabular view of the design measurement data.
- MetricData(MetricsEngine) - Constructor for class com.sdmetrics.app.MetricData
-
Constructor.
- MetricEntry - Class in com.sdmetrics.metrics
-
Base class for entries in the metric definition file (metrics, sets, rules,
or matrices).
- MetricEntry(String) - Constructor for class com.sdmetrics.metrics.MetricEntry
-
Constructor.
- MetricProcedure - Class in com.sdmetrics.metrics
-
Base class for all metric procedures.
- MetricProcedure() - Constructor for class com.sdmetrics.metrics.MetricProcedure
-
- MetricProcedureAttributeValue - Class in com.sdmetrics.metrics
-
Calculates an "attributevalue" metric procedure.
- MetricProcedureAttributeValue() - Constructor for class com.sdmetrics.metrics.MetricProcedureAttributeValue
-
- MetricProcedureCompare - Class in com.sdmetrics.metrics
-
Calculates the deprecated "compare" metric procedure.
- MetricProcedureCompare() - Constructor for class com.sdmetrics.metrics.MetricProcedureCompare
-
- MetricProcedureCompound - Class in com.sdmetrics.metrics
-
Calculates a "compound" metric procedure.
- MetricProcedureCompound() - Constructor for class com.sdmetrics.metrics.MetricProcedureCompound
-
- MetricProcedureConnectedComponents - Class in com.sdmetrics.metrics
-
Calculates a "connectedcomponents" metric procedure.
- MetricProcedureConnectedComponents() - Constructor for class com.sdmetrics.metrics.MetricProcedureConnectedComponents
-
- MetricProcedureCount - Class in com.sdmetrics.metrics
-
Calculates the deprecated "count" metric procedure.
- MetricProcedureCount() - Constructor for class com.sdmetrics.metrics.MetricProcedureCount
-
- MetricProcedureFilterValue - Class in com.sdmetrics.metrics
-
Calculates a "filtervalue" metric procedure.
- MetricProcedureFilterValue() - Constructor for class com.sdmetrics.metrics.MetricProcedureFilterValue
-
- MetricProcedureNesting - Class in com.sdmetrics.metrics
-
Calculates a "nesting" metric procedure.
- MetricProcedureNesting() - Constructor for class com.sdmetrics.metrics.MetricProcedureNesting
-
- MetricProcedureProjection - Class in com.sdmetrics.metrics
-
Calculates a "projection" metric procedure.
- MetricProcedureProjection() - Constructor for class com.sdmetrics.metrics.MetricProcedureProjection
-
- MetricProcedureSetOperation - Class in com.sdmetrics.metrics
-
Calculates the deprecated "setoperation" metric procedure.
- MetricProcedureSetOperation() - Constructor for class com.sdmetrics.metrics.MetricProcedureSetOperation
-
- MetricProcedureSignature - Class in com.sdmetrics.metrics
-
Calculates a "signature" metric procedure.
- MetricProcedureSignature() - Constructor for class com.sdmetrics.metrics.MetricProcedureSignature
-
- MetricProcedureSubelements - Class in com.sdmetrics.metrics
-
Calculates a "subelements" metric procedure.
- MetricProcedureSubelements() - Constructor for class com.sdmetrics.metrics.MetricProcedureSubelements
-
- MetricProcedureSubString - Class in com.sdmetrics.metrics
-
Calculates the "substring" procedure to extract substrings from a string.
- MetricProcedureSubString() - Constructor for class com.sdmetrics.metrics.MetricProcedureSubString
-
- MetricProcedureValuesetOperation - Class in com.sdmetrics.metrics
-
Calculates the deprecated "valueset" metric procedure.
- MetricProcedureValuesetOperation() - Constructor for class com.sdmetrics.metrics.MetricProcedureValuesetOperation
-
- MetricsEngine - Class in com.sdmetrics.metrics
-
Calculates metrics and sets.
- MetricsEngine(MetricStore, Model) - Constructor for class com.sdmetrics.metrics.MetricsEngine
-
Initializes a new metrics engine.
- MetricStore - Class in com.sdmetrics.metrics
-
Reads a metric definition file and provides access to metrics, sets, and
rules defined therein.
- MetricStore(MetaModel) - Constructor for class com.sdmetrics.metrics.MetricStore
-
Creates a new metric store.
- MetricTools - Class in com.sdmetrics.metrics
-
Collection of static helper methods that are useful for the implementation of
calculation procedures.
- Model - Class in com.sdmetrics.model
-
Container for the model elements of the UML design to be analyzed.
- Model(MetaModel) - Constructor for class com.sdmetrics.model.Model
-
Creates a new, empty model.
- ModelData - Class in com.sdmetrics.app
-
Provides a tabular view of the analyzed model.
- ModelData(Model) - Constructor for class com.sdmetrics.app.ModelData
-
Constructor.
- ModelElement - Class in com.sdmetrics.model
-
Represents a model element of a model.
- ModelElement(MetaModelElement) - Constructor for class com.sdmetrics.model.ModelElement
-
Creates a new element.