Automation and Artificial Intelligence in Software Engineering: Experiences, Challenges, and Opportunities
Tags: automation, ai, software, processes
Published: 2021-01-10 10:11:03

---
title: Automation and Artificial Intelligence in Software Engineering: Experiences, Challenges, and Opportunities
published: true
description: This article is about Automation and Artificial Intelligence in Software Engineering: Experiences, Challenges, and Opportunities. It represents a paper published at a highly ranked HAWAII INTERNATIONAL CONFERENCE ON SYSTEM SCIENCES (HICSS).
tags: automation,ai,software,processes
cover_image: https://www.milanlatinovic.com/wp-content/uploads/2021/01/Automation-and-Artificial-Intelligence-in-Software-Engineering_-Experiences-Challenges-and-Opportunities.png
canonical_url: https://www.milanlatinovic.com/automation-and-artificial-intelligence-in-software-engineering/
---

<!-- wp:paragraph -->
<p>This article is about Automation and Artificial Intelligence in Software Engineering: Experiences, Challenges, and Opportunities. It represents a paper published at a highly ranked HAWAII INTERNATIONAL CONFERENCE ON SYSTEM SCIENCES (<a href="https://hicss.hawaii.edu/" rel="nofollow">HICSS</a>).</p>
<!-- /wp:paragraph -->

<p>This paper was written with great help and supervision of <a href="https://www.staff.tugraz.at/viktoria.pammer-schindler/">prof. Viktoria Pammer-Schindler.</a></p>

<!-- wp:paragraph -->
<p>Given article and paper might be relevant for you as well.</p>
<!-- /wp:paragraph -->

<!-- wp:list -->
<ul><li>Firstly, you might be the owner of a software development company thinking about improving your business processes. </li><li>Secondly, you might a researcher engaging in these topics and searching for relevant literature and references. </li><li>Maybe you are an investor thinking about engaging in this disruptive domain. </li><li>Finally, you might be a software developer curious about how your peers are doing development, what challenges, issues, and opportunities they have.</li></ul>
<!-- /wp:list -->

<!-- wp:paragraph -->
<p>If any of these cases apply to you, you should read this article together with the paper which is presented here.</p>
<!-- /wp:paragraph -->

<!-- wp:heading -->
<h2>Quick overview of Automation and Artificial Intelligence in Software Engineering</h2>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>If you don't have time to read through the whole article and paper, I made an up-to-point video presentation that gives you all the needed insights. Afterward, if you want more details <a href="https://scholarspace.manoa.hawaii.edu/handle/10125/70628" rel="nofollow">you can read the official paper here.</a></p>
<!-- /wp:paragraph -->

<!-- wp:embed {"url":"https://www.youtube.com/watch?v=w5rbi0gZKg0","type":"video","providerNameSlug":"youtube","responsive":true,"className":"wp-embed-aspect-16-9 wp-has-aspect-ratio"} -->
<figure class="wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio"><div class="wp-block-embed__wrapper">
https://www.youtube.com/watch?v=w5rbi0gZKg0
</div></figure>
<!-- /wp:embed -->

<!-- wp:heading -->
<h2>Transformative influence of the Automation and Artificial Intelligence</h2>
<!-- /wp:heading -->

<!-- wp:heading -->
<h2>What Is our research about?</h2>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>Automation and artificial intelligence have a transformative influence on many sectors.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>For example:</p>
<!-- /wp:paragraph -->

<!-- wp:list -->
<ul><li>Firstly, increased automation and deployment of data analytics and Artificial Intelligence has been coined Industry 4.0 or smart manufacturing</li><li>Secondly, in medicine - machine-learning computer-aided detection and automated diagnosis in radiology</li><li>Finally, auto-encoder neural networks can help financial auditors identify unusual journal entries in an audit context</li></ul>
<!-- /wp:list -->

<!-- wp:paragraph -->
<p>We understand automation as a set of computational tools executing domain activities, based initially on conditional logic.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>For Artificial Intelligence, we understand a broad range of technologies and technological capabilities based on processing natural language, audio, images, and video; formal representations of knowledge and automated reasoning; and machine learning.</p>
<!-- /wp:paragraph -->

<!-- wp:heading {"level":3} -->
<h3>What are the important questions?</h3>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>So, from previous examples, we can clearly recognize that Automation and Artificial Intelligence have a transformative influence on many sectors. </p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>We recognize Software engineers as the actors who engineer this transformation.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>However, there is little knowledge of how automation and Artificial Intelligence impact them, meaning software engineering practice. We approached this problem with two research questions, presented on this slide.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>First one, aiming to understand the current practice. So, we are asking: </p>
<!-- /wp:paragraph -->

<!-- wp:quote -->
<blockquote class="wp-block-quote"><p>What are approaches for automation and Artificial Intelligence enabled tools and practices adopted by interviewed software engineers?</p></blockquote>
<!-- /wp:quote -->

