Empirical Evaluation of Design Level Metrics for Aspect Oriented Business Process Execution Language in SOA


  • Senthil Velan S Amity University, Dubai
  • Sam Jaffray M SSN College of Engineering






AOSD, SOA, BPEL, Software Design Metrics, Cohesion, Coupling


Service Oriented Architecture (SOA) facilitates seamless application integration through standards-based predefined web services. During integration, Business Process Execution Language (BPEL) plays a vital role in composing existing Web Services thereby achieving a service based workflow model.   Due to frequently changing business requirements, it becomes very much essential for an SOA application to have the capability to dynamically bind with an alternate service rather than statically fixing the services in a given composition. However, BPEL lacks support for the run-time inclusion of a new Web Service or functionality. Aspects overcome this limitation by providing support to independently encapsulate the cross-cutting functionalities by separating them from the core business logic. Using AOP, it is possible to achieve dynamic binding in web service composition. To illustrate the embedding of AOP constructs into a BPEL process, this paper implements a case study on distributed e-HealthCare system. Further, two core design level properties namely, cohesion and coupling have been measured and the impact of introduction of AO into a composed BPEL process has also been discussed. Empirical evaluation of the design level properties shows that cohesion improves by the introduction of AOP in BPEL.


[1] Wilde N., Bagui S., Coffey J., El-Sheikh E., Reichherzer T., White L., Goehring G., Terry C., and Baskin A., Interoperable Systems and Software Evolution: Issues and Approaches, in Advances in Intelligent Systems and Computing, Vol. 205, Springer Berlin Heidelberg, 2013.

[2] Herrero J. L., Sánchez F., Lucio F., and Toro M., Introducing separation of aspects at design time, in Workshop on Aspects and Dimensions of Concerns, (ECOOP 2000), June, 2000.

[3] Mens T. and Tourwe T., A survey of software refactoring, IEEE Transactions on Software Engineering, Vol. 30, No. 2, pp. 126–139, 2004.

[4] Quynh P. T. and Thang H. Q., Dynamic coupling metrics for service oriented software, Journal of Science and Technology, Vol. 3073, pp. 50–53, 2009.

[5] Weyuker E. J. and Avritzer A., A metric to predict software scalability, in Eighth IEEE Symposium on Software Metrics, pp. 152–158, 2002.

[6] Schmelzer R., Vandersypen T., Bloomberg J., Siddalingaiah M., Hunting S., Qualls M. D., Houlding D., Darby C., Kennedy D., Schmelzer R., Vandersypen T., and Bloomberg J., XML and Web Services Unleashed, Dorling Kinderslay Pvt. Ltd, 2008.

[7] SOAP Specifications, W3C Simple Object Access Protocol (SOAP) 1.1, 2004.

[8] W3C, Web Services Description Language (WSDL) 1.1, March 2001.

[9] Vasiliev Y., SOA and WS-BPEL, Composing Service-Oriented Solutions with PHP and ActiveBPEL, PACKT Publishing, 2007.

[10] Kiczales G., Lamping J., Mendhekar A., Maeda C., Lopes C. V., Loingtier J.-M., and Irwin J., Aspect-oriented programming, in European Conference on Object Oriented Programming, pp. 220–242, 1997.

[11] Laddad R., Aspect-oriented programming will improve quality, IEEE Software Magazine, Vol. 20, Iss. 6, pp. 90–91, Nov–Dec 2003.

[12] Charfi A. and Mezini M., Aspect-oriented web service composition with AO4BPEL, in Web Services (L.-J. Zhang and M. Jeckle, eds.), of Lecture Notes in Computer Science, pp. 168–182, Vol. 3250, Springer Berlin Heidelberg, 2004.

[13] Charfi A., Schmeling B., Heizenreder A., and Mezini M., Reliable, secure, and transacted web service compositions with AO4BPEL, in 4th European Conference on Web Services (ECOWS 06), pp. 23–34, 2006.

[14] Charfi A. and Mezini M., AO4BPEL: An aspect-oriented extension to

