Your SlideShare is downloading. ×
130426   yujuan jiang - will my patch make it and how fast
130426   yujuan jiang - will my patch make it and how fast
130426   yujuan jiang - will my patch make it and how fast
130426   yujuan jiang - will my patch make it and how fast
130426   yujuan jiang - will my patch make it and how fast
130426   yujuan jiang - will my patch make it and how fast
130426   yujuan jiang - will my patch make it and how fast
130426   yujuan jiang - will my patch make it and how fast
130426   yujuan jiang - will my patch make it and how fast
130426   yujuan jiang - will my patch make it and how fast
130426   yujuan jiang - will my patch make it and how fast
130426   yujuan jiang - will my patch make it and how fast
130426   yujuan jiang - will my patch make it and how fast
130426   yujuan jiang - will my patch make it and how fast
130426   yujuan jiang - will my patch make it and how fast
130426   yujuan jiang - will my patch make it and how fast
130426   yujuan jiang - will my patch make it and how fast
130426   yujuan jiang - will my patch make it and how fast
130426   yujuan jiang - will my patch make it and how fast
130426   yujuan jiang - will my patch make it and how fast
130426   yujuan jiang - will my patch make it and how fast
130426   yujuan jiang - will my patch make it and how fast
130426   yujuan jiang - will my patch make it and how fast
130426   yujuan jiang - will my patch make it and how fast
130426   yujuan jiang - will my patch make it and how fast
130426   yujuan jiang - will my patch make it and how fast
130426   yujuan jiang - will my patch make it and how fast
130426   yujuan jiang - will my patch make it and how fast
130426   yujuan jiang - will my patch make it and how fast
130426   yujuan jiang - will my patch make it and how fast
130426   yujuan jiang - will my patch make it and how fast
130426   yujuan jiang - will my patch make it and how fast
130426   yujuan jiang - will my patch make it and how fast
130426   yujuan jiang - will my patch make it and how fast
130426   yujuan jiang - will my patch make it and how fast
130426   yujuan jiang - will my patch make it and how fast
130426   yujuan jiang - will my patch make it and how fast
130426   yujuan jiang - will my patch make it and how fast
130426   yujuan jiang - will my patch make it and how fast
130426   yujuan jiang - will my patch make it and how fast
130426   yujuan jiang - will my patch make it and how fast
130426   yujuan jiang - will my patch make it and how fast
130426   yujuan jiang - will my patch make it and how fast
130426   yujuan jiang - will my patch make it and how fast
130426   yujuan jiang - will my patch make it and how fast
130426   yujuan jiang - will my patch make it and how fast
130426   yujuan jiang - will my patch make it and how fast
130426   yujuan jiang - will my patch make it and how fast
130426   yujuan jiang - will my patch make it and how fast
130426   yujuan jiang - will my patch make it and how fast
130426   yujuan jiang - will my patch make it and how fast
130426   yujuan jiang - will my patch make it and how fast
130426   yujuan jiang - will my patch make it and how fast
130426   yujuan jiang - will my patch make it and how fast
130426   yujuan jiang - will my patch make it and how fast
130426   yujuan jiang - will my patch make it and how fast
130426   yujuan jiang - will my patch make it and how fast
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

130426 yujuan jiang - will my patch make it and how fast

59

Published on

Software bugs, software patches, acceptance

Software bugs, software patches, acceptance

