Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
A Benchmark for API-Misuse Detectors
Sven Amann•
, Sarah Nadi•
, Hoan A. Nguyen◦
, Tien N. Nguyen◦
, and Mira Mezini•
•
Te...
List<String> l = …
for (String s : l) {
if (s.startsWith(“.”)) {
l.remove(s);
}
}
API Misuse
2
API-Misuse Detectors
3
2.
Find Rare Violations
(Anomalies)
1.
Obtain Patterns
4
5
Bug Datasets
Mining
GitHub & SourceForge Survey
6
Project
Bug Report
Description
Involved Types
Characteristics
Repo + Fixing Commit
<misuse>.yml
7
Contains 89 Misuses
68.5% Crashes
github.com/stg-tud/MUBench/tree/MSR16
From 33 Projects
and a Survey
8
git
svn
synt
working
copy
version
with misuse
A Benchmark for
API-Misuse Detectors
github.com/stg-tud/MUBench
Sven Amann
amann@cs.tu-darmstadt.de
Upcoming SlideShare
Loading in …5
×

MUBench - A Benchmark for API-Misuse Detectors - MSR '16

207 views

Published on

My MSR '16 talk about MUBench, our benchmark (dataset) for API-misuse detectors.

  • Be the first to comment

  • Be the first to like this

MUBench - A Benchmark for API-Misuse Detectors - MSR '16

  1. 1. A Benchmark for API-Misuse Detectors Sven Amann• , Sarah Nadi• , Hoan A. Nguyen◦ , Tien N. Nguyen◦ , and Mira Mezini• • Technische Universität Darmstadt ◦ Iowa State University
  2. 2. List<String> l = … for (String s : l) { if (s.startsWith(“.”)) { l.remove(s); } } API Misuse 2
  3. 3. API-Misuse Detectors 3 2. Find Rare Violations (Anomalies) 1. Obtain Patterns
  4. 4. 4
  5. 5. 5 Bug Datasets Mining GitHub & SourceForge Survey
  6. 6. 6 Project Bug Report Description Involved Types Characteristics Repo + Fixing Commit <misuse>.yml
  7. 7. 7 Contains 89 Misuses 68.5% Crashes github.com/stg-tud/MUBench/tree/MSR16 From 33 Projects and a Survey
  8. 8. 8 git svn synt working copy version with misuse
  9. 9. A Benchmark for API-Misuse Detectors github.com/stg-tud/MUBench Sven Amann amann@cs.tu-darmstadt.de

×