Skip to main content

A Novel Approach for the Detection of Web Service Anti-Patterns Using Word Embedding Techniques

  • Conference paper
  • First Online:
Computational Science and Its Applications – ICCSA 2021 (ICCSA 2021)

Part of the book series: Lecture Notes in Computer Science ((LNTCS,volume 12955))

Included in the following conference series:

Abstract

An anti-pattern is defined as a standard but ineffective solution to solve a problem. Anti-patterns in software design make it hard for software maintenance and development by making source code very complicated for understanding. Various studies revealed that the presence of anti-patterns in web services leads to maintenance and evolution-related problems. Identification of anti-patterns at the design level helps in reducing efforts, resources, and costs. This makes the identification of anti-patterns an exciting issue for researchers. This work introduces a novel approach for detecting anti-patterns using text metrics extracted from the Web Service Description Language (WSDL) file. The framework used in this paper builds on the presumption that text metrics extracted at the web service level have been considered as a predictor for anti-patterns. This paper empirically investigates the effectiveness of three feature selection techniques and the original features, three data sampling techniques, the original data, four word embedding techniques, and nine classifier techniques in detecting web service anti-patterns. Data Sampling techniques are employed to counter the class imbalance problem suffered by the data set. The results confirm the predictive ability of text metrics obtained by different word embedding techniques in predicting anti-patterns.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 99.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 129.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Notes

  1. 1.

    https://github.com/ouniali/WSantipatterns.

References

  1. Alakuş, C.: Neighborhood construction-based multi-objective evolutionary clustering algorithm with feature selection. Master’s thesis (2018)

    Google Scholar 

  2. Borovits, N., et al.: Deepiac: deep learning-based linguistic anti-pattern detection in IAC. In: Proceedings of the 4th ACM SIGSOFT International Workshop on Machine-Learning Techniques for Software-Quality Evaluation, pp. 7–12 (2020)

    Google Scholar 

  3. Jaafar, F., Guéhéneuc, Y.-G., Hamel, S., Khomh, F., Zulkernine, M.: Evaluating the impact of design pattern and anti-pattern dependencies on changes and faults. Empirical Softw. Eng. 21(3), 896–931 (2015). https://doi.org/10.1007/s10664-015-9361-0

    Article  Google Scholar 

  4. Kumar, L., Sureka, A.: 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), vol. 1, pp. 2–11. IEEE (2018)

    Google Scholar 

  5. Pietrzak, B., Walter, B.: Leveraging code smell detection with inter-smell relations. In: Abrahamsson, P., Marchesi, M., Succi, G. (eds.) XP 2006. LNCS, vol. 4044, pp. 75–84. Springer, Heidelberg (2006). https://doi.org/10.1007/11774129_8

    Chapter  Google Scholar 

  6. Schulte, R.W., Natis, Y.V.: Service oriented architectures, part 1. Gartner, SSA Research Note SPA-401-068 (1996)

    Google Scholar 

  7. Segev, A., Toch, E.: Context-based matching and ranking of web services for composition. IEEE Trans. Serv. Comput. 2(3), 210–222 (2009)

    Article  Google Scholar 

  8. Tummalapalli, S., Kumar, L., Bhanu Murthy, N.L.: Detection of web service anti-patterns using machine learning framework. In: Singh, J., Bilgaiyan, S., Mishra, B.S.P., Dehuri, S. (eds.) A Journey Towards Bio-inspired Techniques in Software Engineering. ISRL, vol. 185, pp. 189–210. Springer, Cham (2020). https://doi.org/10.1007/978-3-030-40928-9_10

    Chapter  Google Scholar 

  9. Tummalapalli, S., Kumar, L., Neti, L.B.M.: An empirical framework for web service anti-pattern prediction using machine learning techniques. In: 2019 9th Annual Information Technology, Electromechanical Engineering and Microelectronics Conference (IEMECON), pp. 137–143. IEEE (2019)

    Google Scholar 

  10. Tummalapalli, S., Kumar, L., Murthy, N.L.B., Krishna, A.: Detection of web service anti-patterns using neural networks with multiple layers. In: Yang, H., Pasupa, K., Leung, A.C.-S., Kwok, J.T., Chan, J.H., King, I. (eds.) ICONIP 2020. CCIS, vol. 1333, pp. 571–579. Springer, Cham (2020). https://doi.org/10.1007/978-3-030-63823-8_65

  11. Velioğlu, S., Selçuk, Y.E.: An automated code smell and anti-pattern detection approach. In: 2017 IEEE 15th International Conference on Software Engineering Research, Management and Applications (SERA), pp. 271–275. IEEE (2017)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Lov Kumar .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2021 Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Tummalapalli, S., Kumar, L., Murthy Neti, L.B., Kocher, V., Padmanabhuni, S. (2021). A Novel Approach for the Detection of Web Service Anti-Patterns Using Word Embedding Techniques. In: Gervasi, O., et al. Computational Science and Its Applications – ICCSA 2021. ICCSA 2021. Lecture Notes in Computer Science(), vol 12955. Springer, Cham. https://doi.org/10.1007/978-3-030-87007-2_16

Download citation

  • DOI: https://doi.org/10.1007/978-3-030-87007-2_16

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-030-87006-5

  • Online ISBN: 978-3-030-87007-2

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics