more common than you think: an in-depth study of casual contributors

33
More Common Than You Think: An In-Depth Study of Casual Contributors Gustavo Pinto Igor Steinmacher Marco Gerosa

Upload: gustavo-pinto

Post on 07-Feb-2017

116 views

Category:

Technology


2 download

TRANSCRIPT

Page 1: More Common Than You Think: An In-Depth Study of Casual Contributors

More Common Than You Think: An In-Depth Study of Casual

Contributors

Gustavo Pinto Igor Steinmacher Marco Gerosa

Page 2: More Common Than You Think: An In-Depth Study of Casual Contributors

General Structure of an OSS community

K. Nakakoji, Y. Yamamoto, Y. Nishinaka, K. Kishida, and Y. Ye. Evolution patterns of open-source software systems and communities. In Proceedings of the

International Workshop on Principles of Software Evolution, 2002,

The “onion” patch

Page 3: More Common Than You Think: An In-Depth Study of Casual Contributors

Core developers

General Structure of an OSS community

Page 4: More Common Than You Think: An In-Depth Study of Casual Contributors

Core developers

Active developers

General Structure of an OSS community

Page 5: More Common Than You Think: An In-Depth Study of Casual Contributors

Core developers

Active developersPeripheral developers

General Structure of an OSS community

Page 6: More Common Than You Think: An In-Depth Study of Casual Contributors

Core developers

Active developersPeripheral developers

General Structure of an OSS community

Page 7: More Common Than You Think: An In-Depth Study of Casual Contributors

Core developers

Active developersPeripheral developers

Casual developers

R. Pham, L. Singer, O. Liskin, F. Figueira Filho, and K. Schneider. Creating a shared understanding of testing culture on a social coding site. In Proceedings of ICSE’13.

General Structure of an OSS community

Page 8: More Common Than You Think: An In-Depth Study of Casual Contributors

Two Studies

Page 9: More Common Than You Think: An In-Depth Study of Casual Contributors

Two Studies

CC++

ClojureCoffeeScript

ErlangGo

HaskellJava JavJavaScript

Objective-CPHPPerl

PythonRubyScala

TypeScript

Page 10: More Common Than You Think: An In-Depth Study of Casual Contributors

Two Studies

CC++

ClojureCoffeeScript

ErlangGo

HaskellJava JavJavaScript

Objective-CPHPPerl

PythonRubyScala

TypeScript

275 popular, non-trivial,

OSS Projects

Page 11: More Common Than You Think: An In-Depth Study of Casual Contributors

Two Studies608 Core developers

5 questions

10.2% Response Rate

Page 12: More Common Than You Think: An In-Depth Study of Casual Contributors

Two Studies608 Core developers

5 questions

760 Casual contributors

9 questions

10.2% Response Rate

26.7% Response Rate

Page 13: More Common Than You Think: An In-Depth Study of Casual Contributors

Two Studies608 Core developers

5 questions

760 Casual contributors

9 questions

10.2% Response Rate

26.7% Response Rate

OMG! Software engineering

studies usually have 5% of

response rate!

Barbara Kitchenham

Page 14: More Common Than You Think: An In-Depth Study of Casual Contributors

Research QuestionsRQ1. How common are casual contributions in OSS projects?

Page 15: More Common Than You Think: An In-Depth Study of Casual Contributors

Research QuestionsRQ1. How common are casual contributions in OSS projects?