BPEL, World Wide Web, Vol. 10, No. 3, pp. 309–344, September 2007.

[15] Charfi A., Dinkelaker T., and Mezini M., A plug-in architecture for self- adaptive web service compositions, in IEEE International Conference on Web Services, (ICWS 2009), pp. 35–42, 2009.

[16] Zhao J. and Xu B., Measuring aspect cohesion, Fundamental Approaches to Software Engineering, LNCS, Springer Berlin Heidelberg, Vol. 2984, pp. 54–68, 2004.

[17] Zhao J., Measuring coupling in aspect-oriented systems, in Information Processing Society of Japan (IPSJ), pp. 14–16, 2004.

[18] Kart F., Moser L. E., and Melliar-Smith P. M., Building a distributed e-healthcare system using SOA, IEEE IT Professional, Vol. 10, pp. 24–30, March–April 2008.

[19] Weiss R., Medical errors blamed for many deaths: As many as 98,000 a year in the us linked to mistakes, Washington Post, pp. A01, 30 November 1999.

[20] Branigan T. A., Medication errors and board practice, Colorado State

Board of Pharmacy News, National Assoc. of Boards of Pharmacy, pp. 1–4, February 2002.

[21] Kohn L. T., Corrigan J. M., and Donaldson M., To err is human: Building a safer health system, Institute of Medicine, US National Academy Press, pp. 1–8, February 1999.

[22] Apache ODE - Apache Orchestration Director Engine, January 2013.

[23] Apache Software Foundation Apache ODE (Orchestration Director Engine), January 2013.

[24] Tarr P., Ossher H., Harrison W., and Sutton S. M. Jr., N degrees of separation: multi-dimensional separation of concerns, in Proceedings of the 21st International Conference on Software Engineering, ICSE 99, New York, USA, pp. 107–119, ACM, 1999.

[25] Ossher H. and Tarr P., Using multidimensional separation of concerns to (re)shape evolving software, Communications of the ACM, Vol. 44, pp. 43–50, October 2001.

[26] Ossher H. and Tarr P., Multi-dimensional Separation of Concerns and the Hyperspace Approach, in Software Architectures and Component Technology, Vol. 648 of The Springer International Series in Engineering and Computer Science, pp. 293–323, Springer US, 2002.

[27] Ramnivas L., AspectJ in Action: Practical Aspect-Oriented Programming, Manning Publications Co., Greenwich, CT, USA, 2010.

[28] D. von Alexander Look aus Dieburg, Expressive Scoping and Pointcut Mechanisms for Aspect-Oriented Web Service Composition, PhD Dis- sertation, Darmstadt University of Technology, Darmstadt, Germany, September 2011.

[29] Fenton N. and Melton A., Deriving structurally based software measures, Journal of Systems and Software, Vol. 12, Issue 3, pp. 177–187, July 1990.

[30] Jose H.S.S., Gonçalves F.E., Cappelli C., Santoro F.M., Providing Semantics to Implement Aspects in BPM, in Dumas M., Fantinato M. (eds) Business Process Management Workshops, BPM 2016, Springer Lecture Notes in Business Information Processing, Vol. 281, 2017.

[31] Senthil S., Chitra Babu, and Madhumitha R., A Quantitative Evaluation of Change Impact Reachability and Complexity across Versions of Aspect Oriented Software, in The International Arab Journal of Information Technology, Vol. 14, No. 1, pp. 41–52, January 2017.

[32] Parthipan S., Senthil S., and Chitra Babu, Design level metrics to measure the complexity across versions of AO software, in 2014 IEEE International Conference on Advanced Communications, Control and Computing Technologies, pp. 1708–1714, May 2014.

[33] Vinobha A., Senthil S., and Chitra Babu, Evaluation of reusability in Aspect Oriented Software using inheritance metrics, in 2014 IEEE International Conference on Advanced Communications, Control and Computing Technologies, pp. 1715–1722, May 2014.

View Full Article: