1 / 4

Developers' Perception of Software Coupling: An Empirical Study on Coupling Metrics

This study investigates whether coupling metrics reflect developers' perceptions of software coupling. We examine Semantic, Dynamic, Logical, and Structural coupling metrics, utilizing vocabulary information from source code, execution history for dynamic analysis, and simultaneous modification data for logical coupling. An online survey was conducted with class pairs extracted from Open Source Software (OSS), where developers rated coupling on a five-point scale. Results show that Semantic coupling aligns most closely with developers' opinions, highlighting its significance compared to package hierarchies.

nigel-berry
Télécharger la présentation

Developers' Perception of Software Coupling: An Empirical Study on Coupling Metrics

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. T3: An Empirical Study on the Developers' Perception of Software Coupling Gabriele Bavota, BogdanDit, Rocco Oliveto, Massimiliano Di Penta, Denys Poshyvanyk, Andrea De Lucia 発表者:吉田(NAIST)

  2. 概要 • 結合度メトリクスが開発者が考える結合を表しているかどうか調査した • 対象とした結合度メトリクス • Semantic Coupling • ソースコード中の語彙情報を使用 • Dynamic Coupling • 実行履歴中の呼び出し情報を使用 • Logical Coupling • 開発履歴中の同時修正に関する情報を使用 • Structural Coupling • ソースコードの静的な構造情報を使用

  3. アンケートベースの調査 OSSから抽出したクラス対を対象に,被験者に結合度を5段階で回答してもらった • 対象としたクラス対 • 各結合度メトリクスが最も高かった24対 • 各結合度メトリクスが最も低かった24対 • 被験者は2グループ • Original developers:対象としたOSSの開発者 • External developers:学生,研究者,実務者 2グループともに,Semantic couplingが最も開発者の意見と一致していた

  4. パッケージ階層との比較 以下の2つの一致度を計測 • 対象OSSのパッケージ階層に基づくクラスの分類 • 同じパッケージのクラスを1つの分類とする • 各結合度に基づくクラスの分類 • 分類間の各結合度が小さくなるようにクラスを分類 • Bunchアルゴリズム[1]を使用 Semantic couplingが最もパッケージ階層と近かった

More Related