• DocumentCode
    179699
  • Title

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

  • Author

    Samrongsap, Parinya ; Vatanawood, Wiwat

  • Author_Institution
    Dept. of Comput. Eng., Chulalongkorn Univ., Bangkok, Thailand
  • fYear
    2014
  • fDate
    July 30 2014-Aug. 1 2014
  • Firstpage
    130
  • Lastpage
    133
  • 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.
  • Keywords
    C++ language; software engineering; source code (software); C# source code; Roslyn tool; dependency violation; layered architecture; syntax tree; top-down sequences; Complexity theory; Computer architecture; Computer science; Computers; Educational institutions; Software systems; Syntactics; Layered Architecture; Roslyn; Source Code Analysis;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Computer Science and Engineering Conference (ICSEC), 2014 International
  • Conference_Location
    Khon Kaen
  • Print_ISBN
    978-1-4799-4965-6
  • Type

    conf

  • DOI
    10.1109/ICSEC.2014.6978182
  • Filename
    6978182