Public Member Functions | |
AxlMetrics_Abstract () | |
abstract IAXLangElement | getAxlElement () |
abstract void | metricResultsToCsv () |
Write the metric results into a CSV structure. | |
void | toCsvFile () |
Write the built CSV structure to a file. | |
Protected Member Functions | |
void | resetMetricsResult () |
Initialize or reset the internal attributes which store the results of a metric execution It is used in the constructor and within the executes() method. This method should be called by each overriding method of a subclass. | |
abstract void | setTheFileName () |
sets the name of the CSV output file for this metrics. Should be overwritten by subclasses. | |
Protected Attributes | |
CsvFileWriter | theCsvFileWriter |
The CSV builder and writer. | |
String | theFileName |
The name of the output file (without path and without file extension). | |
Static Protected Attributes | |
static String | OUTPUTSUBFOLDER_STRING = "metrics" |
the name of the output subfolder for csv files |
de.fraunhofer.isst.axbench.operations.metrics.AxlMetrics_Abstract.AxlMetrics_Abstract | ( | ) |
abstract IAXLangElement de.fraunhofer.isst.axbench.operations.metrics.AxlMetrics_Abstract.getAxlElement | ( | ) | [pure virtual] |
Implements de.fraunhofer.isst.axbench.operations.checker.solver.utilities.IAxlMetricsResultData.
Implemented in de.fraunhofer.isst.axbench.operations.metrics.AxlMetrics_StructureCounts_Abstract, de.fraunhofer.isst.axbench.operations.metrics.AxlMetrics_StructureCounts_ApplicationModel, de.fraunhofer.isst.axbench.operations.metrics.AxlMetrics_StructureCounts_FeatureModel, de.fraunhofer.isst.axbench.operations.metrics.AxlMetrics_VariabilityInfluence, and de.fraunhofer.isst.axbench.operations.metrics.AxlMetricsHandler_Expense.AxlMetricsExpense.
abstract void de.fraunhofer.isst.axbench.operations.metrics.AxlMetrics_Abstract.metricResultsToCsv | ( | ) | [pure virtual] |
Write the metric results into a CSV structure.
Implemented in de.fraunhofer.isst.axbench.operations.metrics.AxlMetrics_StructureCounts_ApplicationModel, de.fraunhofer.isst.axbench.operations.metrics.AxlMetrics_StructureCounts_FeatureModel, de.fraunhofer.isst.axbench.operations.metrics.AxlMetrics_VariabilityInfluence, and de.fraunhofer.isst.axbench.operations.metrics.AxlMetricsHandler_Expense.AxlMetricsExpense.
void de.fraunhofer.isst.axbench.operations.metrics.AxlMetrics_Abstract.resetMetricsResult | ( | ) | [protected] |
Initialize or reset the internal attributes which store the results of a metric execution It is used in the constructor and within the executes() method. This method should be called by each overriding method of a subclass.
Reimplemented in de.fraunhofer.isst.axbench.operations.metrics.AxlMetrics_StructureCounts_Abstract, de.fraunhofer.isst.axbench.operations.metrics.AxlMetrics_StructureCounts_ApplicationModel, de.fraunhofer.isst.axbench.operations.metrics.AxlMetrics_StructureCounts_FeatureModel, and de.fraunhofer.isst.axbench.operations.metrics.AxlMetrics_VariabilityInfluence.
abstract void de.fraunhofer.isst.axbench.operations.metrics.AxlMetrics_Abstract.setTheFileName | ( | ) | [protected, pure virtual] |
sets the name of the CSV output file for this metrics. Should be overwritten by subclasses.
Implemented in de.fraunhofer.isst.axbench.operations.metrics.AxlMetrics_StructureCounts_Abstract, de.fraunhofer.isst.axbench.operations.metrics.AxlMetrics_VariabilityInfluence, and de.fraunhofer.isst.axbench.operations.metrics.AxlMetricsHandler_Expense.AxlMetricsExpense.
void de.fraunhofer.isst.axbench.operations.metrics.AxlMetrics_Abstract.toCsvFile | ( | ) |
Write the built CSV structure to a file.
outputSubfolder | ||
fileName |
String de.fraunhofer.isst.axbench.operations.metrics.AxlMetrics_Abstract.OUTPUTSUBFOLDER_STRING = "metrics" [static, protected] |
the name of the output subfolder for csv files
CsvFileWriter de.fraunhofer.isst.axbench.operations.metrics.AxlMetrics_Abstract.theCsvFileWriter [protected] |
The CSV builder and writer.
The name of the output file (without path and without file extension).