14
Towards a Benchmark for Evaluating Design Pattern Miner Tools Date:102/1/17 Publisher:IEEE Software Maintenance and Reengineering, 2008. CSMR 2008. 12th European Conference on Author: Lajos Jen˝o F¨ul¨op¤, Rudolf Ferenc and Tibor Gyim´othy 組組 : 組組組 , 組組組

Towards a Benchmark for Evaluating Design Pattern Miner Tools

  • Upload
    saxon

  • View
    51

  • Download
    0

Embed Size (px)

DESCRIPTION

Towards a Benchmark for Evaluating Design Pattern Miner Tools. Date:102/1/17 Publisher:IEEE Software Maintenance and Reengineering, 2008. CSMR 2008. 12th European Conference on Author: Lajos Jen˝o F¨ul¨op ¤ , Rudolf Ferenc and Tibor Gyim´othy 組員 : 余世淇 , 游家瑋. Introduction. - PowerPoint PPT Presentation

Citation preview

Page 1: Towards a Benchmark for Evaluating Design Pattern Miner Tools

Towards a Benchmark for Evaluating Design Pattern Miner Tools

Date:102/1/17Publisher:IEEE Software Maintenance and Reengineering, 2008. CSMR 2008. 12th European Conference onAuthor:Lajos Jen˝o F¨ul¨op¤, Rudolf Ferenc and Tibor Gyim´othy組員 :余世淇 ,游家瑋

Page 2: Towards a Benchmark for Evaluating Design Pattern Miner Tools

Introduction

• Recovering design pattern usage in source code is a very difficult task. Several tools are described in the literature for this purpose, but there is little work invested in evaluating them. The main reason for this is the lack of an approved benchmark for these tools.

Page 3: Towards a Benchmark for Evaluating Design Pattern Miner Tools

Architecture

• We use the well-known issue and bug tracking system called Trac [34] (version 0.9.6) as the basis of the benchmark. Trac is written in Python and it is an easily extendible and customizable plug-in oriented system.

Page 4: Towards a Benchmark for Evaluating Design Pattern Miner Tools

Architecture

Page 5: Towards a Benchmark for Evaluating Design Pattern Miner Tools
Page 6: Towards a Benchmark for Evaluating Design Pattern Miner Tools

Architecture

Page 7: Towards a Benchmark for Evaluating Design Pattern Miner Tools

Architecture

A. InitializationB. Pattern Matching processing on GPUC. Data Output

Page 8: Towards a Benchmark for Evaluating Design Pattern Miner Tools
Page 9: Towards a Benchmark for Evaluating Design Pattern Miner Tools

• True Positives (TP): true instances found by the tool (correctly).• False Positives (FP): false instances found by the tool

(incorrectly).• False Negatives (FN): true instances not found by the tool

(incorrectly).• The precision value is defined as TP/TP+FP , which means the

ratio of correctly identified instances with respect to all found instances. The recall value is defined as TP/TP+FN , which means the ratio of correctly identified instances with respect to all existing real instances.

Page 10: Towards a Benchmark for Evaluating Design Pattern Miner Tools
Page 11: Towards a Benchmark for Evaluating Design Pattern Miner Tools

Adding a New Tool• Upload. Uploading the results of a tool requires the name of

the tool, name of the mined software, the programming language of the software, source location, and information about the found design pattern instances in comma separated value (CSV) file format

Page 12: Towards a Benchmark for Evaluating Design Pattern Miner Tools
Page 13: Towards a Benchmark for Evaluating Design Pattern Miner Tools

Benchmark Contents

Page 14: Towards a Benchmark for Evaluating Design Pattern Miner Tools

Conclusion and FutureWork• This paper presents work in progress, the benchmark is

operational, but will certainly need further development based on user feedback. A possible extension of the benchmark would be, for instance, a flexible solution for selecting siblings among the pattern instances. Currently, users can add comments to an instance to argue about the judgements. In the future, we want to extend this with categorizing the votes of a user to control the overrating of his own tool.

• http://www.inf.u-szeged.hu/designpatterns/