Published in: Technology, News & Politics
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
59
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
5
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. Will My Patch Make It? And How Fast? Yujuan Jiang, Bram Adams (MCIS, Polytechnique Montréal) Daniel M. German (University of Victoria ) 1 Sunday, 19 May, 13 1
  • 2. I do hold out hope that Google does come around and works to fix their codebase to get it merged upstream to stop the huge blockage that they have now caused in a large number of embedded Linux hardware companies […] But I need the help of the Google developers to make it happen, without them, nothing can change. Greg Kroah-Hartman http://www.kroah.com/log/linux/android-kernel-problems.html 2 Sunday, 19 May, 13 2
  • 3. Integration Process 3 Sunday, 19 May, 13 3
  • 4. Integration Process Reviewing Integration Staging 3 Sunday, 19 May, 13 3
  • 5. Integration Process Reviewing Integration Staging 3 Sunday, 19 May, 13 3
  • 6. Integration Process contributor 1 contributor 2 contributor 3 Reviewing Integration Staging 3 Sunday, 19 May, 13 3
  • 7. Integration Process contributor 1 contributor 2 contributor 3 Reviewing Integration Staging 3 Sunday, 19 May, 13 3
  • 8. Integration Process contributor 1 contributor 2 contributor 3 linux-usb lkml linux-scsi Reviewing Integration Staging 3 Sunday, 19 May, 13 3
  • 9. Integration Process contributor 1 contributor 2 contributor 3 linux-usb lkml linux-scsi Reviewing Integration Staging 3 Sunday, 19 May, 13 3
  • 10. Integration Process contributor 1 contributor 2 contributor 3 linux-usb lkml linux-scsi Reviewing Integration Staging 3 Sunday, 19 May, 13 3
  • 11. Integration Process contributor 1 contributor 2 contributor 3 linux-usb lkml linux-scsi Reviewing Integration Staging 3 Sunday, 19 May, 13 3
  • 12. Integration Process contributor 1 linux-usb subsystem maintainer1 contributor 2 contributor 3 lkml linux-scsi Reviewing subsystem maintainer1 Integration Staging 3 Sunday, 19 May, 13 3
  • 13. Integration Process contributor 1 linux-usb subsystem maintainer1 contributor 2 contributor 3 lkml linux-scsi Reviewing subsystem maintainer1 Integration Staging 3 Sunday, 19 May, 13 3
  • 14. Integration Process contributor 1 linux-usb subsystem maintainer1 contributor 2 contributor 3 lkml linux-scsi Reviewing subsystem maintainer1 Integration Staging 3 Sunday, 19 May, 13 3
  • 15. Integration Process contributor 1 linux-usb subsystem maintainer1 contributor 2 contributor 3 lkml linux-scsi Reviewing subsystem maintainer1 Integration Staging 3 Sunday, 19 May, 13 3
  • 16. Integration Process contributor 1 linux-usb subsystem maintainer1 contributor 2 lkml maintainer contributor 3 linux-scsi Reviewing subsystem maintainer1 Integration Staging 3 Sunday, 19 May, 13 3
  • 17. Integration Process contributor 1 linux-usb subsystem maintainer1 contributor 2 lkml maintainer contributor 3 linux-scsi Reviewing subsystem maintainer1 Integration Staging 3 Sunday, 19 May, 13 3
  • 18. Integration Process contributor 1 linux-usb subsystem maintainer1 contributor 2 lkml maintainer contributor 3 linux-scsi Reviewing Linus Torvalds subsystem maintainer1 Integration Staging 3 Sunday, 19 May, 13 3
  • 19. Integration Process contributor 1 linux-usb subsystem maintainer1 contributor 2 lkml maintainer contributor 3 linux-scsi Reviewing Linus Torvalds subsystem maintainer1 Integration Staging 3 Sunday, 19 May, 13 3
  • 20. Integration Process contributor 1 linux-usb subsystem maintainer1 contributor 2 lkml maintainer contributor 3 linux-scsi Reviewing Linus Torvalds linux 3.5 subsystem maintainer1 Integration Staging 3 Sunday, 19 May, 13 3
  • 21. Research Questions RQ1: How many patches are merged? RQ2: What kind of patch is merged more likely? RQ 3: What kind of patch is accepted faster? 4 Sunday, 19 May, 13 4
  • 22. Setup Of Case Study contributor 1 linux-usb subsystem maintainer1 contributor 2 lkml maintainer contributor 3 linux-scsi Reviewing Linus Torvalds linux 3.5 subsystem maintainer1 Integration Staging 5 Sunday, 19 May, 13 5
  • 23. Setup Of Case Study contributor 1 linux-usb subsystem maintainer1 contributor 2 lkml maintainer contributor 3 linux-scsi Reviewing Linus Torvalds linux 3.5 subsystem maintainer1 Integration Staging 5 Sunday, 19 May, 13 5
  • 24. Setup Of Case Study linux-usb lkml Linus Torvalds linux-scsi Reviewing Integration Staging 5 Sunday, 19 May, 13 5
  • 25. Setup Of Case Study linux-usb lkml Linus Torvalds linux-scsi Reviewing Integration Staging 5 Sunday, 19 May, 13 5
  • 26. Setup Of Case Study Linus Torvalds Reviewing Integration Staging 5 Sunday, 19 May, 13 5
  • 27. Setup Of Case Study email1 email patch1 email2 email patch2 Linus Torvalds email3 ... email patch3 Reviewing Integration Staging 5 Sunday, 19 May, 13 5
  • 28. Setup Of Case Study email1 email patch1 email2 email patch2 email3 email patch3 ... Reviewing Integration Staging 5 Sunday, 19 May, 13 5
  • 29. Setup Of Case Study email1 email patch1 commit patch1 commit1 email2 email patch2 commit patch2 commit2 email3 email patch3 commit patch3 commit3 ... Reviewing Integration ... Staging 5 Sunday, 19 May, 13 5
  • 30. Setup Of Case Study email1 email patch1 checksum1 commit patch1 commit1 email2 email patch2 checksum2 commit patch2 commit2 email3 email patch3 commit patch3 commit3 ... Reviewing checksum3 ... Integration ... Staging 5 Sunday, 19 May, 13 5
  • 31. Setup Of Case Study email1 email patch1 checksum1 commit patch1 commit1 email2 email patch2 checksum2 commit patch2 commit2 email3 email patch3 commit patch3 commit3 ... Reviewing checksum3 ... Integration ... Staging 5 Sunday, 19 May, 13 5
  • 32. Experience Commit 5 Dimensions of 29 Patch Metrics Review Patch 6 Sunday, 19 May, 13 Email E 6
  • 33. Building Decision Trees size: LOC > 50 Is this first patch in thread? not accepted Number of reviewers > 3 ? Number of review messages > 3 ? accepted not accepted Decision Tree 7 Sunday, 19 May, 13 7
  • 34. RQ1: How many patches are merged? RQ2: What kind of patch is merged more likely? RQ 3: What kind of patch is accepted faster? 8 Sunday, 19 May, 13 8
  • 35. RQ1: How many patches are merged? RQ2: What kind of patch is merged more likely? RQ 3: What kind of patch is accepted faster? 9 Sunday, 19 May, 13 9
  • 36. RQ1:33% of patches make it! accepted/rejected patches 69.26 69.26% R E J E C T 120000 % accepted by linus % rejected by linus 66.45 66.45% percentage of patches # of patches 100000 67.21% 67.21 66.13 66.13% 67.17 67.17% 80000 72.97% 72.97 60000 40000 33.55 33.55% 71.3 71.3% 32.83 32.83% 20000 71.37 71.73% 0 33.87 33.87% 32.79 32.79% 27.03 27.03% 28.7 28.7% 28.63% 28.63 2005 Sunday, 19 May, 13 30.74 30.74% 2006 2007 10 2008 2009 2010 2011 A C C E P T 2012 10
  • 37. 80 RQ1:Requiring 1~6months! 40 60 within_half_year within_year took_ages 0 Text % accepted patches within_week within_month within_quarter 20 percentage of accepted patches of each year instantly within_hour within_day 2005 2006 2007 11 Sunday, 19 May, 13 2008 2009 2010 2011 2012 year 11
  • 38. RQ1: reviewing time speeds up & integration slows down reviewing time Sunday, 19 May, 13 12 integration time 12
  • 39. RQ1: How many patches are merged? RQ 3: RQ2: What kind of What kind of patch is patch is merged accepted faster? more likely? 13 Sunday, 19 May, 13 13
  • 40. RQ2: What kind of patch is merged more likely? precision:73% recall:68.47% 14 Sunday, 19 May, 13 14
  • 41. RQ2: What kind of patch is merged more likely? precision:73% recall:68.47% 14 Sunday, 19 May, 13 14
  • 42. RQ2: What kind of patch is merged more likely? precision:73% recall:68.47% 14 Sunday, 19 May, 13 14
  • 43. RQ2: What kind of patch is merged more likely? precision:73% recall:68.47% 14 Sunday, 19 May, 13 14
  • 44. RQ2: What kind of patch is merged more likely? precision:73% recall:68.47% 14 Sunday, 19 May, 13 14
  • 45. RQ1: How many patches are merged? RQ 3: RQ2: What kind of What kind of patch is patch is merged accepted faster? more likely? 15 Sunday, 19 May, 13 15
  • 46. RQ3: What kind of patch is accepted faster? 16 Sunday, 19 May, 13 16
  • 47. RQ3: What kind of patch is accepted faster? 16 Sunday, 19 May, 13 16
  • 48. RQ3: What kind of patch is accepted faster? 16 Sunday, 19 May, 13 16
  • 49. RQ3: What kind of patch is accepted faster? 16 Sunday, 19 May, 13 16
  • 50. RQ3: What kind of patch is accepted faster? 16 Sunday, 19 May, 13 16
  • 51. RQ3: What kind of patch is accepted faster? 16 Sunday, 19 May, 13 16
  • 52. RQ3: What kind of patch is accepted faster? Acceptance is determined by integration phase 16 Sunday, 19 May, 13 16
  • 53. 17 Sunday, 19 May, 13 17
  • 54. 17 Sunday, 19 May, 13 17
  • 55. % accepted by linus % rejected by linus 66.45 66.45% 100000 percentage of patches 67.21% 67.21 66.13% 66.13 67.17 67.17% 80000 72.97% 72.97 60000 40000 33.55 33.55% 71.3 71.3% 33.87 33.87% 2009 32.83 32.83% 32.79 32.79% 2010 30.74 30.74% 20000 27.03 27.03% 71.73% 71.37 28.7 28.7% 0 28.63% 28.63 2005 2006 2007 2008 2011 2012 year 17 Sunday, 19 May, 13 17
  • 56. % accepted by linus % rejected by linus 66.45 66.45% 100000 percentage of patches 67.21% 67.21 66.13% 66.13 67.17 67.17% 80000 72.97% 72.97 60000 40000 33.55 33.55% 71.3 71.3% 33.87 33.87% 2009 32.83 32.83% 32.79 32.79% 2010 30.74 30.74% 20000 27.03 27.03% 71.73% 71.37 28.7 28.7% 0 28.63% 28.63 2005 2006 2007 2008 2011 2012 year 17 Sunday, 19 May, 13 17
  • 57. % accepted by linus % rejected by linus 66.45 66.45% 100000 percentage of patches 67.21% 67.21 66.13% 66.13 67.17 67.17% 80000 72.97% 72.97 60000 40000 33.55 33.55% 71.3 71.3% 33.87 33.87% 2009 32.83 32.83% 32.79 32.79% 2010 30.74 30.74% 20000 27.03 27.03% 71.73% 71.37 28.7 28.7% 0 28.63% 28.63 2005 2006 2007 2008 2011 2012 year 17 Sunday, 19 May, 13 17

×