skip to main content
10.1145/3385032.3385042acmotherconferencesArticle/Chapter ViewAbstractPublication PagesisecConference Proceedingsconference-collections
research-article

Prediction of Web Service Anti-patterns Using Aggregate Software Metrics and Machine Learning Techniques

Published:25 March 2020Publication History

ABSTRACT

Service-Oriented Architecture(SOA) can be characterized as an approximately coupled engineering intended to meet the business needs of an association/organization. Service-Based Systems (SBSs) are inclined to continually change to enjoy new client necessities and adjust the execution settings, similar to some other huge and complex frameworks. These changes may lead to the evolution of designs/products with poor Quality of Service (QoS), resulting in the bad practiced solutions, commonly known as Anti-patterns. Anti-patterns makes the evolution and maintenance of the software systems hard and complex. Early identification of modules, classes, or source code regions where anti-patterns are more likely to occur can help in amending and maneuvering testing efforts leading to the improvement of software quality. In this work, we investigate the application of three sampling techniques, three feature selection techniques, and sixteen different classification techniques to develop the models for web service anti-pattern detection. We report the results of an empirical study by evaluating the approach proposed, on a data set of 226 Web Service Description Language(i.e., WSDL)files, a variety of five types of web-service anti-patterns. Experimental results demonstrated that SMOTE is the best performing data sampling techniques. The experimental results also reveal that the model developed by considering Uncorrelated Significant Predictors(SUCP) as the input obtained better performance compared to the model developed by other metrics. Experimental results also show that the Least Square Support Vector Machine with Linear(LSLIN) function has outperformed all other classifier techniques.

