Early prediction of quality of service using interface-level metrics, code-level metrics, and antipatterns

被引:7
|
作者
Abid, Chaima [1 ]
Kessentini, Marouane [1 ]
Wang, Hanzhang [2 ]
机构
[1] Univ Michigan, Ann Arbor, MI 48109 USA
[2] eBay Inc, San Jose, CA 95125 USA
关键词
Quality of service; Web services; Interface metrics; Code quality; Performance prediction; Anti-patterns; WEB-SERVICES; DISCOVERY;
D O I
10.1016/j.infsof.2020.106313
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Context: With the current high trends of deploying and using web services in practice, effective techniques for maintaining high quality of Service are becoming critical for both service providers and subscribers/users. Service providers want to predict the quality of service during early stages of development before releasing them to customers. Service clients consider the quality of service when selecting the best one satisfying their preferences in terms of price/budget and quality between the services offering the same features. The majority of existing studies for the prediction of quality of service are based on clustering algorithms to classify a set of services based on their collected quality attributes. Then, the user can select the best service based on his expectations both in terms of quality and features. However, this assumption requires the deployment of the services before being able to make the prediction and it can be time-consuming to collect the required data of running web services during a period of time. Furthermore, the clustering is only based on well-known quality attributes related to the services performance after deployment. Objective: In this paper, we start from the hypothesis that the quality of the source code and interface design can be used as indicators to predict the quality of service attributes without the need to deploy or run the services by the subscribers. Method: We collected training data of 707 web services and we used machine learning to generate association rules that predict the quality of service based on the interface and code quality metrics, and antipatterns. Results: The empirical validation of our prediction techniques shows that the generated association rules have strong support and high confidence which confirms our hypothesis that source code and interface quality metrics/antipatterns are correlated with web service quality attributes which are response time, availability, throughput, successability, reliability, compliance, best practices, latency, and documentation. Conclusion: To the best of our knowledge, this paper represents the first study to validate the correlation between interface metrics, source code metrics, antipatterns and quality of service. Another contribution of our work consists of generating association rules between the code/interface metrics and quality of service that can be used for prediction purposes before deploying new releases.
引用
收藏
页数:11
相关论文
共 50 条
  • [1] Software Performance Engineering with Performance Antipatterns and Code-level Probabilistic Analysis
    Stefanakos, Ioannis
    Gerasimou, Simos
    Calinescu, Radu
    24TH ACM/IEEE INTERNATIONAL CONFERENCE ON MODEL-DRIVEN ENGINEERING LANGUAGES AND SYSTEMS COMPANION (MODELS-C 2021), 2021, : 251 - 255
  • [2] Method-Level Bug Severity Prediction using Source Code Metrics and LLMs
    Mashhadi, Ehsan
    Ahmadvand, Hossein
    Hemmati, Hadi
    2023 IEEE 34TH INTERNATIONAL SYMPOSIUM ON SOFTWARE RELIABILITY ENGINEERING, ISSRE, 2023, : 635 - 646
  • [3] A catalog of metrics at source code level for vulnerability prediction: A systematic mapping study
    Codabux, Zadia
    Zakia Sultana, Kazi
    Chowdhury, Md Naseef-Ur-Rahman
    JOURNAL OF SOFTWARE-EVOLUTION AND PROCESS, 2024, 36 (07)
  • [4] Human-level Ordinal Maintainability Prediction Based on Static Code Metrics
    Schnappinger, Markus
    Fietzke, Arnaud
    Pretschner, Alexander
    PROCEEDINGS OF EVALUATION AND ASSESSMENT IN SOFTWARE ENGINEERING (EASE 2021), 2021, : 160 - 169
  • [5] Replacing Code Metrics in Software Fault Prediction with Early Life Cycle Metrics
    Jiang, Yue
    Lin, Jie
    Cukic, Bojan
    Lin, Shuye
    Hu, Zhijian
    2013 INTERNATIONAL CONFERENCE ON INFORMATION SCIENCE AND TECHNOLOGY (ICIST), 2013, : 516 - 523
  • [6] Using Source Code Metrics for Predicting Metamorphic Relations at Method Level
    Duque-Torres, Alejandra
    Pfahl, Dietmar
    Klammer, Claus
    Fischer, Stefan
    Proceedings - 2022 IEEE International Conference on Software Analysis, Evolution and Reengineering, SANER 2022, 2022, : 1147 - 1154
  • [7] Towards Using Code Coverage Metrics for Performance Comparison on the Implementation Level
    Menninghaus, Mathias
    Pulvermueller, Elke
    PROCEEDINGS OF THE 2016 ACM/SPEC INTERNATIONAL CONFERENCE ON PERFORMANCE ENGINEERING (ICPE'16), 2016, : 101 - 104
  • [8] Using Source Code Metrics for Predicting Metamorphic Relations at Method Level
    Duque-Torres, Alejandra
    Pfahl, Dietmar
    Klammer, Claus
    Fischer, Stefan
    2022 IEEE INTERNATIONAL CONFERENCE ON SOFTWARE ANALYSIS, EVOLUTION AND REENGINEERING (SANER 2022), 2022, : 1147 - 1154
  • [9] Web service QoS prediction using improved software source code metrics
    Rangarajan, Sarathkumar
    Liu, Huai
    Wang, Hua
    PLOS ONE, 2020, 15 (01):
  • [10] The Relationship of Code Coverage Metrics on High-level and RTL Code
    Sanguinetti, John
    Zhang, Eugene
    2010 IEEE INTERNATIONAL HIGH LEVEL DESIGN VALIDATION AND TEST WORKSHOP (HLDVT), 2010, : 138 - 141