arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2106.03079cs.SEcs.SI
收藏

重新定义分层体系结构的度量

Redefining measures of Layered Architecture

Sanjay Thakare, Arvind W Kiwelekar

摘要:

分层体系结构以层的形式表示软件结构。软件中的每个元素都被分配到其中一个层,以便维护元素之间的关系。一组设计原则规范了分层体系结构的构建过程。已经定义了各种统计测量来检查给定软件的分层架构是否遵循这些设计原则。本文根据软件构件之间的关系,重新定义了分层体系结构的度量。这些措施检查关于回叫、跳过调用和循环结构的违规行为。此外,我们还引入了一个新的措施来验证层之间的逻辑分离。系统的当前架构是从源代码中提取的,并使用三层分层结构表示,这是Java应用程序的事实标准架构。应用重新定义的度量来确定系统中分层原则的一致性。我们评估五个不同的软件系统的架构一致性。我们重新定义的措施所获得的结果进行比较,通过应用标准的一套措施。定量分析所提出的措施进行,我们的结论是,他们可以确定考虑分层的原则,在开发过程中遵循的软件系统。

英文摘要:

Layered architecture represents the software structure in the form of layers. Every element in the software is assigned to one of the layers such that the relationship amongst the elements is maintained. A set of design principles rules the process of construction of the layered architecture. Various statistical measures have been defined to check whether the layered architecture of a given software is following these design principles or not. In this paper, we redefine the measures of layered architecture based on the relationship between the software components. The measures check for the violations committed regarding the back calls, skip calls, and cyclic structures. Further, we also introduce a new measure to verify the logical separation amongst the layers. The system's current architecture is extracted from the source code and represented using a three-tier layered structure, which is the defacto standard architecture of Java applications. The redefined measures are applied to determine the conformance of layering principles in the system. We evaluate five different software systems for their architecture consistency. The results obtained on our redefined measures are compared to those obtained by applying the standard set of measures. A quantitative analysis of the proposed measures is performed, and we conclude that they can determine the consideration of layering principles followed during the development of a software system.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