earticle

논문검색

디지털 기술

소스 코드에 포함된 코딩 패턴의 특성과 출현 위치 관련성에 대한 분석

원문정보

Analysis of characteristics and location of the appearance for codding pattern in the source code

김영태, 공헌택, 김치수

피인용수 : 0(자료제공 : 네이버학술정보)

초록

영어

Coding patterns that appeared frequently in the source code is a typical piece of code. The functionality that difficult to modularize, such as logging or synchronization processing, and the useful sentences in programming is extracted in software as codding pattern. Large-scale software could not be analyzed fully because the number of coding pattern that can be manually investigated is limited. In this paper, the characteristics of coding patterns perform the evaluation. The goal is to extract for codding-pattern to analyzed by developer. We was selected 6 indicators and performed analysis of 4 open-source. Matrix relations between the values and characteristics of the actual pattern analysis, pattern instances, the width of the distribution of instances, the pattern repeating structure of the elements included in the rates should be analyzed for patterns and indicators that help in choosing was confirmed.

한국어

코딩 패턴이란 소스 코드에 자주 나타나는 전형적인 코드 조각이다. 소프트웨어에서 로깅이나 동기화 처리 등 모듈화가 곤란한 기능과 프로그래밍의 상용구 등이 코딩 패턴으로 추출된다. 기존에 소스 코드에 대한 패턴 마이닝을 이용한 코딩 패턴 감지 방법이 제안되었지만, 수동으로 조사 가능한 코딩 패턴의 수는 한정되어 있기 때문에 대규모 소프트웨어 등에 대한 충분한 분석은 할 수 없다. 본 논문에서는 개발자가 분석하고자 하는 코딩 패턴만을 추출하는 것을 목표로 코딩 패턴의 특성 평가 척도로 6개의 지표를 선정하여 4개의 오픈 소스에 대한 분석을 실시했다. 매트릭스 사이의 값의 관계와 실제 패턴의 특징을 분석한 결과, 패턴의 인스턴스 수, 인스턴스의 분포의 넓이, 패턴의 요소에 포함되는 반복 구조 비율 등의 지표 등을 분석해야 패턴 선택에 도움이 되는 것을 확인했다.

목차

요약
 Abstract
 1. 서론
 2. 코딩 패턴
  2.1 코딩 패턴 예
  2.2 코딩 패턴 추출법
 3. 코딩 패턴의 특징과 출현 위치
  3.1 패턴 길이 : LEN (Pattern Length)
  3.2 패턴의 인스턴스 수 : NOI (Number of Instances)
  3.3 제어 구조 요소의 비율 : RCE (Ratio of Control Elements)
  3.4 패턴의 밀도 : DEN (Density)
  3.5 반복되지 않는 요소 비율 : RNR(Ratio of Non - Repeated Elements)
  3.6 패턴 인스턴스의 분산 : RAD (Radius)
 4. 매트릭스를 이용한 코딩 패턴 분석
  4.1 매트릭스 사이의 관련성 분석
  4.2 반복 출현 위치 관련
 5. 결론 및 향후연구
 ACKNOWLEDGMENTS
 REFERENCES

저자정보

  • 김영태 Young-Tae Kim. 공주대학교 컴퓨터공학과
  • 공헌택 Heon-Tag Kong. 공주대학교 컴퓨터공학과
  • 김치수 Chi-Su Kim. 공주대학교 컴퓨터공학과

참고문헌

자료제공 : 네이버학술정보

    함께 이용한 논문

      ※ 기관로그인 시 무료 이용이 가능합니다.

      • 4,000원

      0개의 논문이 장바구니에 담겼습니다.