• Title/Summary/Keyword: Source code quality

Search Result 91, Processing Time 0.029 seconds

Web Page Similarity based on Size and Frequency of Tokens (토큰 크기 및 출현 빈도에 기반한 웹 페이지 유사도)

  • Lee, Eun-Joo;Jung, Woo-Sung
    • Journal of Information Technology Services
    • /
    • v.11 no.4
    • /
    • pp.263-275
    • /
    • 2012
  • It is becoming hard to maintain web applications because of high complexity and duplication of web pages. However, most of research about code clone is focusing on code hunks, and their target is limited to a specific language. Thus, we propose GSIM, a language-independent statistical approach to detect similar pages based on scarcity and frequency of customized tokens. The tokens, which can be obtained from pages splitted by a set of given separators, are defined as atomic elements for calculating similarity between two pages. In this paper, the domain definition for web applications and algorithms for collecting tokens, making matrics, calculating similarity are given. We also conducted experiments on open source codes for evaluation, with our GSIM tool. The results show the applicability of the proposed method and the effects of parameters such as threshold, toughness, length of tokens, on their quality and performance.

A Nonlinear Regression Analysis Method for Frame Erasure Concealment in VoIP Networks (VoIP 망에서의 프레임손실은닉을 위한 비선형 회귀분석 기법)

  • Choi, Seung-Ho;Sung, Ho-Sang
    • The Journal of the Institute of Internet, Broadcasting and Communication
    • /
    • v.9 no.5
    • /
    • pp.129-132
    • /
    • 2009
  • Frame erasure is one of the most difficult problems in voice over IP (VoIP) networks and is a major source of speech quality degradation. In this paper, a frame erasure concealment algorithm based on nonlinear regression analysis is presented to minimize speech quality deterioration in code-excited linear prediction (CELP) based coders. We applied the proposed scheme to the ITU-T G.729 standard and obtained improved perceptual evaluation of speech quality (PESQ) scores compared to the conventional methods.

  • PDF

A study on Quality Metrics of Reusable Classes Candidate (재사용가능한 클래스 후보자들의 품질 메트릭들에 관한 연구)

  • Kim, Jae-Saeng;Song, Yeong-Jae
    • The Transactions of the Korea Information Processing Society
    • /
    • v.4 no.1
    • /
    • pp.107-117
    • /
    • 1997
  • It is use in many researches that the s/w quality evaluation evaluates the developing system or the developed system, updates the problems and selects the reusable components from source code. In this paper, we propose the objective metric functions which can evaluate the reusability of candidates classes with the KHR system[11] and select a proper candidate. The quantitative quality we proposed have merits to compare and to evaluate the reusable candidates classes.

  • PDF

A Study on Automatic Generation Method of Proxy Client Code to Quality Information Collection (품질 정보 수집을 위한 프록시 클라이언트 코드의 자동 생성 방안에 관한 연구)

  • Seo, young-jun;Han, jung-soo;Song, young-jae
    • Proceedings of the Korea Contents Association Conference
    • /
    • 2007.11a
    • /
    • pp.121-125
    • /
    • 2007
  • This paper proposes automatic generation method of proxy client code to automation of web service selection process through a monitoring agent. The technique of this paper help service consumer to provide source code of proxy client as it bring an attribute value of specific element of WSDL document using template rule. Namely, a XSLT script file provide code frame of dynamic invocation interface model. The automatic code generation technique need to solving starvation status of selection architecture. It is required to creating request HTTP message for every service on the result of search. The created proxy client program code generate dummy message about services. The proposed client code generation method show us a possibility of application in the automatic generation programming domain.

  • PDF

Building a Code Visualization Process to Extract Bad Smell Codes (배드 스멜 코드 추출을 위한 코드 가시화 프로세스 구축)

  • Park, Jihoon;Park, Bo Kyung;Kim, Ki Du;Kim, R. Young Chul
    • KIPS Transactions on Software and Data Engineering
    • /
    • v.8 no.12
    • /
    • pp.465-472
    • /
    • 2019
  • Today, in many area the rise of software necessity there has been increasing the issue of the impotance of Good Software. Our reality in software industrial world has been happening to frequently change requirements at any stage of software life cycle. Furthermore this frequent changing will be increasing the design complexity, which will result in being the lower quality of software against our purpose the original design goals. To solve this problem, we suggest how to improve software design through refactoring based on reverse engineering. This is our way of diverse approaches to visually identify bad smell patterns in source code. We expect to improve software quality through refactoring on even frequently changing requirements.

Transformation Method for a State Machine to Increase Code Coverage (코드 커버리지를 높이기 위한 상태 머신 변환 방법)

  • Yoon, YoungDong;Choi, HyunJae;Chae, HeungSeok
    • Journal of KIISE
    • /
    • v.43 no.9
    • /
    • pp.953-962
    • /
    • 2016
  • Model-based testing is a technique for performing the test by using a model that represents the behavior of the system as a system specification. Industrial domains such as automotive, military/aerospace, medical, railway and nuclear power generation require model-based testing and code coverage-based testing to improve the quality of software. Despite the fact that both model-based testing and code coverage-based testing are required, difficulty in achieving a high coverage using model-based testing caused by the abstraction level difference between the test model and the source code, results in the need for performing model-based testing separately. In this study, to overcome the limitations of the existing model-based testing, we proposed the state machine transformation method to effectively improve the code coverage using the protocol state machine, one of the typical modeling methods is used as the test model in model-based testing, as the test model. In addition, we performed a case study of both systems and analyzed the effectiveness of the proposed method.

