DOI QR코드

DOI QR Code

Plug-in Diverse Parsers Within Code Visualization System with Redefining the Coupling and Cohesion in the Object-Oriented Paradigm

객체지향 관점의 결합도 & 응집도 재정의와 코드 가시화 시스템내 파서 플러그인화 구현

  • 이진협 (홍익대학교 소프트웨어전공) ;
  • 박지훈 (홍익대학교 소프트웨어전공) ;
  • 변은영 (홍익대학교 소프트웨어전공) ;
  • 손현승 (홍익대학교 메카트로닉스 연구센터) ;
  • 서채연 (선문대학교 IT교육학부) ;
  • 김영철 (홍익대학교 컴퓨터정보통신공학과)
  • Received : 2017.01.24
  • Accepted : 2017.01.26
  • Published : 2017.05.31

Abstract

Because of the invisible nature of software and the bad coding habits (bad smell) of the existing developers, there are many redundant codes and unnecessary codes, which increases the complexity and makes it difficult to upgrade software. Therefore, it is required a code visualization so that developers can easily and automatically identify the complexity of the source code. To do this, it is necessary to construct SW visualization tool based on open source software and redefine the coupling and cohesion according to the object oriented viewpoint. Specially to identify a bad smell code pattern, we suggest how to plug-in diverse parsers within our tool. In this paper, through redefining coupling and cohesion from an object oriented perspective, we will extract bad smell code patterns within source code from inputting any pattern into the tool.

소프트웨어는 비가시적 특성과 기존 개발자들의 나쁜 코딩 습관인 중복된 코드, 불필요한 코드 등이 많아 복잡도가 높아져 소프트웨어의 고품질화가 저해된다. 그러므로 개발자가 소스코드의 복잡도를 쉽게 자동 식별하는 코드 가시화가 필요하다. 이를 위해, 공개 소스 기반의 가시화 도구를 구축하였다. 특히 나쁜 코드 패턴들을 식별하기 위해, 다양한 파서를 plug-in하는 방법을 제안한다. 또한 객체지향 관점에 맞는 결합도와 응집도 재정의를 통해, 자유로운 패턴을 입력하여 개발자가 원하는 나쁜 패턴을 추출하고자 한다.

Keywords

References

  1. NIPA SW Engineering Center, "SW Development Quality Management Manual(SW Visualization)," 2013. 12.
  2. Haeun Kwon, Hyun Seung Son, Chae Yun Seo, Youngsoo Kim, Byung Ho Park, and R. Youngchul Kim, "A study on Comparing Object Oriented Paradigm with the Cohesion and Coupling mechanism between Traditional modules," Korean Institute of Information Scientists and Engineers, Vol.21 No.2, pp.556-559, 2014. 06.
  3. Telecommunications Technology Association Dictionary of Information and Communication Terms [Internet], http://term s.tta.or.kr/dictionary/dictionaryView.do?kor_subject=%EB%B3%B5%EC%9E%A1%EB%8F%84.
  4. Jin-Hyub Lee, Chae-Yun Seo, Hyun-Seung Son, and R. Young Chul Kim, "Visual Implementation & Comparison of Internal Object Code with cohesion concept of the traditional procedural paradigm," Korea Information Processing Society, Vol.23 No2, pp.487-489, 2016. 11.
  5. J. Eder, G. Kappel, and M. Schrefl, "Coupling and Cohesion in Object-Oriented Systems," Technical Report, Univ. of Klagenfurt, 1994.
  6. D. Rodriguez and R. Harrison, "An overview of objectoriented design metrics," Proc. of the Conference on Software Technology and Engineering Practice (STEP), 2001.
  7. Eun-Young Byun, S.Y. Moon, C.Y. Seo, R. Young Chul Kim, and Hyun-Seung Son, "Comparison between xCodeParser and Open source tool for Software Visualization," ICT Platform Society, Vol.4, pp.34-38, 2016. 07.
  8. Eun-Young Byun, Bo-Kyung Park, Woo-Sung Jang, and R. Young-Chul Kim, "Constructing Software Modernization System based on Open source software for a valuable module identification," Korean Institute of Information Scientists and Engineers, pp.404-406, 2016. 12.