• Title/Summary/Keyword: Building Codes

Search Result 472, Processing Time 0.016 seconds

A Code Clustering Technique for Unifying Method Full Path of Reusable Cloned Code Sets of a Product Family (제품군의 재사용 가능한 클론 코드의 메소드 경로 통일을 위한 코드 클러스터링 방법)

  • Kim, Taeyoung;Lee, Jihyun;Kim, Eunmi
    • KIPS Transactions on Software and Data Engineering
    • /
    • v.12 no.1
    • /
    • pp.1-18
    • /
    • 2023
  • Similar software is often developed with the Clone-And-Own (CAO) approach that copies and modifies existing artifacts. The CAO approach is considered as a bad practice because it makes maintenance difficult as the number of cloned products increases. Software product line engineering is a methodology that can solve the issue of the CAO approach by developing a product family through systematic reuse. Migrating product families that have been developed with the CAO approach to the product line engineering begins with finding, integrating, and building them as reusable assets. However, cloning occurs at various levels from directories to code lines, and their structures can be changed. This makes it difficult to build product line code base simply by finding clones. Successful migration thus requires unifying the source code's file path, class name, and method signature. This paper proposes a clustering method that identifies a set of similar codes scattered across product variants and some of their method full paths are different, so path unification is necessary. In order to show the effectiveness of the proposed method, we conducted an experiment using the Apo Games product line, which has evolved with the CAO approach. As a result, the average precision of clustering performed without preprocessing was 0.91 and the number of identified common clusters was 0, whereas our method showed 0.98 and 15 respectively.

Investigation of USGS Short-Wave Infrared Databases and Comparison with Domestic Cases - Focusing on the Availability for the Mineralogical Analyses and an Application on the Domestic Illite - (USGS 단파장 적외선 데이터베이스 분석 및 국내 사례와 비교: 광물학적 활용도 고찰 및 국내 산출 일라이트로의 적용 사례)

  • Chang Seong Kim;Raeyoon Jeong;Soon-Oh Kim;Ji-man Cha
    • Korean Journal of Mineralogy and Petrology
    • /
    • v.36 no.4
    • /
    • pp.259-271
    • /
    • 2023
  • Since the short-wave infrared spectrum has a significant range of variation depending on the production environment, countries with advanced resource exploration are collecting the spectrum and building a database. Representative organizations include the USGS and CSIRO, and they are currently carrying out a project in China that can synthesize and use a large number of existing data. The USGS library provides a total of 2,457 spectra targeting not only minerals but also various materials that respond to infrared radiation. Among these, there are 1,276 mineral spectra, which are about half of the total. The spectrum title includes information, such as analysis devices (NIC4, BECK, ASDNG, etc.), purity codes (a, b, c, d, u), and measurement methods (AREF, RREF, RTGC, TRAN). Analyzed raw data are provided in ASCII and GIF format. The CSIRO library has a total of 502 spectra, of which the majority, 493, correspond to mineral spectra. The USGS library is a free, publically available resource, while the CSIRO library is bundled with TSG8 or must be purchased separately. Among these, when comparing the eight spectra whose spectral shapes can be analyzed with the spectra of domestic illite, the positions of the absorption peaks are significantly different from those of domestic illite, except for one Japanese illite. Additional research will be needed to determine the causes of such differences, and the domestically relevant databases should be established as well.