Automatic Re-modularization of Clustered Codes Considering Invocation Types

Alireza Khalilipour, Moharram Challenger
{"title":"Automatic Re-modularization of Clustered Codes Considering Invocation Types","authors":"Alireza Khalilipour, Moharram Challenger","doi":"10.1109/ICWR51868.2021.9443121","DOIUrl":null,"url":null,"abstract":"One of the approaches for software re-modularization is to transform sequential codes into distributed ones. Code clustering as a technique for software re-modularization is used on object-oriented codes. By clustering, the classes in a program are separated into several clusters, each of which contains cohesive classes. In the state of the art, the type of invocation or message passing between classes and objects is not considered in the clustering, which can impact the quality of the clusters. This paper presents an approach in which the types of invocations between classes and objects such as synchronous, one-way, or asynchronous will also be considered in the clustering. The aim is to separate asynchronous and one-way services from the clusters and move them to new clusters, automatically. So that, by running these services in parallel, extra waiting times for service invocations can be eliminated. Also, by transferring these services to new clusters, load distribution has taken place, which can reduce response time. The experiment results confirm that the proposed approach has a significant effect in reducing the overall waiting time.","PeriodicalId":377597,"journal":{"name":"2021 7th International Conference on Web Research (ICWR)","volume":"31 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2021-05-19","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2021 7th International Conference on Web Research (ICWR)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ICWR51868.2021.9443121","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

One of the approaches for software re-modularization is to transform sequential codes into distributed ones. Code clustering as a technique for software re-modularization is used on object-oriented codes. By clustering, the classes in a program are separated into several clusters, each of which contains cohesive classes. In the state of the art, the type of invocation or message passing between classes and objects is not considered in the clustering, which can impact the quality of the clusters. This paper presents an approach in which the types of invocations between classes and objects such as synchronous, one-way, or asynchronous will also be considered in the clustering. The aim is to separate asynchronous and one-way services from the clusters and move them to new clusters, automatically. So that, by running these services in parallel, extra waiting times for service invocations can be eliminated. Also, by transferring these services to new clusters, load distribution has taken place, which can reduce response time. The experiment results confirm that the proposed approach has a significant effect in reducing the overall waiting time.
考虑调用类型的集群代码自动重模块化
将顺序代码转换为分布式代码是实现软件再模块化的方法之一。代码聚类作为软件再模块化的一种技术,应用于面向对象的代码。通过聚类,程序中的类被分成几个类,每个类都包含内聚类。在目前的状态下,在集群中不考虑类和对象之间的调用类型或消息传递,这可能会影响集群的质量。本文提出了一种方法,在这种方法中,类和对象之间的调用类型(如同步、单向或异步)也将在集群中考虑。其目的是将异步和单向服务从集群中分离出来,并自动将它们移动到新的集群中。因此,通过并行运行这些服务,可以消除服务调用的额外等待时间。此外,通过将这些服务转移到新的集群,可以进行负载分配,从而减少响应时间。实验结果表明,该方法在减少总体等待时间方面效果显著。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信