<!-- wp:paragraph -->
<p>The second one, aiming to understand the attitudes, hopes, and concerns of software engineers.<br>Here, our question is:</p>
<!-- /wp:paragraph -->

<!-- wp:quote -->
<blockquote class="wp-block-quote"><p>What are approaches for automation and Artificial Intelligence enabled tools and practices adopted by interviewed software engineers? The second one, aiming to understand the attitudes, hopes, and concerns of software engineers.</p></blockquote>
<!-- /wp:quote -->

<!-- wp:heading {"level":3} -->
<h3>What kind of research we did?</h3>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>In the early stage of our research, we were thinking about which approach to take. For finding answers to our questions we decided to conduct qualitative research, based on semi-structured interviews.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>We wanted an opportunity to listen and take notes first and then discuss.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>We did this by means of screen share, typing quasi-verbatim notes and sharing them with participants, so we can discuss, validate and agree on those.&nbsp;</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Our questions started from common questions to get to know our participants better:</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>What is their job? What their company does?</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Then, we wanted to know more about their environment. What did they automate in software engineering and in their work?</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>We were curious if they have automated something them selves.&nbsp;</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>We also wanted to know who initiated automation in their company.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Finally, we asked if and how is Artificial Intelligence fitting in their activities.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Once we gathered data, next step was analysis.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Here, we did inductive and reflexive thematic analysis.</p>
<!-- /wp:paragraph -->

<!-- wp:list -->
<ul><li>Inductive means: Reading through notes. Identifying a priori unknown patterns in the described experiences of our interviewees</li><li>Reflexive means: Describing and summarizing the experiences of interviewees. We developed themes during the data analysis. </li></ul>
<!-- /wp:list -->

<!-- wp:paragraph -->
<p>These themes, compared with the literature overview provided answers to our questions, but also triggered additional discussion topics.</p>
<!-- /wp:paragraph -->

<!-- wp:heading {"level":3} -->
<h3>Who we interviewed?</h3>
<!-- /wp:heading -->

<!-- wp:image {"id":15425,"sizeSlug":"large","linkDestination":"none"} -->
<figure class="wp-block-image size-large"><img src="https://www.milanlatinovic.com/wp-content/uploads/2021/01/image.png" alt="List of software practitioners we interviewed - Automation and Artificial Intelligence in Software Engineering" class="wp-image-15425"/></figure>
<!-- /wp:image -->

<!-- wp:paragraph -->
<p>Related to interview participants' profiles. We interviewed experienced software practitioners across frontend, backend development, DevOps, R&amp;D, and integration.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Diversity in gender and age,  sector (industry or academia), industry domain (Software as a Service - SaaS, logistics, networking, software security, semiconductors, automotive, industrial automation, or computer hardware), professional position, and technology stack (ongoing experience with various technologies). </p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>We recruited participants online through the Linked-In network and in-person within corporate environments and conferences. </p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Some participants recommended others for interview as well.</p>
<!-- /wp:paragraph -->

<!-- wp:heading -->
<h2>What were our results? What did we find out about Automation and Artificial Intelligence in Software Engineering?</h2>
<!-- /wp:heading -->

<!-- wp:heading {"level":3} -->
<h3>commonly automated activities, tools, and challenges in software engineering</h3>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>One of the first things we recognized, even during interviews, was enthusiasm toward automation.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Software practitioners have common activities they need to automate:</p>
<!-- /wp:paragraph -->

<!-- wp:list -->
<ul><li>Environment configuration - for example, new developer setting up a machine (one script vs days of configuring and installation tutorials)</li><li>Static code checking - recognizing is code syntax is good, dead code, obvious bugs, bad coding practices, also known as a code smell. These things are closely related to <a href="https://www.milanlatinovic.com/code-review-good-bad-ugly/">code review best practices</a>.</li><li>Especially, testing - running tests automatically when a new code is sent to the server.</li><li>Literature also states that Artificial Intelligence is helpful for <a href="https://www.milanlatinovic.com/writing-technical-specifications-estimates/">writing technical specifications and estimates</a>.</li></ul>
<!-- /wp:list -->

<!-- wp:paragraph -->
<p>Developers use different tools and approaches to accomplish same automation goals.</p>
<!-- /wp:paragraph -->

<!-- wp:heading -->
<h2>Process bridging with micro-automation</h2>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>Automation and Artificial Intelligence in Software Engineering in software development might appear in different processes.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Each process is set of steps that initially has to be done manually.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>When developers have large number of manual steps, mistakes can happen and some steps can be forgotten.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Also, if steps are happening between different environments and systems, this can be time consuming.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>This is why developers are writing micro automations to make their work easier.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Micro automation is usually implemented in form of custom scripts, automatic configurations, development helpers, testing optimizations, and so on.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>In the given example developers want to make a backup on a specific server, and as a result, he needs backup hash.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>He triggers script on server, which has automated backup procedure.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>This procedure is connected with team chat where backup hash is delivered.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>There are multiple benefits from this automation.</p>
<!-- /wp:paragraph -->

