Class StrictServiceImplementationCohesion

java.lang.Object
edu.university.ecs.lab.detection.metrics.services.AbstractMetric
edu.university.ecs.lab.detection.metrics.services.StrictServiceImplementationCohesion
All Implemented Interfaces:
IMetric

public class StrictServiceImplementationCohesion extends AbstractMetric
Measurement Procedure: The measurement procedure consists of two steps. Firstly, the chain of calls (which is defined as collaboration sequence (cs) in section 4.1) is traced in order to determine the set of implementation elements invoked in response to the invocation of each of the service operations. Next, all the collaboration sequence sets are intersected in a pair-wise manner and the intersected elements (represented by black ovals in Figure 5) are placed in the overall intersected set (duplicates are allowed). The cardinality of this set is then divided by the total number of service elements multiplied by total number of operations. SSIC (s) = |IC(s)| / (|(BPSs U CsU IsU PsU Hs)| * | SO(sis )|)
Author:
Mateus Gabi Moreira
  • Constructor Details

    • StrictServiceImplementationCohesion

      public StrictServiceImplementationCohesion()
  • Method Details

    • evaluate

      public void evaluate()