• Title/Summary/Keyword: source code change

Search Result 66, Processing Time 0.028 seconds

Extracting the Source Code Context to Predict Import Changes using GPES

  • Lee, Jaekwon;Kim, Kisub;Lee, Yong-Hyeon;Hong, Jang-Eui;Seo, Young-Hoon;Yang, Byung-Do;Jung, Woosung
    • KSII Transactions on Internet and Information Systems (TIIS)
    • /
    • v.11 no.2
    • /
    • pp.1234-1249
    • /
    • 2017
  • One of the difficulties developers encounter in maintaining tasks of a large-scale software system is the updating of suitable libraries on time. Developers tend to miss or make mistakes when searching for and choosing libraries during the development process, or there may not be a stable library for the developers to use. We present a novel approach for helping developers modify software easily and on time and avoid software failures. Using a tool previously built by us called GPES, we collected information of projects, such as abstract syntax trees, tokens, software metrics, relations, and evolutions, for our experiments. We analyzed the contexts of source codes in existing projects to predict changes automatically and to recommend suitable libraries for the projects. The collected data show that researchers can reduce the overall cost of data analysis by transforming the extracted data into the required input formats with a simple query-based implementation. Also, we manually evaluated how the extracted contexts are similar to the description and we found that a sufficient number of the words in the contexts is similar and it might help developers grasp the domain of the source codes easily.

Extracting of Features in Code Changes of Existing System for Reengineering to Product Line

  • Yoon, Seonghye;Park, Sooyong;Hwang, Mansoo
    • Journal of the Korea Society of Computer and Information
    • /
    • v.21 no.5
    • /
    • pp.119-126
    • /
    • 2016
  • Software maintenance becomes extremely difficult, especially caused by multiple versions in project-based or customer-oriented software development methodology. For reducing the maintenance cost, reengineering to software product line can be a solution to the software which either is a family of products nevertheless little different functionalities or are customized for each different customer's requirement. At an initial stage of the reengineering, the most important activity in software product line is feature extraction with respect to commonality and variability from the existing system due to verifying functional coverage. Several researchers have studied to extract features. They considered only a single version in a single product. However, this is an obstacle to classify the commonality and variability of features. Therefore, we propose a method for systematically extracting features from source code and its change history considering several versions of the existing system. It enables us to represent functionalities reflecting developer's intention, and to clarify the rationale of variation.

Ventilation Effects on Smoke Behavior in Rescue Station for Tunnel Fires (철도터널 화재시 구난역 내의 연기거동에 미치는 배연효과에 관한 수치연구)

  • Jang, Won-Cheol;Kim, Dong-Woon;Ryou, Hong-Sun;Lee, Seong-Hyuk
    • Proceedings of the KSR Conference
    • /
    • 2008.06a
    • /
    • pp.2130-2138
    • /
    • 2008
  • The present study investigates the ventilation effects on smoke spreading characteristics in railway tunnels with the rescue stations. Experiments were carried out for n-heptane pool fires with a square length 4 cm at different fire locations, and the heat release rates (HRR) were obtained by the measurement of burning rates. In addition, using the commercial code (FLUENT), the present article presents numerical results for smoke behavior in railway tunnels with rescue station, and it uses the MVHS (Modified Volumetric Heat Source) model for estimation of combustion products resulting from the fire source determined from the HRR measurement. As a result, it is found that smoke propagation is prevented successfully by the fire doors located inside the cross-passages and especially, the smoke behavior in the accident tunnel can be controlled through the ventilation system because of substantial change in smoke flow direction in the cross-passages.

  • PDF

A Message Management System for Cooperative Message-based Interface Development (메시지 기반 인터페이스 공동 개발을 위한 메시지 관리 시스템)

  • Yu, Je-Young;Park, Jin-Hee
    • Journal of KIISE:Computing Practices and Letters
    • /
    • v.14 no.6
    • /
    • pp.609-613
    • /
    • 2008
  • In Large scale system, components are developed by many different developers. In such a development environment, efficiency of the development depends largely on effectiveness of interface management. In the early stage of development, many components are newly defined or modified quite often. These definitions and modifications of components cause the change of interfaces between components. If changes of interfaces are not properly managed, many developers may implement components based on different version of interfaces. This causes decrease in efficiency of development. "Message Definition and Management system (MDMS)" provides the means to cope with the inefficiency of unmanaged interface definitions and changes. MDMS automatically generates source code and Interface Design Description (IDD). The automatic generation of source code and IDD prevents the disagreement between code and documents. Furthermore, MDMS shows the overall view of message flow for a system. Based on this information, we can optimize the system identifying message bottleneck and apply to support for the performance tuning of the system.

Method and Application of Searching Hot Spot For Reengineering Software Using AOP (AOP를 이용한 재공학에서의 핫 스팟 탐색과 응용)

  • Lee, Ei-Sung;Choi, Eun-Man
    • The KIPS Transactions:PartD
    • /
    • v.16D no.1
    • /
    • pp.83-92
    • /
    • 2009
  • Complicated business logic makes program complexity more complicated. It's inevitable that the program must undergo reengineering processes all the way of in its lifetime. Hot spot analysis that has diverse purposes is getting an important question more and more. As a rule, reengineering process is done by UML model-based approach to analyze the legacy system. The smallest fragment of targets to be analysed is unit, that is function or class. Today's software development is to deal with huge change of software product and huge class including heavy quantity of LOC(Lines Of Code). However, analysis of unit is not precise approach process for reliable reengineering consequence. In this paper, we propose very precise hot spot analysis approach using Aspect-Oriented Programming languages, such as AspectJ. Typically the consistency between UML and source is needed code to redefine the modified library or framework boundaries. But reengineering approach using AOP doesn't need to analyze UML and source code. This approach makes dynamic event log data that contains detailed program interaction information. This dynamic event log data makes it possible to analyze hot spot.

