TY - CHAP
T1 - Influences of developers' perspectives on their engagement with security in code
AU - Rauf, Irum
AU - Lopez, Tamara
AU - Sharp, Helen
AU - Petre, Marian
AU - Tun, Thein
AU - Levine, Mark
AU - Towse, John
AU - Van Der Linden, Dirk
AU - Rashid, Awais
AU - Nuseibeh, Bashar
N1 - Publisher Copyright:
© 2022 ACM.
PY - 2022/7/19
Y1 - 2022/7/19
N2 - Background: Recent studies show that secure coding is about not only technical requirements but also developers' behaviour. Objective: To understand the influence of socio-technical contexts on how developers attend to and engage with security in code, software engineering researchers collaborated with social psychologists on a psychologically-informed study. Method: In a preregistered, between-group, controlled experiment, 124 developers from multiple freelance communities, were primed toward one of three identities, following which they completed code review tasks with open-ended responses. Qualitative analysis of the rich data focused on the attitudes and reasoning that shaped their identification of security issues within code. Results: Overall, attention to code security was intermittent and heterogeneous in focus. Although social identity priming did not significantly change the code review, qualitative analysis revealed that developers varied in how they noticed issues in code, how they addressed them, and how they justified their choices. Conclusion: We found that many developers do think about security - but differently from one another. Hence, effective interventions to promote secure coding must be appropriate to the individual development context. Data is uploaded at: https://osf.io/3jvrk
AB - Background: Recent studies show that secure coding is about not only technical requirements but also developers' behaviour. Objective: To understand the influence of socio-technical contexts on how developers attend to and engage with security in code, software engineering researchers collaborated with social psychologists on a psychologically-informed study. Method: In a preregistered, between-group, controlled experiment, 124 developers from multiple freelance communities, were primed toward one of three identities, following which they completed code review tasks with open-ended responses. Qualitative analysis of the rich data focused on the attitudes and reasoning that shaped their identification of security issues within code. Results: Overall, attention to code security was intermittent and heterogeneous in focus. Although social identity priming did not significantly change the code review, qualitative analysis revealed that developers varied in how they noticed issues in code, how they addressed them, and how they justified their choices. Conclusion: We found that many developers do think about security - but differently from one another. Hence, effective interventions to promote secure coding must be appropriate to the individual development context. Data is uploaded at: https://osf.io/3jvrk
UR - https://www.scopus.com/pages/publications/85133977272
U2 - 10.1145/3528579.3529180
DO - 10.1145/3528579.3529180
M3 - Chapter
AN - SCOPUS:85133977272
T3 - Proceedings - 15th International Conference on Cooperative and Human Aspects of Software Engineering, CHASE 2022
SP - 86
EP - 95
BT - Proceedings - 15th International Conference on Cooperative and Human Aspects of Software Engineering, CHASE 2022
PB - Institute of Electrical and Electronics Engineers Inc.
T2 - 15th ACM/IEEE International Conference on Cooperative and Human Aspects of Software Engineering, CHASE 2022
Y2 - 18 May 2022 through 19 May 2022
ER -