Skip to main content

Web Service Anti-patterns Prediction Using LSTM with Varying Embedding Sizes

  • Conference paper
  • First Online:
Advanced Information Networking and Applications (AINA 2022)

Abstract

Anti-pattern includes the concept of wrongdoing and has many options that seem to be right initially; however, it results in hassle in the long run. Studies observe that the anti-patterns in web services make them more susceptible to change proness and fault proness. Anti-patterns can easily lead to error-prone and unmaintainable solutions. This makes it essential to detect anti-patterns at the early stages of software design so that the software developers can restructure the code in the early stages itself. This will save time and effort it would require to address the issues that could stem from anti-patterns in web services. In this work, Sequence classification with LSTM is applied on the WSDL files from the repository to identify four anti-patterns by using sampling techniques. Our findings indicate that LSTM3 performs best out of three classifier models considered in our work with a mean accuracy of 91.75.

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 219.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 279.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. Brown, W.H., Malveau, R.C., McCormick, H.W., Mowbray, T.J.: AntiPatterns: Refactoring Software, Architectures, and Projects in Crisis. Wiley, Hoboken (1998)

    Google Scholar 

  2. 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 

  3. Chen, T.H., Shang, W., Jiang, Z.M., Hassan, A., Nasser, M., Flora, P.: Detecting performance anti-patterns for applications developed using object-relational mapping. In: Proceedings of the 36th International Conference on Software Engineering, pp. 1001–1012 (2014)

    Google Scholar 

  4. Ouni, A., Kula, R.G., Kessentini, M., Inoue, K.: Web service antipatterns detection using genetic programming. In: Proceedings of the 2015 Annual Conference on Genetic and Evolutionary Computation, pp. 1351–1358. ACM (2015)

    Google Scholar 

  5. Ouni, A., Kessentini, M., Inoue, K., Cinnéide, M.O.: Search-based web service antipatterns detection. IEEE Trans. Serv. Comput. 10(4), 603–617 (2015)

    Article  Google Scholar 

  6. 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. Empir. Softw. Eng. 21(3), 896–931 (2015). https://doi.org/10.1007/s10664-015-9361-0

    Article  Google Scholar 

  7. 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 

  8. Saluja, S., Batra, U.: Optimized approach for antipattern detection in service computing architecture. J. Inf. Optim. Sci. 40(5), 1069–1080 (2019)

    Google Scholar 

  9. Chawla, N.V., Bowyer, K.W., Hall, L.O., Philip Kegelmeyer, W.: SMOTE: synthetic minority over-sampling technique. J. Artif. Intell. Res. 16, 321–357 (2002)

    Article  Google Scholar 

  10. Han, H., Wang, W.-Y., Mao, B.-H.: Borderline-SMOTE: a new over-sampling method in imbalanced data sets learning. In: Huang, D.-S., Zhang, X.-P., Huang, G.-B. (eds.) ICIC 2005. LNCS, vol. 3644, pp. 878–887. Springer, Heidelberg (2005). https://doi.org/10.1007/11538059_91

    Chapter  Google Scholar 

  11. Sundermeyer, M., Schlüter, R., Ney, H.: LSTM neural networks for language modeling. In: Thirteenth Annual Conference of the International Speech Communication Association (2012)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Sahithi Tummalapalli .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2022 The Author(s), under exclusive license to Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Tummalapalli, S., kumar, L., Lalita Bhanu Murthy, N. (2022). Web Service Anti-patterns Prediction Using LSTM with Varying Embedding Sizes. In: Barolli, L., Hussain, F., Enokido, T. (eds) Advanced Information Networking and Applications. AINA 2022. Lecture Notes in Networks and Systems, vol 449. Springer, Cham. https://doi.org/10.1007/978-3-030-99584-3_35

Download citation

Publish with us

Policies and ethics