Computer programs consist of thousands, tens or even hundreds of thousands of lines of code. To isolate a bug in the code, programmers often break it into smaller pieces until they can pin down the error in a smaller stretch that is easier to manage. UC Davis graduate student Chad Sterling and Ron Olsson, professor of computer science, set out to automate that process.
"It's really tedious to go through thousands of lines of code," Olsson said.
The "Chipper" tools developed by Sterling and Olsson chip off pieces of software while preserving the program structure.
"The pieces have to work after they are cut down," Olsson said. "You can't just cut in mid-sentence."
In a recent paper in the journal "Software -- Practice and Experience," Olsson and Sterling describe ChipperJ, a version developed for the Java programming language. ChipperJ was able to reduce large programs to 20 to 35 percent of their former size in under an hour.
More information about automated program chipping is available on Olsson's Web site at http://www.cs.ucdavis.edu/~olsson/.
Andy Fell | Source: EurekAlert!
Further information: www.cs.ucdavis.edu/~olsson/
www.ucdavis.edu
More articles from Information Technology:
SMOS satellite instrument comes alive
23.11.2009 | European Space Agency
Search engines are source of learning
23.11.2009 | Penn State
Daycare may double TV time for young children
24.11.2009 | Studies and Analyses
Insomnia prevalent among cancer patients who receive chemotherapy
24.11.2009 | Studies and Analyses
24.11.2009 | Social Sciences
Multidisciplinary meeting on Urological Cancers aims to benefit cancer patients
20.11.2009 | Event News
'Golden Age' for clinical psychology in Northern Ireland
20.11.2009 | Event News
New Perspectives in Marine Anti-Fouling Research
11.11.2009 | Event News