Dies ist ein Archiv des alten Softwaretechnik Lehrstuhls der Universität des Saarlandes. Es ist nicht länger aktuell.

  

Ample
Lightweight defect localization for Java

Lehrstuhl für Softwaretechnik (Prof. Zeller)
Universität des Saarlandes – Informatik
Informatik Campus des Saarlandes
Campus E9 1 (CISPA)
66123 Saarbrücken
E-mail: zeller @ cs.uni-saarland.de
Telefon: +49 681 302-70970

Deutschsprachige Startseite Page d'acceuil en français English home page
   The Ample project at Software Engineering Chair, Saarland University investigates a lightweight automated debugging approach based on comparing the traces of multiple runs. Ample automatically determines classes that are likely to cause the failure with surprisingly high precision.

Install AMPLE

  1. Download AMPLE and unpack the zip-file into your ECLIPSE directory.
  2. Start ECLIPSE. At some point during the startup, it should say "Loading org.softevo.ample".

Use AMPLE on a specific problem

Using AMPLE for a specific problem is pretty easy. The only prerequisites are JUnit test cases for a failing run of your program, and at least one for a passing run of your program. The steps to use AMPLE are as follows:
  1. Initially, AMPLE does not know which of your test cases are failing and which are passing runs. Prior to running AMPLE, you have to have the JUnit tests executed by Eclipse.
    Run JUnit test cases by Eclipse
  2. Once all tests of interest were executed, AMPLE can classify them into passing and failing runs. You can now start AMPLE by right-clicking on a failing test case.
    Start Ample
  3. In the next step, AMPLE wants to know which test cases should be used. Use the dailog to select a single failing test, and one or more passing runs to evaluate. Once the correct tests are selected, just click on "OK" and AMPLE starts.
    Select Test Cases
  4. Depending on the size of your application, it may take some minutes to execute AMPLE. Execution is done in the background, and you can use the Progress View provided by Eclipse to watch AMPLE working.
    Progress View
  5. Once AMPLE has finished working, results are displayed in the AMPLE Results view.
    Ranking
  6. If you double-click on a class in the result view, the source code is opened in the editor. You can use this feature to browse code in the order suggested by AMPLE. If you're interested in the patterns that were recorded for a class, you can simple right-click on an entry in the result view and a list of patterns is displayed.
    Patterns for a class

See also

Impressum Datenschutzerklärung

<webmaster@st.cs.uni-saarland.de> · http://www.st.cs.uni-saarland.de//ample/getting-started.php?lang=fr · Stand: 2018-04-05 13:40