Skip to main content

Identifying the Mood of a Software Development Team by Analyzing Text-Based Communication in Chats with Machine Learning

  • Conference paper
  • First Online:
Human-Centered Software Engineering (HCSE 2020)

Abstract

Software development encompasses many collaborative tasks in which usually several persons are involved. Close collaboration and the synchronization of different members of the development team require effective communication. One established communication channel are meetings which are, however, often not as effective as expected. Several approaches already focused on the analysis of meetings to determine the reasons for inefficiency and dissatisfying meeting outcomes. In addition to meetings, text-based communication channels such as chats and e-mails are frequently used in development teams. Communication via these channels requires a similar appropriate behavior as in meetings to achieve a satisfying and expedient collaboration. However, these channels have not yet been extensively examined in research.

In this paper, we present an approach for analyzing interpersonal behavior in text-based communication concerning the conversational tone, the familiarity of sender and receiver, the sender’s emotionality, and the appropriateness of the used language. We evaluate our approach in an industrial case study based on 1947 messages sent in a group chat in Zulip over 5.5 months. Using our approach, it was possible to automatically classify written sentences as positive, neutral, or negative with an average accuracy of 62.97% compared to human ratings. Despite this coarse-grained classification, it is possible to gain an overall picture of the adequacy of the textual communication and tendencies in the group mood.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Notes

  1. 1.

    https://slack.com/.

  2. 2.

    https://www.skype.com/.

  3. 3.

    https://zulipchat.com/.

  4. 4.

    Note that the analysis of bi-directional communication is questionable due to privacy concerns and personal messages in private chats.

  5. 5.

    Note that both databases are based on the German language as we performed our application in industry (see Sect. 4) in a German-speaking company.

  6. 6.

    More information on Zulip can be found at https://zulipchat.com/.

  7. 7.

    As the number of metrics is quite high, future research should focus on the selection of appropriate metrics.