A Study on the Validation of Effective Angle of Particle Deposition according to the Detection Efficiency of High-purity Germanium Gamma-ray Detector (고순도 저마늄 감마선 검출기의 검출효율에 따른 유효입체각 검증에 관한 연구)

  • Chang, Boseok
    • Journal of the Korean Society of Radiology
    • /
    • v.14 no.4
    • /
    • pp.487-494
    • /
    • 2020
  • The distance between the source and the detector, the diameter of the detector, and the volume effect of the radiation source result in a change in solid angle at the detector entrance, which affects the determination of detection efficiency by causing a difference in path length within the detector. A typical analysis method for calculating solid angles was useful only for a source (60Co) with a simple geometric structure, so in this experiment, the distance between the detector and the source was measured by switching on for up to 25 cm with the reference point of window cap 0.5 cm. In addition, 450 and 1000 ㎖ Marinelli beaker of standard volumetric sources were closely adhered to the detector. For circular point sources co-axial with the detector, the change in the solid angle to the distance from the detector window is equal to half the square radius of the source versus the square radius of the detector, if the resulting relationship of the calculation analysis results in the detector being less than the radius of the source. Since the solid angular difference is 0.5 the result of Monte Carlo is acceptable. The relationship between detector and source distance is shown. Solid angles have been verified to decrease rapidly with distance. Measurement and simulation results for a volumetric source show a difference of ±1.01% from a distance of 0 cm and less than 4 % when the distance is reduced to 5 and 10 cm. It can be seen that the longer distance, the smaller efficiency angle, and the exponential increase in attenuation as the energy decreases, is reflected in the calculation of efficiency. Thus, the detection efficiency has proved sufficient for the use of solid angle and Monte Carlo codes.

Impacts on water-cycle by land use change and effects of infiltration trenches in Asan New town (토지이용 변화가 물순환에 미치는 영향과 침투트렌치 설치 효과 분석 - A 신도시 지구를 중심으로 -)

  • Hyun, Kyoung-Hak;Lee, Jung-Min
    • Journal of Korean Society of Water and Wastewater
    • /
    • v.24 no.6
    • /
    • pp.691-701
    • /
    • 2010
  • As the water-cycle is transformed by increasing of the impermeable area in process of urbanization, decentralized rainwater management facilities(infiltration, harvesting and retention facilities) as source control are considered to be a method of restoring water-cycle of urban and reducing runoff. SWMM model was used to analyse the change of water-cycle structure before and after development in A new town watershed. Modified SWMM code was developed to apply infiltration facilities. The modified SWMM was used to analyse the change of water-cycle before and after infiltration trench setup in AJ subcatchment. Changes of the impervious area by development and consequent increase in runoff were analyzed. These analyses were performed by a day rainfall during ten years from 1998 to 2007. According to the results, surface runoff increased from 51.85% to 65.25 %, and total infiltration volume decreased from 34.15 % to 21.08 % in A newtown watershed. If more than 80 infiltration trenches are constructed in AJ subcatchment, the low flow and the drought flow increases by around 47%, 44%, separately. The results of this study, infiltration trench is interpreted to be an effective infiltration facility to restore water-cycle in new town.

A Study on the Selection of Test Scope and the Prioritization of Test Case Based on Modification Method for Regression Testing (변경 메서드 기반의 회귀 테스트 검증 범위 선택 및 검증 항목 우선순위 선정에 관한 연구)

  • Jung, Woo-Jin;Rah, Sang-Rin;Choi, Yong-Lak
    • Journal of Information Technology Services
    • /
    • v.14 no.2
    • /
    • pp.129-142
    • /
    • 2015
  • The purpose of this study is to suggest an effective regression testing method in order to minimize the scope of test resulting from the modification of software and to prevent mismatch of test case and test objects. As a way to improve the efficiency of regression testing which uses a change-centric testing technique, the method flow is analyzed and grasped through a static analysis based on source code in order to identify modified parts. After the order of priority is set according to the results of user action log-based dynamic analysis on identified regression testing objects, test effect can be raised by adjusting the order of priority using code complexity. Quality assurance coverage can be checked using the user action log suggested in this study, and the progress of test and whether or not each function has been verified can be checked, too. In addition, by minimizing test parts and adjusting the order of test, costs and time can be saved, making it possible to conduct regression testing effectively.

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.

A Study on the Calculation of Standard Data for Energy Use Plan of Industry Complex (산업단지 에너지사용계획을 위한 표준데이터 산정 연구)

  • Suh, Kwang-Soo
    • Journal of the Korean Solar Energy Society
    • /
    • v.34 no.4
    • /
    • pp.101-109
    • /
    • 2014
  • The Consultation about Energy Use Plan is prescribed by the Energy Use Rationalization Act. This study calculated the Standard Data for Energy Use Plan of Industry Complex by the 9th Korean Standard Industrial Classification Divisions so that the energy demand reflecting the industrial technology change and characteristics of Manufacturing Divisions would predict. To achieve this aim, analysis on thousands of data in Energy Consumption Report Forms reported from industries which annual consumption of energy exceeds 2,000toe from 2009 to 2010 was carried out. The results showed that calculated overall mean fuel basic unit decrease, electricity basic unit increase and energy basic unit increase compared to that of the Notification No. 2002-130 of the Ministry of Commerce, Industry and Energy, therefore it means that heat source of energy facilities transferred from fuel to electricity. Also resultingly suggests that the related notification, code etc. are amended as soon as possible.