Author:admin

Date:2008-09-17T13:53:28.000000Z


git-svn-id: https://svn.eiffel.com/eiffel-org/trunk@3 abb3cda0-5349-4a8f-a601-0c33ac3a8c38
This commit is contained in:
jfiat
2008-09-17 13:53:28 +00:00
parent 4fee9356ea
commit 2ee31ab9c7
763 changed files with 36576 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
[[Property:title|Defining derived metrics]]
[[Property:weight|1]]
To define a derived metric, you must select the''' Metric Definition''' tab and click the '''New metric''' button. A menu appears asking you the kind of metric you want to define. Select '''Basic metric''' and then the type of the results you are looking for (i.e. Class, Feature, Line, ...). Once done, you can perform the following steps:
# Enter a name for the metric in the "Name" field. Next to the field you will see the type of metric as well as the unit for this metric.
# Enter a description for the metric. The description is shown as a tooltip when you navigate the list of available metrics.
# Choose your criteria by selecting the item with ... in the '''Criterion definition''' list. Once selected you can press Ctrl+Space to see the list of available criterion. Once the criterion is set, you can add some properties (e.g. a property could be <eiffel>STRING</eiffel> if the criterion you have is to look for descendants of the <eiffel>STRING</eiffel> class).
# Once you have completed the metric definition you need to save your metric by clicking on the Save button.
# If you want to define another derived metric, repeat all the previous steps.
For more information about criterion, read the [[Criterion References|Managing criterion]] section.
A summary of the metric you just defined appears in a textual representation in the '''Expression''' text field.
{{seealso| '''See Also''' <br/>
[[Managing new metrics: Introduction|Managing metrics]] <br/>
[[Criterion References|Managing criterion]] }}

View File

@@ -0,0 +1,19 @@
[[Property:title|Defining linear metrics]]
[[Property:weight|2]]
To define a linear metric, you must select the '''Metric Definition''' tab and click the '''New metric''' button. A menu appears asking you the kind of metric you want to define. Select '''Linear metric''' and then the type of the results you are looking for (i.e. Class, Feature, Line, ...). Once done, you can perform the following steps:
# Enter a name for the metric in the "Name" field. Next to the field you will see the type of metric as well as the unit for this metric.
# Enter a description for the metric. The description is shown as a tooltip when you navigate the list of available metrics.
# Define a single term by choosing a metric from the combo box that appears when selecting the '''Metrics''' column, and then choose a coefficent in the '''Coefficient''' column of the metric definition list.
# To add other terms, repeat operation 3 as many times as needs.
# Once you have completed the metric definition you need to save your metric by clicking on the Save button.
# If you want to define another linear metric, repeat all the previous steps.
A summary of the metric you just defined appears in a textual representation in the '''Expression''' text field.
{{seealso| '''See Also''' <br/>
[[Managing new metrics: Introduction|Managing metrics]] <br/>
}}

View File

@@ -0,0 +1,20 @@
[[Property:title|Defining ratio metrics]]
[[Property:weight|3]]
To define a ratio metric, you must select the '''Metric Definition''' tab and click the '''New metric''' button. A menu appears asking you the kind of metric you want to define. Select '''Ratio metric'''. Once done, you can perform the following steps:
# Enter a name for the metric in the "Name" field. Next to the field you will see the type of metric as well as the unit for this metric.
# Enter a description for the metric. The description is shown as a tooltip when you navigate the list of available metrics.
# Select a metric for numerator in the "Metric" combo box of the "Numerator" frame to change the numerator in the "Ratio" field.
# Select a metric for denominator in the "Metric" combo box of the "Denominator" frame to change the denominator in the "Ratio" field.
# If you want to change again either numerator or denominator repeat operations 3. or 4. as many times as needed.
# Once you have completed the metric definition you need to save your metric by clicking on the Save button.
# If you want to define another ratio metric, repeat all the previous steps.
A summary of the metric you just defined appears in a textual representation in the '''Expression''' text field.
{{seealso| '''See Also''' <br/>
[[Managing new metrics: Introduction|Managing metrics]] <br/>
}}

View File

@@ -0,0 +1,10 @@
[[Property:title|Defining new metrics]]
[[Property:weight|1]]
* [[Defining new metrics: introduction|Introduction]]
* [[Defining derived metrics|Derived metrics]]
* [[Defining linear metrics|Linear metrics]]
* [[Defining ratio metrics|Ratio metrics]]

View File

@@ -0,0 +1,9 @@
[[Property:title|Handling new metrics]]
[[Property:weight|2]]
* [[Handling new metrics: Introduction|Introduction]]
* [[Defining new metrics|Defining new metrics]]
* [[Managing new metrics|Managing metrics]]

View File

@@ -0,0 +1,7 @@
[[Property:title|Managing new metrics]]
[[Property:weight|2]]
* [[Managing new metrics: Introduction|Introduction]]