<!-- wp:list -->
<ul><li>The developer does not have to do the backup manually.</li><li>Hash is saved in team chat where everyone can see and use it</li><li>Everyone is aware that backup activity is happening and there is a clear history of backup actions.</li></ul>
<!-- /wp:list -->

<!-- wp:heading {"level":3} -->
<h3>Automation of software engineering as a bottom-up driven side product of operative activity</h3>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>One of our most interesting findings is that the automation of software engineering is bottom-up driven.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Meaning, our participants reported that top-level management was not the one who initiated automation.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Also, automation is usually side affect or bonus activity, but rarely the goal itself.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>One of our candidates compared automation with defensive player in football.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Meaning, everyone knows that automation is important but there is no immediate cache returns out of it.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Most of our participants reported automation as quick solutions tailored to a specific context and need.</p>
<!-- /wp:paragraph -->

<!-- wp:heading {"level":3} -->
<h3>Automation and effects on work efficiency</h3>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>Our participants also reported different effect of automation on their work efficiency.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>What we need to understand here is that automation is usually a black box for person who uses it.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Automation does something for software developers but they want to be informed about it.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Still, not all automated tools are good at this.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>We had reports of automated tools which were sending large number of notifications.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>This required software developers to constantly get distracted, check or double-check some things they already know.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Sometimes, automation would send lots of data that is not useful or, at least, not structured in a useful way.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Our biggest takeaway from this is this.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Automation should communicate with software developers, but by providing good data with good context, if needed and when needed.</p>
<!-- /wp:paragraph -->

<!-- wp:heading {"level":3} -->
<h3>Unclear impact of Artificial Intelligence on the future of SW engineering practice</h3>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>When it comes to Artificial Intelligence and impact on software engineering, results are unclear.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Our interview participants have not reported AI-enabled tools that are substantially changing their work.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>When we asked them how they feel about AI as a helping tool or as a teammate, their responses were mixed.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Most of them were enthusiastic about having AI as a helping tool.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>However, they did not see AI as an independent, final decision maker.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Let us make an example for this.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Having a smart coding assistant which recognizes issues and offers solution and advice is AI-helping tool.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Our participants would like to have tool like this.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>AI-tool can also implement solution and deploy it to server, without consulting developer.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>This is something our participants were not so enthusiastic about.</p>
<!-- /wp:paragraph -->

<!-- wp:heading -->
<h2>What do we make of these findings?</h2>
<!-- /wp:heading -->

<!-- wp:heading {"level":3} -->
<h3>Bottom-up and Micro-Automation</h3>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>Our research provided several interesting results. In the paper, we provided our interpretation of these results, also taking into consideration the existing literature review. This resulted in different discussion topics. </p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>For example: How are bottom-up automation and micro-automation linked?&nbsp;</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Is it possible that bottom up nature of automation leads to micro-automation.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>This would make sense because is it not likely that a bottom-up perspective can result in a scalable solution that is implemented across a complete organization.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>It simply might not have complete perception, motivation or required resources to do so.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>On the other hand, we ask our selves what is causing automation to have this bottom-up nature?</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Is the because of the nature of software engineering? Maybe because software engineers know how to automate they simply do it, but only within their area of work, without scaling it.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Finally, how to evaluate the socio-technical effect of automation? How to calculate the cost-benefit of automation?</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>We find these very interesting discussions with both theoretical and practical implications.</p>
<!-- /wp:paragraph -->

<!-- wp:heading {"level":3} -->
<h3>Future of AI-driven applications</h3>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>Our interviewees were enthusiastic about AI-enhanced tools but skeptical about “AI being in a driver’s seat” and making decisions. Also, in literature research, we recognized different AI-driven applications.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>For example, code error prediction, error localization to help developers write code, and assistance in effort estimation, to help project managers define efforts based on different algorithms.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>We asked our participants what they think about these applications.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Answers were different, but the constant was enthusiasm toward AI-enhanced tools but skepticism toward AI-driven tools. This is something that requires careful interpretation.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>We must take into considerations that <strong>our participants were NOT AI experts.</strong></p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Still, maybe software engineers do not seriously engage in thinking about how is their profession affected by Artificial Intelligence?</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>On the other hand, maybe software engineering is moving toward the <strong>“skill diversity phase”.</strong> This would divide software developers between users and architects. Users would do programming supported by AI, while architects would create AI-enhanced and AI-driven tools.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>These are all very interesting topics, where additional research should be conducted. </p>
<!-- /wp:paragraph -->