Researchers from a German university have developed a model to predict programming errors in applications.
The method has the potential to save software companies money by allowing them to isolate parts of their code that need more rigorous testing, said Kim Herzig, a researcher at the Universität des Saarlandes in Saarbrücken, who wrote his master's thesis on the project.
"We try to find which aspects of code correlate to defects in the past," Herzig said.
Software companies rarely test every single line of code in their software. Testing is expensive, and companies are under pressure to release products. But fixing bugs after a product has been released is also expensive and inconvenient for customers, Herzig said.
The model is tailored to a specific software program undergoing an upgrade. The program's version history and bug reports are analyzed. The source code is also examined to find out how modules within the software interact with each other.
The model also looks at how the developers communicated with one another, examining their e-mail, instant message conversation and discussions on forums.
"We try to mine these sources and find out if there are certain patterns and behaviors of the developers that correlate with defects," Herzig said.
Researchers then use statistical analysis to build the predication model. It does not uncover the number of defects or precisely where those defects may be in the code. Instead, the model will indicate, for example, that a section of code has a 70 percent probability of containing a defect, Herzig said.
The university's work has gained the attention of software giants SAP and Microsoft, both of which have invited researchers to test the model on their software. Since the work involves looking at source code -- which is considered highly valuable intellectual property -- the university's researchers went to the companies' facilities and signed nondisclosure agreements, Herzig said.
The invites are welcome, as the model still needs fine tuning, Herzig said. Other interest has come from IBM, which gave the researchers $25,000 to see how the model can be applied to Jazz, a project focused on building a collaboration platform for software development, he said.
This whitepaper explains the terminology and concepts behind Data Replication technologies and establishes some sizing rules through worked examples. Learn the new paradigm in disaster tolerance—protect data anywhere.
Download now »Server virtualization is a popular option for dealing with mounting datacenter costs. Another equally promising approach is the use of an Application Delivery Controller. Citrix NetScaler provides a low-cost way for organizations to reduce their server count and accrue cost savings from a reduction in space, cooling, power and personnel.
Download now »
The emergence of WLANs has created a new breed of security threats to enterprise networks.
Included in HP ProCurve WLAN solutions is security technology that alleviates threats from WLANs through:
* Monitoring wireless activity inside and out of the enterprise
* Classifying WLAN transmissions into harmful and harmless
* Preventing transmissions that pose a security threat to the enterprise network
* Locating participating devices for physical remediation
Effectively address data protection challenges, implementing solutions that help store and protect businesscritical data while cutting costs and improving efficiency and reliability.
Download now »
Sign up to receive InfoWorld Resource Alerts
