Class ServiceInterfaceDataCohesion
java.lang.Object
edu.university.ecs.lab.detection.metrics.services.AbstractMetric
edu.university.ecs.lab.detection.metrics.services.ServiceInterfaceDataCohesion
- All Implemented Interfaces:
IMetric
The measurement procedure consists of comparing the sets of parameter types for each
service operation so∈ SO (sis) in a pair-wise manner, and then placing the operations
with common parameter types into a set of Common operations. The cardinality of this
set is then divided by a total number of discrete parameter types for this service.
SIDC (s) = |Common(Param(so ∈ SO(sis )| / totalParamTypes
-
Constructor Summary
-
Method Summary
Methods inherited from class edu.university.ecs.lab.detection.metrics.services.AbstractMetric
getMetricName, getResult, getServiceDescriptor, setMetricName, setResult, setServiceDescriptor
-
Constructor Details
-
ServiceInterfaceDataCohesion
public ServiceInterfaceDataCohesion()
-
-
Method Details
-
evaluate
public void evaluate() -
commonParameterTypes
-