RQ2. What are the characteristics of a casual contribution?

)+ 384 casual contribs ( 95% confidence level ±5% confidence interval

Page 16: More Common Than You Think: An In-Depth Study of Casual Contributors

Research QuestionsRQ1. How common are casual contributions in OSS projects?

RQ2. What are the characteristics of a casual contribution?

RQ3. How do casual contributors and project maintainers perceive casual contributions?

+ )384 casual contribs ( 95% confidence level ±5% confidence interval

Page 17: More Common Than You Think: An In-Depth Study of Casual Contributors

RQ1. How common?Contributions % Devs

1 39.55%

5 67.31%

10 76.39%

15 80.73%

20 83.51%

Page 18: More Common Than You Think: An In-Depth Study of Casual Contributors

RQ1. How common?Contributions % Devs

1 39.55%

5 67.31%

10 76.39%

15 80.73%

20 83.51%

Page 19: More Common Than You Think: An In-Depth Study of Casual Contributors

RQ1. How common?

39.55% 44.18% 51.36%

54.51% 54.76% 61.06%

Page 20: More Common Than You Think: An In-Depth Study of Casual Contributors

RQ1. How common?

Page 21: More Common Than You Think: An In-Depth Study of Casual Contributors

RQ1. How common?

Page 22: More Common Than You Think: An In-Depth Study of Casual Contributors

RQ2. Characteristics

Category # %Bug Fix 116 30.20%

Documentation 110 28.64%Add New Feature 72 18.75%

Refactoring 34 8.85%Update Version/Dependencies 25 6.51%Improve Error/Help Messages 14 3.64%

Improve Resource Usage 8 2.08%Add test cases 5 1.30%

32,729 casual contributions

384 statistically representative

casual contributions95% confidence level ±5% confidence interval

Page 23: More Common Than You Think: An In-Depth Study of Casual Contributors

RQ2. CharacteristicsBug fix (116 occurrences)

Page 24: More Common Than You Think: An In-Depth Study of Casual Contributors

RQ2. CharacteristicsDocumentation (110 occurrences)

Page 25: More Common Than You Think: An In-Depth Study of Casual Contributors

RQ2. CharacteristicsAdd New Feature (72 occurrences)

Page 26: More Common Than You Think: An In-Depth Study of Casual Contributors

RQ2. CharacteristicsRefactoring (34 occurrences)

Page 27: More Common Than You Think: An In-Depth Study of Casual Contributors

RQ3. PerceptionCasual Contributors Maintainers

Mot

ivat

ion

“Scratch their own itch” (45%) “Scratch their own itch” (35%)“Easy contribution process” (14%)“Give back to community” (XX%)

“Gain reputation” (XX%)

Page 28: More Common Than You Think: An In-Depth Study of Casual Contributors

RQ3. PerceptionCasual Contributors Maintainers

Mot

ivat

ion

Why

not

?

“Scratch their own itch” (45%) “Scratch their own itch” (35%)“Easy contribution process” (14%)“Give back to community” (XX%)

“Lack of time” (48%) “Lack of time” (26%)“No income from it” (18%) “Scratch their own itch” (19%)“Limited skills” (11%) “Project is hard to learn” (12%)

“Gain reputation” (XX%)

Page 29: More Common Than You Think: An In-Depth Study of Casual Contributors

RQ3. PerceptionCasual Contributors Maintainers

Mot

ivat

ion

Why

not

?Be

nefit

s

“Scratch their own itch” (45%) “Scratch their own itch” (35%)“Easy contribution process” (14%)“Give back to community” (XX%)

“Lack of time” (48%) “Lack of time” (26%)“No income from it” (18%) “Scratch their own itch” (19%)“Limited skills” (11%) “Project is hard to learn” (12%)

“Gain reputation” (XX%)

“New set of eyes” (20%)“Continuos improvement” (9%)

“Small issues solved quickly” (25%)

“Small issues solved quickly” (11%)

“Continuos improvement” (21%)

Page 30: More Common Than You Think: An In-Depth Study of Casual Contributors

RQ3. PerceptionCasual Contributors Maintainers

Mot

ivat

ion

Why

not

?Be

nefit

s

“Scratch their own itch” (45%) “Scratch their own itch” (35%)“Easy contribution process” (14%)“Give back to community” (XX%)

Prob

lems

“Lack of time” (48%) “Lack of time” (26%)“No income from it” (18%) “Scratch their own itch” (19%)“Limited skills” (11%) “Project is hard to learn” (12%)

“Gain reputation” (XX%)

“New set of eyes” (20%)“Continuos improvement” (9%)

“Small issues solved quickly” (25%)

“Contribs may go unmaintained” (8%)“No notable problem” (15%)“Time spent on code review” (19%)

“Small issues solved quickly” (11%)

“Continuos improvement” (21%)

“No notable problem” (32%)“Not easy contribution process” (14%)“Quality is questionable” (9%)

Page 31: More Common Than You Think: An In-Depth Study of Casual Contributors

Not quite contributions, but…1. (Super?) High response rate

2. All developers that answered our survey left the email address to receive the research results

3. 50+ developers congratulated us for conducting this study

Practical impact?

Page 32: More Common Than You Think: An In-Depth Study of Casual Contributors

In Summary

Page 33: More Common Than You Think: An In-Depth Study of Casual Contributors

More Common Than You Think: An In-Depth Study of Casual

Contributors

Gustavo Pinto Igor Steinmacher Marco Gerosa