A tool for detecting dependency violation of layered architecture in source code

Parinya Samrongsap, W. Vatanawood
{"title":"A tool for detecting dependency violation of layered architecture in source code","authors":"Parinya Samrongsap, W. Vatanawood","doi":"10.1109/ICSEC.2014.6978182","DOIUrl":null,"url":null,"abstract":"Layered architecture has been widely used for managing complexity of source code by separating of related main functionalities into distinct layers. However, the source code always evolves so that it may cause the dependency violation to layered architectural design rules. In this paper, we present a tool for detecting these dependency violation of the layered architecture in C# source code. The tool allows the user to identify the top-down sequences of layers as desired. The syntax tree will be generated to represent the input source code by using Roslyn tool and the dependency among the source code is analyzed as the syntax tree is traversed. The boundary of each layer is recognized and the dependency violation against the closed layered architecture rules is reported.","PeriodicalId":274945,"journal":{"name":"2014 International Computer Science and Engineering Conference (ICSEC)","volume":"1 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2014-12-08","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"3","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2014 International Computer Science and Engineering Conference (ICSEC)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ICSEC.2014.6978182","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 3

Abstract

Layered architecture has been widely used for managing complexity of source code by separating of related main functionalities into distinct layers. However, the source code always evolves so that it may cause the dependency violation to layered architectural design rules. In this paper, we present a tool for detecting these dependency violation of the layered architecture in C# source code. The tool allows the user to identify the top-down sequences of layers as desired. The syntax tree will be generated to represent the input source code by using Roslyn tool and the dependency among the source code is analyzed as the syntax tree is traversed. The boundary of each layer is recognized and the dependency violation against the closed layered architecture rules is reported.
用于检测源代码中分层体系结构依赖违反的工具
通过将相关的主要功能分离到不同的层,分层体系结构已被广泛用于管理源代码的复杂性。然而,源代码总是不断发展,因此它可能导致依赖违反分层体系结构设计规则。在本文中,我们提供了一个工具来检测c#源代码中分层体系结构的依赖冲突。该工具允许用户根据需要识别自顶向下的层序列。使用Roslyn工具生成语法树来表示输入的源代码,并在遍历语法树时分析源代码之间的依赖关系。识别了各层的边界,并报告了对封闭分层体系结构规则的依赖违反。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约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学术官方微信
小红书