2024-03-29T09:35:14Zhttps://ipsj.ixsq.nii.ac.jp/ej/?action=repository_oaipmhoai:ipsj.ixsq.nii.ac.jp:000214042023-04-27T10:00:04Z01164:01384:01414:01416
機能多重度を用いた保守性見積もり手法の提案と評価Estimating Software Maintenance Cost Using Functional Redundancy Metricjpnhttp://id.nii.ac.jp/1001/00021404/Technical Reporthttps://ipsj.ixsq.nii.ac.jp/ej/?action=repository_action_common_download&item_id=21404&item_no=1&attribute_id=1&file_no=1Copyright (c) 2002 by the Information Processing Society of Japan株式会社 東芝 研究開発センター システム技術ラボラトリー株式会社東芝 研究開発センター システム技術ラボラトリー株式会社 東芝 研究開発センター システム技術ラボラトリー今井, 健男片岡, 欣夫深谷, 哲司コードクローン(コピー&ペースト等によってソースコード中に生じる類似したコード片)はしばしばソフトウェアの修正・拡張といった保守作業時に問題を生じる。これに対し、我々はコードクローンを含有すると思しき関数の散乱の度合いを示す機能多重度(Functional Redundancy、FR)を提案する。これにより、コードクローンの観点から、対象となるソフトウェアが抱える保守作業の非効率性を見積もる事ができる。本稿では上記指標の提案と共に、ソフトウェアの保守性改善を目的としたリファクタリング作業の前後で提案指標の変化を調べ、提案指標の有用性について議論する。Source code copying for reuse (code cloning) causes difficulty when software is modified or enhanced. Here we aim to estimate the maintenance cost caused by clones. We propose a novel metric, Functional Redundancy (FR): A degree of propagation of clone-potential functions. This metric estimates influence of cloned codes over the maintenance cost. In this paper, we describe the details of our proposal. We also apply our metric to a empirical software before and after its refactoring, and discuss effectivity of our metric.AN10112981情報処理学会研究報告ソフトウェア工学(SE) 200264(2002-SE-138)89962002-07-112009-06-30