References

  1. Abad, Z.S.H., Gervasi, V., Zowghi, D., Barker, K.: Elica: an automated tool for dynamic extraction of requirements relevant information. In: Proceedings of the 5th International Workshop on Artificial Intelligence for Requirements Engineering. IEEE (2018)

    Google Scholar 

  2. Bjarnason, E., Wnuk, K., Regnell, B.: Requirements are slipping through the gaps–a case study on causes & effects of communication gaps in large-scale software development. In: 2011 IEEE 19th International Requirements Engineering Conference, pp. 37–46. IEEE (2011)

    Google Scholar 

  3. Calefato, F., Lanubile, F., Maiorano, F., Novielli, N.: Sentiment polarity detection for software development. Empirical Software Eng. 23(3), 1352–1382 (2018)

    Article  Google Scholar 

  4. Fricker, Samuel A., Grau, Rainer, Zwingli, Adrian: Requirements engineering: best practice. In: Fricker, Samuel A., Thümmler, Christoph, Gavras, Anastasius (eds.) Requirements Engineering for Digital Health, pp. 25–46. Springer, Cham (2015). https://doi.org/10.1007/978-3-319-09798-5_2

    Chapter  Google Scholar 

  5. Gall, M., Berenbach, B.: Towards a framework for real time requirements elicitation. In: Proceedings of the 1st International Workshop on Multimedia Requirements Engineering, p. 4. IEEE (2006)

    Google Scholar 

  6. Ghosh, T., Yates, J., Orlikowski, W.: Using communication norms for coordination: evidence from a distributed team. In: Proceedings of the 25th International Conference on Information Systems, p. 10 (2004)

    Google Scholar 

  7. Graziotin, D., Fagerholm, F., Wang, X., Abrahamsson, P.: Consequences of unhappiness while developing software. In: Proceedings of the 2nd International Workshop on Emotion Awareness in Software Engineering, pp. 42–47. IEEE Press (2017)

    Google Scholar 

  8. Graziotin, D., Wang, X., Abrahamsson, P.: Are happy developers more productive? In: Heidrich, J., Oivo, M., Jedlitschka, A., Baldassarre, M.T. (eds.) PROFES 2013. LNCS, vol. 7983, pp. 50–64. Springer, Heidelberg (2013). https://doi.org/10.1007/978-3-642-39259-7_7

  9. Herbsleb, J.D., Mockus, A.: An empirical study of speed and communication in globally distributed software development. IEEE Trans. Software Eng. 29(6), 481–494 (2003)

    Article  Google Scholar 

  10. Islam, M.R., Zibran, M.F.: Leveraging automated sentiment analysis in software engineering. In: 2017 IEEE/ACM 14th International Conference on Mining Software Repositories (MSR), pp. 203–214. IEEE (2017)

    Google Scholar 

  11. Jongeling, R., Datta, S., Serebrenik, A.: Choosing your weapons: on sentiment analysis tools for software engineering research. In: 2015 IEEE International Conference on Software Maintenance and Evolution (ICSME), pp. 531–535. IEEE (2015)

    Google Scholar 

  12. Jurado, F., Rodriguez, P.: Sentiment analysis in monitoring software development processes: an exploratory case study on github’s project issues. J. Syst. Softw. 104, 82–89 (2015)

    Article  Google Scholar 

  13. Kauffeld, S., Lehmann-Willenbrock, N.: Meetings matter: effects of team meetings on team and organizational success. Small Group Res. 43(2), 130–158 (2012)

    Article  Google Scholar 

  14. Kauffeld, S., Meyers, R.A.: Complaint and solution-oriented circles: interaction patterns in work group discussions. Euro. J. Work Organizational Psychol. 18(3), 267–294 (2009)

    Article  Google Scholar 

  15. Klünder, J., et al.: Do you just discuss or do you solve? meeting analysis in a software project at early stages. In: Proceedings of the 5th International Workshop on Emotion Awareness in Software Engineering. ACM (2020)

    Google Scholar 

  16. Klünder, J., Unger-Windeler, C., Kortum, F., Schneider, K.: Team meetings and their relevance for the software development process over time. In: Proceedings of the 43rd Euromicro Conference on Software Engineering and Advanced Applications, pp. 313–320. IEEE (2017)

    Google Scholar 

  17. Kraut, R.E., Streeter, L.A.: Coordination in software development. Commun. ACM 38(3), 69–82 (1995)

    Article  Google Scholar 

  18. Kuhrmann, M., Tell, P., Klünder, J., Hebig, R., Licorish, S.A., MacDonell, S.G.: Complementing materials for the helena study (stage 2). November 2018 https://doi.org/10.13140/RG.2.2.11032.65288

  19. Lehmann-Willenbrock, N., Meyers, R.A., Kauffeld, S., Neininger, A., Henschel, A.: Verbal interaction sequences and group mood: exploring the role of team planning communication. Small Group Res. 42(6), 639–668 (2011)

    Article  Google Scholar 

  20. Lin, B., Zampetti, F., Bavota, G., Di Penta, M., Lanza, M., Oliveto, R.: Sentiment analysis for software engineering: How far can we go? In: Proceedings of the 40th International Conference on Software Engineering, pp. 94–104 (2018)

    Google Scholar 

  21. Marjaie, S., Rathod, U.: Communication in agile software projects: qualitative analysis using grounded theory in system dynamics. In: Proceedings of the International Conference of the System Dynamics Society (2011)

    Google Scholar 

  22. McChesney, I.R., Gallagher, S.: Communication and co-ordination practices in software engineering projects. Inf. Softw. Technol. 46(7), 473–489 (2004)

    Article  Google Scholar 

  23. Oshri, I., Kotlarsky, J., Willcocks, L.P.: Global software development: exploring socialization and face-to-face meetings in distributed strategic projects. J. Strategic Inf. Syst. 16(1), 25–49 (2007)

    Article  Google Scholar 

  24. Prenner, N., Klünder, J., Schneider, K.: Making meeting success measurable by participants’ feedback. In: Proceedings of the 3rd International Workshop on Emotion Awareness in Software Engineering. ACM (2018)

    Google Scholar 

  25. Remus, R., Quasthoff, U., Heyer, G.: Sentiws-a publicly available german-language resource for sentiment analysis. In: LREC, Citeseer (2010)

    Google Scholar 

  26. Schneider, K., Klünder, J., Kortum, F., Handke, L., Straube, J., Kauffeld, S.: Positive affect through interactions in meetings: the role of proactive and supportive statements. J. Syst. Softw. 143, 59–70 (2018)

    Article  Google Scholar 

  27. Teasley, S., Covi, L., Krishnan, M.S., Olson, J.S.: How does radical collocation help a team succeed? In: Proceedings of the 2000 ACM Conference on Computer Supported Cooperative Work, pp. 339–346 (2000)

    Google Scholar 

  28. Waltinger, U.: Sentiment analysis reloaded-a comparative study on sentiment polarity identification combining machine learning and subjectivity features. In: WEBIST (1), pp. 203–210 (2010)

    Google Scholar 

  29. Wang, H., Castanon, J.A.: Sentiment expression via emoticons on social media. In: 2015 IEEE International Conference on Big Data (big data), pp. 2404–2408. IEEE (2015)

    Google Scholar 

  30. Watzlawick, P., Bavelas, J.B., Jackson, D.D.: Pragmatics of human communication: a study of interactional patterns, pathologies and paradoxes. WW Norton & Company (2011)

    Google Scholar 

  31. Zheng, J., Veinott, E., Bos, N., Olson, J.S., Olson, G.M.: Trust without touch: jumpstarting long-distance trust with initial social activities. In: Proceedings of the SIGCHI Conference on Human Factors in Computing Systems, pp. 141–146 (2002)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Jil Klünder .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2020 IFIP International Federation for Information Processing

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Klünder, J., Horstmann, J., Karras, O. (2020). Identifying the Mood of a Software Development Team by Analyzing Text-Based Communication in Chats with Machine Learning. In: Bernhaupt, R., Ardito, C., Sauer, S. (eds) Human-Centered Software Engineering. HCSE 2020. Lecture Notes in Computer Science(), vol 12481. Springer, Cham. https://doi.org/10.1007/978-3-030-64266-2_8

Download citation

  • DOI: https://doi.org/10.1007/978-3-030-64266-2_8

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-030-64265-5

  • Online ISBN: 978-3-030-64266-2

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics