On Dynamic Feature Location

This page contains the files necessary to perform the experiments that we reported about in the paper "On Dynamic Feature Location" by Rainer Koschke and Jochen Quante which was accepted for presentation at the 20th IEEE/ACM International Conference on Automated Software Engineering (ASE) 2005.

What you need to do the experiments:
Procedure:
The command line switch test cases are a bit different: Write the desired command line switches into a file called options, separated by underscore (see this example). One line corresponds to one run of the compiler with the given command line options. This step replaces the creation of the testset file. Then use the run_cc1_options.sh or run_sdcc_options.sh script to create the context.

Test cases that were used in the paper:

Loop Test Case Source file Feature file
necessary operations (basic) loops_empty.c loops_empty.fea
if (basic) loops_if.c loops_if.fea
while (basic) loops_while.c loops_while.fea
do-while (basic) loops_dowhile.c loops_dowhile.fea
for (basic) loops_for.c loops_for.fea
if-goto (basic) loops_ifgoto.c loops_ifgoto.fea
do-while + for nested loops_dowhilefor.c loops_dowhilefor.fea
do-while + for sequential loops_dowhilefor_seq.c loops_dowhilefor_seq.fea
if-goto + while nested loops_whileifgoto.c loops_whileifgoto.fea
all except for loops_all.c loops_all.fea

Expression Test Case Source file Feature file
variable assignment (initial) expr_empty.c expr_empty.fea
constant assignment (initial) expr_const_int.c expr_const_int.fea
+ (basic addition) expr_add_int.c expr_add_int.fea
- (basic substraction) expr_sub_int.c expr_sub_int.fea
* (basic multiplication) expr_mult_int.c expr_mult_int.fea
/ (basic division) expr_div_int.c expr_div_int.fea
+C (add constant) expr_add_const_int.c expr_add_const_int.fea
+0 (add const. zero) expr_add_const0_int.c expr_add_const0_int.fea
+1 (add const. one) expr_add_const1_int.c expr_add_const1_int.fea
all-in-one (combination) expr_full_int.c expr_full_int.fea
+* (simple combination) expr_add_mult_int.c expr_add_mult_int.fea
-/ (simple combination) expr_sub_div_int.c expr_sub_div_int.fea
++ (two additions) expr_add2_int.c expr_add2_int.fea
** (two multiplications) expr_mult2_int.c expr_mult2_int.fea
complex (combination) expr_complex_int.c expr_complex_int.fea
two lines (combination) expr_multiline_int.c expr_multiline_int.fea

Command Line Switch Test Case Source file Feature file
Implementation of a bit set set.tar.gz n/a

All test cases in one file: testcases.tar.gz
All scripts in one file: scripts.tar.gz


Created 24 Aug 2005 by Jochen Quante