Class DegreeCoupling
java.lang.Object
edu.university.ecs.lab.detection.metrics.models.DegreeCoupling
Class implementing the calculation of degree-related Coupling metrics according to (1)
(1) Bogner, J., Wagner, S., & Zimmermann, A. (2017, October).
Automatically measuring the maintainability of service-and microservice-based systems: a literature review.
In Proceedings of the 27th international workshop on software measurement and 12th international conference
on software process and product measurement (pp. 107-115).
-
Field Summary
FieldsModifier and TypeFieldDescriptionAbsolute Criticality of the Service - product of AIS and ADSprivate final double
Average number of Directly Connected Services - average of ADS;Absolute Dependency of the Service - number of services invoked by the serviceAbsolute Importance of the Service - numbers of services invoking given serviceprivate final double
Average of ACSprivate final double
Average of AISprivate final int
Maximum of ACSprivate final int
Maximum of ADSprivate final int
Maximum of AISprivate final double
Service coupling factor (graph density)private final int
Service Interdependence in the System - amount of service pairs that bidirectionally call each otherprivate final double
Standard deviation of ACSprivate final double
Standard deviation of ADSprivate final double
Standard deviation of AIS -
Constructor Summary
ConstructorsConstructorDescriptionCalculate the degree-related Coupling metrics for a given Service Dependency Graph -
Method Summary
-
Field Details
-
AIS
Absolute Importance of the Service - numbers of services invoking given service -
avgAIS
private final double avgAISAverage of AIS -
maxAIS
private final int maxAISMaximum of AIS -
stdAIS
private final double stdAISStandard deviation of AIS -
ADS
Absolute Dependency of the Service - number of services invoked by the service -
ADCS
private final double ADCSAverage number of Directly Connected Services - average of ADS; -
maxADS
private final int maxADSMaximum of ADS -
stdADS
private final double stdADSStandard deviation of ADS -
ACS
Absolute Criticality of the Service - product of AIS and ADS -
avgACS
private final double avgACSAverage of ACS -
maxACS
private final int maxACSMaximum of ACS -
stdACS
private final double stdACSStandard deviation of ACS -
SCF
private final double SCFService coupling factor (graph density) -
SIY
private final int SIYService Interdependence in the System - amount of service pairs that bidirectionally call each other
-
-
Constructor Details
-
DegreeCoupling
Calculate the degree-related Coupling metrics for a given Service Dependency Graph- Parameters:
graph
- - Service Dependency Graph to study
-