Component Code Generation Using Feature Diagram and XML/XSLT (특성 다이어그램과 XML/XSLT 기술을 이용한 컴포넌트 코드 자동 생성)

  • 최승훈
    • Journal of Internet Computing and Services
    • /
    • v.3 no.4
    • /
    • pp.83-94
    • /
    • 2002
  • Recently for software development productivity a lot of researches in the field of software engineering hove focuses on the component-based software product lines which allows the reuse of forger-granularity software components Its purpose is to develop the specific software application of quality more rapidly by instantiating and assembling the components populated in software product line assets The essential part to build the component-based software product lines is the quality of components, and one of the most important features determining the quality of components is 'reconfigurability' Component reconfigurability means the extent to which the reusers can change the functions and architecture of the component according to their context and environment. This paper proposes the component code generation technique which provides the reconfigurability at the time of code generation using The feature diagram and XML/XSLT technologies The approach of this paper allows the component reusers to get automatically their own component source code by providing only the values of variabilities represented in the feature diagram of the component family. The real world example, the code generation system for o list container family, shows the applicability of the feature model and XML related technologies in the area of the generative programming. Our approach should be basis to build the component based software product lines and extensible to support the larger graularity components.

  • PDF

Development of CAPSS2SMOKE Program for Standardized Input Data of SMOKE Model (배출 모델 표준입력자료 작성을 위한 CAPSS2SMOKE 프로그램 개발)

  • Lee, Yong-Mi;Lee, Dae-Gyun;Lee, Mi-Hyang;Hong, Sung-Chul;Yoo, Chul;Jang, Kee-Won;Hong, Ji-Hyung;Lee, Suk-Jo
    • Journal of Korean Society for Atmospheric Environment
    • /
    • v.29 no.6
    • /
    • pp.838-848
    • /
    • 2013
  • The Community Multiscale Air Quality (CMAQ) model is capable of providing high quality atmospheric chemistry profiles through the utilization of high-resolution meteorology and emissions data. However, it cannot simulate air quality accurately if input data are not appropriate and reliable. One of the most important inputs required by CMAQ is the air pollutants emissions, which determines air pollutants concentrations during the simulation. For the CMAQ simulation of Korean peninsula, we, in general, use the Korean National Emission Inventory data which are estimated by Clean Air Policy Support System (CAPSS). However, since they are not provided by model-ready emission data, we should convert CAPSS emissions into model-ready data. The SMOKE is the emission model we used in this study to generate CMAQ-ready emissions. Because processing the emissions data is very monotonous and tedious work, we have developed CAPSS2SMOKE program to convert CAPSS emissions into SMOKE-ready data with ease and effective. CAPSS2SMOKE program consists of many codes and routines such as source classification code, $PM_{10}$ to $PM_{2.5}$ ratio code, map projection conversion routine, spatial allocation routine, and so on. To verify the CAPSS2SMOKE program, we have run SMOKE using the CAPSS 2009 emissions and found that the SMOKE results inherits CAPSS emissions quite well.

The Process of Software Quality Assurance About Initial Product in Weapon System (무기체계 최초양산품 소프트웨어 품질보증 프로세스 연구)

  • Yu, Jiseon;Song, Chi-Hoon;Kwon, Soonmo;Park, Byeonghun;Oh, Jinwoo
    • Journal of the Korea Academia-Industrial cooperation Society
    • /
    • v.22 no.1
    • /
    • pp.285-293
    • /
    • 2021
  • This study evaluated the process of software quality assurance about the initial product in a weapon system. The software quality assurance of the initial product was insufficient before this study. Therefore, the process of the software quality assurance about the initial product in a weapon system is suggested. The process has three parts. First, the completeness of computer files, such as source code and execute files, were checked. Second, the suitability of the software technical data was checked. Finally, the connectivity of software technical data and the Korean defense specification were assessed. Overall, there is a need to toughen the software quality assurance in the research and development step and achieve early stabilization of mass production by preventing the problems that prevent the production of a product due to the insufficient software technical data.

Assessment of Estuary Reservoir Water Quality According to Upstream Pollutant Management Using Watershed-Reservoir Linkage Model (유역-호소 연계모형을 이용한 상류 오염원 관리에 따른 담수호 수질영향평가)

  • Kim, Seokhyeon;Hwang, Soonho;Kim, Sinae;Lee, Hyunji;Jun, Sang Min;Kang, Moon Seong
    • Journal of The Korean Society of Agricultural Engineers
    • /
    • v.64 no.6
    • /
    • pp.1-12
    • /
    • 2022
  • Estuary reservoirs were artificial reservoir with seawalls built at the exit points of rivers. Although many water resources can be saved, it is difficult to manage due to the large influx of pollutants. To manage this, it is necessary to analyze watersheds and reservoirs through accurate modeling. Therefore, in this study, we linked the Hydrological Simulation Program-FORTRAN (HSPF), Environmental Fluid Dynamics Code (EFDC), and Water quality Analysis Simulation Program (WASP) models to simulate the hydrology and water quality of the watershed and the water level and quality of estuary lakes. As a result of applying the linked model in stream, R2 0.7 or more was satisfied for the watershed runoff except for one point. In addition, the water quality satisfies all within 15% of PBIAS. In reservoir, R2 0.72 was satisfied for water level and the water quality was within 15% of T-N and T-P. Through the modeling system, We applied upstream pollutant management scenarios to analyze changes in water quality in estuary reservoirs. Three pollution source management were applied as scenarios, the improvement of effluent water quality from the sewage treatment plant and the livestock waste treatment plant was effective in improving the quality of the reservoir water, while the artificial wetland had little effect. Water quality improvement was confirmed as a measure against upstream pollutants, but it was insufficient to achieve agricultural water quality, so additional reservoir management is required.