References

  1. W.J. Brown, H. W. McCormick, and S. W. Thomas. Anti-patterns project management. John Wiley & Sons, Inc., 2000.Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. O. Ciupke. Automatic detection of design problems in object-oriented reengineering. In Technology of Object-Oriented Languages and Systems, 1999. TOOLS 30 Proceedings, pages 18--32. IEEE, 1999.Google ScholarGoogle ScholarCross RefCross Ref
  3. D. Coleman, D. Ash, B. Lowther, and P. Oman. Using metrics to evaluate software system maintainability. IEEE Computer, 27(8):44--49, 1994.Google ScholarGoogle ScholarDigital LibraryDigital Library
  4. B. Dudney, S. Asbury, J. K. Krozak, and K. Wittkopf. J2EE antipatterns. John Wiley & Sons, 2003.Google ScholarGoogle Scholar
  5. S. M. A. Elrahman and A. Abraham. A review of class imbalance problem. Journal of Network and Innovative Computing, 1(2013):332--340, 2013.Google ScholarGoogle Scholar
  6. M. Galar, A. Fernandez, E. Barrenechea, H. Bustince, and F. Herrera. A review on ensembles for the class imbalance problem: bagging-, boosting-, and hybrid-based approaches. IEEE Transactions on Systems, Man, and Cybernetics, Part C (Applications and Reviews), 42(4):463--484, 2011.Google ScholarGoogle ScholarDigital LibraryDigital Library
  7. N. Juristo and O. S. Gómez. Replication of software engineering experiments. In Empirical software engineering and verification, pages 60--88. Springer, 2010.Google ScholarGoogle Scholar
  8. B. Kitchenham. The role of replications in empirical software engineering--a word of warning. Empirical Software Engineering, 13(2):219--221, 2008.Google ScholarGoogle ScholarDigital LibraryDigital Library
  9. J. Král and M. Zemlicka. Crucial service-oriented antipatterns. vol. 2. International Academy, Research and Industry Association (IARIA), pages 160--171, 2008.Google ScholarGoogle Scholar
  10. L. Kumar and A. Sureka. An empirical analysis on web service anti-pattern detection using a machine learning framework. In 2018 IEEE 42nd Annual Computer Software and Applications Conference (COMPSAC), volume 1, pages 2--11. IEEE, 2018.Google ScholarGoogle ScholarCross RefCross Ref
  11. H. Liu, Z. Ma, W. Shao, and Z. Niu. Schedule of bad smell detection and resolution: A new way to save effort. IEEE transactions on Software Engineering, 38(1):220--235, 2011.Google ScholarGoogle Scholar
  12. A. Maiga, N. Ali, N. Bhattacharya, A. Sabane, Y.-G. Gueheneuc, and E. Aimeur. Smurf: A svm-based incremental anti-pattern detection approach. In Reverse engineering (WCRE), 2012 19th working conference on, pages 466--475. IEEE, 2012.Google ScholarGoogle ScholarDigital LibraryDigital Library
  13. C. Mateos, M. Crasso, A. Zunino, and J. L. O. Coscia. Detecting wsdl bad practices in code-first web services. International Journal of Web and Grid Services, 7(4):357--387, 2011.Google ScholarGoogle ScholarDigital LibraryDigital Library
  14. J. L. Ordiales Coscia, C. Mateos, M. Crasso, and A. Zunino. Anti-pattern free codefirst web services for state-of-the-art java wsdl generation tools. International Journal of Web and Grid Services, 9(2):107--126, 2013.Google ScholarGoogle ScholarDigital LibraryDigital Library
  15. A. Ouni, R. Gaikovina Kula, M. Kessentini, and K. Inoue. Web service antipatterns detection using genetic programming. In Proceedings of the 2015 Annual Conference on Genetic and Evolutionary Computation, pages 1351--1358. ACM, 2015.Google ScholarGoogle ScholarDigital LibraryDigital Library
  16. A. Ouni, M. Kessentini, K. Inoue, and M. O. Cinnéide. Search-based web service antipatterns detection. IEEE Transactions on Services Computing, 10(4):603--617, 2015.Google ScholarGoogle ScholarCross RefCross Ref
  17. A. Ouni, M. Kessentini, K. Inoue, and M. O. Cinnéide. Search-based web service antipatterns detection. IEEE Transactions on Services Computing, 10(4):603--617, 2017.Google ScholarGoogle ScholarCross RefCross Ref
  18. A. Ouni, M. Kessentini, K. Inoue, and M. O. Cinnéide. Search-based web service antipatterns detection. IEEE Transactions on Services Computing, 10(4):603--617, 2017.Google ScholarGoogle ScholarCross RefCross Ref
  19. F. Palma, N. Moha, G. Tremblay, and Y.-G. Guéhéneuc. Specification and detection of soa antipatterns in web services. In European Conference on Software Architecture, pages 58--73. Springer, 2014.Google ScholarGoogle ScholarCross RefCross Ref
  20. F. Palma, M. Nayrolles, N. Moha, Y.-G. Guéhéneuc, B. Baudry, and J.-M. Jézéquel. Soa antipatterns: An approach for their specification and detection. International Journal of Cooperative Information Systems, 22(04):1341004, 2013.Google ScholarGoogle ScholarCross RefCross Ref
  21. F. Palma, M. Nayrolles, N. Moha, Y.-G. Guéhéneuc, B. Baudry, and J.-M. Jézéquel. Soa antipatterns: An approach for their specification and detection. International Journal of Cooperative Information Systems, 22(04):1341004, 2013.Google ScholarGoogle ScholarCross RefCross Ref
  22. A. A. Rao and K. N. Reddy. Detecting bad smells in object oriented design using design change propagation probability matrix 1. volume 01, pages 19--21. Citeseer, 2007.Google ScholarGoogle Scholar
  23. J. M. Rodriguez, M. Crasso, A. Zunino, and M. Campo. Automatically detecting opportunities for web service descriptions improvement. In Conference on eBusiness, e-Services and e-Society, pages 139--150. Springer, 2010.Google ScholarGoogle ScholarCross RefCross Ref
  24. A. Rotem-Gal-Oz, E. Bruno, and U. Dahan. SOA patterns. Manning, 2012.Google ScholarGoogle Scholar
  25. F. Sabir, G. Rasool, and M. Yousaf. A lightweight approach for specification and detection of soap anti-patterns. INTERNATIONAL JOURNAL OF ADVANCED COMPUTER SCIENCE AND APPLICATIONS, 8(5):455--467, 2017.Google ScholarGoogle ScholarCross RefCross Ref
  26. F. Simon, F. Steinbruckner, and C. Lewerentz. Metrics based refactoring. In Software Maintenance and Reengineering, 2001. Fifth European Conference on, pages 30--38. IEEE, 2001.Google ScholarGoogle ScholarCross RefCross Ref
  27. G. Travassos, F. Shull, M. Fredericks, and V. R. Basili. Detecting defects in object-oriented designs: using reading techniques to increase software quality. In ACM Sigplan Notices, volume 34, pages 47--56. ACM, 1999.Google ScholarGoogle ScholarDigital LibraryDigital Library
  28. H. Wang, A. Ouni, M. Kessentini, B. Maxim, and W. I. Grosky. Identification of web service refactoring opportunities as a multi-objective problem. In Web Services (ICWS), 2016 IEEE International Conference on, pages 586--593. IEEE, 2016.Google ScholarGoogle ScholarCross RefCross Ref

Index Terms

  1. Prediction of Web Service Anti-patterns Using Aggregate Software Metrics and Machine Learning Techniques
            Index terms have been assigned to the content through auto-classification.

            Recommendations

            Comments

            Login options

            Check if you have access through your login credentials or your institution to get full access on this article.

            Sign in
            • Published in

              cover image ACM Other conferences
              ISEC '20: Proceedings of the 13th Innovations in Software Engineering Conference (formerly known as India Software Engineering Conference)
              February 2020
              166 pages
              ISBN:9781450375948
              DOI:10.1145/3385032

              Copyright © 2020 ACM

              Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

              Publisher

              Association for Computing Machinery

              New York, NY, United States

              Publication History

              • Published: 25 March 2020

              Permissions

              Request permissions about this article.

              Request Permissions

              Check for updates

              Qualifiers

              • research-article
              • Research
              • Refereed limited

              Acceptance Rates

              Overall Acceptance Rate76of315submissions,24%

            PDF Format

            View or Download as a PDF file.

            PDF

            eReader

            View online with eReader.

            eReader