Overview
Explore an innovative approach to bug prediction in software development through this EuroPython 2017 conference talk. Learn about Linespots, an algorithm designed to analyze a project's history and calculate the probability of bugs existing in specific lines of code. Discover how this method can significantly improve code review efficiency by allowing reviewers to focus on high-risk areas. Examine the algorithm's basics, functionality, and research results, including its impressive performance compared to Google's Bugspots algorithm. Delve into the pros and cons of Linespots and review findings from a case study. Gain insights into practical applications, such as identifying high-density bug areas, and understand potential improvements to the algorithm. Engage with questions addressing various aspects of Linespots, including its handling of different bug types, suggestions for high-risk lines, and plans for future availability.
Syllabus
Intro
Linespots Algorithm
Evaluation
High Density
Improvements
Questions
Why bug fixes
Commits as bug fixes
What type of bugs you feed the algorithm
Can you suggest highrisk lines of code
Are you planning on making things available
Is there something usually when you fix bugs
How does the weighting function work
Exponential decay with time
Example scoring
Taught by
EuroPython Conference