Package edu.university.ecs.lab.detection.metrics.services
This package includes:
- AbstractMetric
:
Contains an Abstract class providing a base for implementing metrics.
- IMetric
:
Contains an interface defining methods for metric calculation.
- LackOfMessageLevelCohesion
:
Contains a service calculating the Lack of Message-Level Cohesion (LMC) metric between microservices operations.
- MetricCalculator
:
Contains a utility class that orchestrates the evaluation of multiple metrics for a given service descriptor.
- MetricResult
:
Represents the result of a single metric calculation.
- MetricResultCalculation
:
Contains the aggregation and calculation overall metric results.
- NumberOfOperations
:
Contains a service calculating the total number of operations within a microservice.
- ServiceInterfaceDataCohesion
:
Contains a service Interface Data Cohesion (SIDC) metric calculation service.
- StrictServiceImplementationCohesion
:
Contains the Strict Service Implementation Cohesion (SSIC) metric calculation service.
-
ClassDescriptionAbstract metric class template for all metricsMetric Service Class to determine Lack of Message Level Cohesion (LMC) metric between microservice operations LMC = sum(1 - ((iDS + oDS) / 2)) / numberOfPairsClass for calculation of multiple metrics for a given service descriptorResult of a single metric calculationCalculation and aggregation class using metric result valuesMetric Service Class to determine the Number of Operations in a microserviceThe 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.Measurement Procedure: The measurement procedure consists of two steps.