《凱捷:2024重新定義軟件工程:生成式AI的影響研究報告(英文版)(14頁).pdf》由會員分享,可在線閱讀,更多相關《凱捷:2024重新定義軟件工程:生成式AI的影響研究報告(英文版)(14頁).pdf(14頁珍藏版)》請在三個皮匠報告上搜索。
1、Redefining software engineeringThe impact of generative AI 2Redefining software engineering:The impact of generative AI2Redefining software engineering:The impact of generative AISoftware plays a critical role in modern business,whether its integrated into enterprise apps or innovative products.Desp
2、ite its ubiquity,the ultimate challenge for software engineering organizations has always been to release quality software fast enough to keep up with constantly accelerating demand.Over the years,productivity and quality standards have been progressively enhanced through the adoption of new methods
3、 and technologies.Agile and continuous product-centric approaches,automation,open-source ecosystems,cloud native and composable software architectures,DevOps,and low code/no code development have all been introduced.And each has built on the advances of past iterations.But demand for quicker time-to
4、-value and better cost efficiency is only accelerating.This leaves software organizations struggling to deliver at the expected pace,with the expected quality,while controlling technical debt and costs.Industry focus has been intent on identifying the next significant step change.2Redefining softwar
5、e engineering:The impact of generative AI3Redefining software engineering:The impact of generative AI3Redefining software engineering:The impact of generative AIGenerative AI is software engineerings latest and greatest evolutionGenerative AI now stirs wonder and excitement across many application f
6、ields,not least software engineering.Bill Gates is calling its latest advancement the most revolutionary technological achievement in over 40 years,1 with the potential to dramatically improve the way organizations meet business and IT challenges.The intersection of business and technology will be a
7、t the heart of generative AIs impact.Developments on one side will inevitably influence the other.For example,better software engineering can open doors to more automated routine tasks,such as data entry and document processing,giving leading organizations both a software and business-oriented edge.
8、Our latest Capgemini Research Institute report shows that 61%of organizations see enabling more innovative work,such as developing new software features and services,as the leading benefit generative AI.Close behind are improving software quality(49%)and increasing productivity(40%).Organizations ar
9、e utilizing these productivity gains on innovative work such as developing new software features(50%)and upskilling(47%).Very few aim to reduce headcount(4%).2 According to a 2023 Capgemini Research Institute survey across 800 organizations,67%of executives see the most potential for generative AI i
10、n the IT function to drive innovation and create value.2 Moreover,according to Forrester research,“Off-the-shelf and custom AI software spend will double from$33 billion in 2021 to$64 billion in 2025 and will grow 50%faster than the overall software market,with an annual growth rate of 18%.”3Applyin
11、g generative AI to software engineering significantly assists software teams in the multitude of tasks they perform across the traditional software development life cycle(SDLC).From business needs analysis and writing agile user stories to software design,coding,(retro)documentation,packaging,deploy
12、ment,testing,and monitoring.In both legacy software modernization and new software development contexts,generative AI gives back time to software engineers.They are freed up to focus on business demand,software quality,security,and the advanced features required by new software.Generative AI will su
13、pplement bandwidth-using the same capacity-for higher productivity and efficiency,along with faster time to market.But only if organizations and their employees commit to getting on board,keeping in mind that early adopters will take a leading position in the field.In addition,Generative AI presents
14、 an opportunity,not only to transform,but also to standardize and enhance the delivery of digital projects.The benefits brought by using generative AI in software engineering can be reused to create more value,reduce IT costs,and minimize technical debt.Generative AI also has a positive impact on so
15、ftware professionals job satisfaction.69%of senior software professionals and 55%of junior software professionals report high levels of satisfaction from using generative AI for software.78%of software professionals are optimistic about generative AIs potential to enhance collaboration between busin
16、ess and technology teams.51 https:/ 2 Capgemini Research Institute“Turbocharging software”,June 2024 2 Capgemini Research Institute“Generative AI in Organizations”,July 20233 Global AI Software Forecast,Forrester Research,Inc.September 29th,2022 5 Capgemini Research Institute“Turbocharging software”
17、,June 20244Redefining software engineering:The impact of generative AI4Redefining software engineering:The impact of generative AI(DevOps)Software LifecyclePotential application areas of generative AI in the SDLCIndustrialized Software Engineering PlatformAgile Process Management/ALM Developer workp
18、lace(IDE)DevOps automation Tests automation Generative AI foundationsBacklog and roadmap planningTeam communication and collaborationProcess facilitation(plannings,retrospective,burndown,etc.)(Agile)Product Teams/(Waterfall)Development Teams Product value stream performance recommendations.Test Case
19、 generationTest Data setsTestIncidents resolutionOperateTickets assistanceReleaseRelease notesBuildSoftware packages DesignSoftware refactoringSoftware architectureUX/UI designBusinessdemandBusiness demand/requirement Use case modelingUser stories generationReverse engineeringCodingmodernization(mig
20、ration,conversion,etc.)Coding assistance(code generation,completion)Unit tests generationCode explanationCode documentationCode vulnerabilitiesMonitorPlatform provisioning Exploring generative AIs potential across the software development life cycleAs cited in our research,Generative AI has the pote
21、ntial to yield benefits across the SDLC.It can be integrated at any stage from business needs analysis and writing agile user stories to software design,coding,documentation,packaging,deployment,testing,and augmenting the work of software engineers and helping increase efficiency,improve quality,and
22、 enhance job satisfaction.44 Capgemini Research Institute“Turbocharging software”,June 2024 5Redefining software engineering:The impact of generative AI5Redefining software engineering:The impact of generative AICapgemini is experimenting with multiple at-scale use cases,in real world contexts.The a
23、im is to see where and how generative AI can augment the many tasks software teams typically perform.Here is a look at some important areas for generative AI integration:Assisting business demand analysis:from epics to features to user stories Business analysts add value by interacting with business
24、 stakeholders,such as product owners and business users.Generative AI and large language models(LLMs)are instrumental in helping them both understand business needs and turn them into actionable user stories.For example,by identifying and resolving inconsistencies or ambiguities in business needs.By
25、 prioritizing those needs and creating a roadmap for their implementation.By effectively communicating them to stakeholders,while spotting patterns and trends in their analysis.And by supporting the generation of natural language descriptions of epics,features,and user stories.Accelerating software
26、design and codingSoftware engineers use generative AI when transforming backlog stories into software,through design and coding activities.Generative AI can be harnessed to create design outputs such as UI mock-ups,entity models,and microservice APIs.This can lead to a significant productivity impro
27、vement without compromising quality,as design outputs are always reviewed,updated,and validated by software engineers or technology leads.Although adoption of generative AI for software engineering is still in its early stages with 9 in 10 organizations yet to scale,27%of organizations are running g
28、enerative AI pilots,and 11%have started leveraging generative AI in their software function.Generative AI is expected to play a key role in augmenting software workforce with better experience,tools and platforms,and governance,assisting in more than 25%of software design,development,and testing wor
29、k by 2026.5 Generative AI is also poised to redefine conventional programming practices by shifting the focus from coding to prompt engineering and code proofreading.Andrej Karpathy,an OpenAI computer scientist,recently said:“the hottest new programming language is English.”6 As an example,using pla
30、in language,software engineers can describe the intended functionality of a software feature,then review,update,and validate the generated output.There are many other examples,such as auto-completion of code,generating code for unit testing,(retro)documentation,and code migration from one language t
31、o another.5 Capgemini Research Institute“Turbocharging software”,June 20246 https:/ software engineering:The impact of generative AI6Redefining software engineering:The impact of generative AIDevelopers value generative AI because it already supports them during coding.It can either suggest clean co
32、de directly or evaluate existing code to improve software quality if it finds issues.Making the build easierGenerative AI can assist software engineers in developing packages more easily,automating release notes,and building infrastructure as code.Improving testing Simple errors are not the only cau
33、se of software deficiencies.Often,subpar software quality can be traced back to the testing phase,where the test cases and/or related test data sets fail to include the full spectrum of possible user inputs and scenarios.Generative AI can assist developers in writing more complete test cases,in whic
34、h user stories serve as prompt engineering context for maximum relevance.Generative AI not only helps search,manage,and maintain test data,while detecting and solving security vulnerabilities.It can also generate a massive amount of synthetic information that closely resembles real world data to ens
35、ure tests cover a broader range of use cases.According to Gartner by 2025,20%of all test data will be synthetically generated.7 However,the adoption of most use cases is at a nascent stage,and few organizations are implementing or piloting them.Coding assistance,the highest adopted use case,is at 39
36、%,while test case generation stands at 26%.Globally less than one in four organizations are focusing on any use case on average.Lessons learnedOur current experimentations cover multiple technology combinations across two dimensions.First,vendor packaged solutions that include generative AI extensio
37、ns to developer tools and environments.And second,foundational LLMs with advanced techniques for contextualized prompt engineering.In the case of vendor packaged solutions,we establish expertise in complementing LLMs with an organizations specific knowledge.We use techniques such as retrieval augmen
38、ted generation or fine tuning,which considers existing epics and user stories,as well as industry/business domain documentation,public and/or internal design patterns,coding guidelines,and templates.To tap the full potential of an LLM,developers must acquire the skill and practice of good prompt eng
39、ineering,which requires proper training,playbooks,and prompt libraries.7 Gartner Inc:“Gartner Identifies Three Technology Trends Gaining Traction in Banking and Investment Services in 2022”,May 24,2022.7Redefining software engineering:The impact of generative AI7Redefining software engineering:The i
40、mpact of generative AIBringing tomorrows software engineering paradigm into view:augmented software teamsWe believe generative AI will gradually transform the way software is developed.The advent of LLMs has introduced a compelling rationale for a paradigm shift to more AI-assisted(augmented)softwar
41、e teams.The integration of generative AI into software engineering offers the promise of significantly elevated productivity and enhanced quality.The foundational principles and methods of Agile and DevOps are retained,including collaboration,adaptability,time to value,product centricity,continuous
42、feedback loops.By working in concert with AI assistants powered by LLMs,augmented software teams can automate mundane tasks,expedite debugging,and promote more nuanced,data driven decision making.This optimizes the software life cycle and helps to achieve more milestones along the way.We call this a
43、pproach conversational software engineering.This is where software teams“talk”to the AI assistant,asking it to generate snippets of code,troubleshoot issues,or even help design the architecture of software.The idea is to make the software engineering workflow more dynamic and interactive,through con
44、tinuous conversations with the AI assistant in the development environment.Its a way to streamline tasks and solve problems more efficiently,enabling software teams to focus on more complex and creative aspects that boost overall productivity.Software teamAugmented software teamTeam/Tech leadsLead|A
45、dvise|ValidateTeam/Tech leadsLead|Advise|ValidateGen AI SWE assistant Pair with AISoftware engineers/business analystsDev to Ops activitiesSoftware engineers/business analystsDev to Ops activitiesPrompt|Completion|ValidationSoftware teamSoftware teamAssistance available at any software stepMore prod
46、uctivity and quality in software engineeringMore availability on business require-ments,design and team managementMore availability on business+design activitiesIndustrialized software engineering platformEnriched with generative AI assistantsHow generative AI is impacting software teams 8Redefining
47、 software engineering:The impact of generative AI8Redefining software engineering:The impact of generative AIThe modern evolution of pair programming with generative AI Augmented software teams can effectively benefit from and optimize usage of generative AI through a revised organization and new wa
48、ys of working,guided by the following principles:Augmented pair programming:The basic unit of an augmented software team is one or multiple pairs of software engineers working intermittently with each other or individually with the AI assistant.AI-human collaboration:Team members work individually w
49、ith the AI assistant to automate repetitive tasks,understand and solve problems,or brainstorm ideas,leveraging an LLMs speed and knowledge,while ensuring human creativity.Human-human collaboration:After conversations with an AI assistant,humans review the generated output and enhance its quality.Sen
50、ior coordination:A senior lead oversees the augmented team,coordinating efforts and resolving conflicts,while ensuring control and validation to promote a smooth workflow and healthy team dynamic.Of course,organizations need to prepare for generative AI use by delivering technology prerequisites,bui
51、lding a repository of platforms and tools for a seamless and augmented software engineering experience.According to Capgemini Research Institute,the biggest gap in essential prerequisites is usually access to platforms and tools,including IDEs,automation and testing tools,and collaboration tools.Onl
52、y 27%of organizations claim to have above-average availability of these.Of testing domain professionals,24%say they have access to these tools,compared to 19%of project and program management professionals,further highlighting gaps within the software engineering function.88 Capgemini Research Insti
53、tute“Turbocharging software”,June 20249Redefining software engineering:The impact of generative AI9Redefining software engineering:The impact of generative AIMismanaged AI integration:risks and consequences Organizations that neglect to harness the power of generative AI to transform their software
54、engineering paradigm will relegate their business to the rear ranks in terms of market standards.But there is undoubtedly a right and wrong approach to implement the technology.And the wrong approach can be just as debilitating as a defiant anti-AI stance.Both will deliver a devastating blow to an o
55、rganizations chances of basic survival in todays dynamic software landscape.Here are some scenarios that might unfold if organizations choose a strategy lacking the necessary precautions:1.Falling behind market standards.Organizations will see a decline in productivity,quality,and business agility c
56、ompared to the market.They will struggle to keep pace with competitors who have successfully adopted a plan that combines human intelligence with technological innovation.2.Shadow IT threat.Developers,and even business users,might resort to using unvetted generative AI tools,leading to a shadow IT p
57、henomenon.This poses a substantial hazard as it could compromise intellectual property,resulting in the inadvertent leakage of confidential data.In turn,this harms the trust customers have in the organization.3.Uncontrolled costs.Ineffective management of generative AI use could lead to spiraling co
58、sts that can negate the automation and efficiency gains.4.Risk management challenges.Organizations may find themselves ill-equipped to manage the multifaceted risks associated with generative AI,including legal,intellectual property,cybersecurity,and ethical concerns.This could expose the business t
59、o litigation and reputational damage.5.Employee concerns.An absence of official communication regarding the organizations stance on generative AI and the future roles of its software engineers also brings risk.This could lead to employees voicing their legitimate fears and concerns across the organi
60、zation.Or simply leaving the company for a competitor with a more transparent generative AI view.6.Talent attraction.During recruitment interviews,the best software engineers ask whether they will benefit from generative AI tools.A company with no plans for the technology may miss out on highly skil
61、led candidates.7.Loss of sustainability objectives.Since the rising carbon footprint of AI systems is a real concern,neglecting sustainability considerations could result in long term environmental and societal repercussions.As an example,lets consider the scenario of employees using unvetted genera
62、tive AI tools.According to Capgemini Research Institute,only 27%and 32%of organizations have the platforms and tools,and talent prerequisites in place,respectively,to implement generative AI for software engineering.Over 60%lack governance and upskilling programs for generative AI for software.As a
63、result,of those software professionals who use generative AI,63%use unauthorized tools and solutions.Nearly a third of the workforce is self-training on generative AI for software as only 40%of the organizations are upskilling employees on these skills.This is an extremely high risk.Using unauthoriz
64、ed tools without proper governance and oversight exposes organizations to functional,security and legal risks like hallucinated code,code leakage and IP issues.9 9 Capgemini Research Institute“Turbocharging software”,June 2024 10Redefining software engineering:The impact of generative AI10Redefining
65、 software engineering:The impact of generative AIA structured strategy for a software engineering transformationTo start this journey with generative AI,organizations will reap huge benefits from partnering with an experienced and trusted advisor.In addition to having considerable AI expertise,this
66、partner should be ready to oversee pilots and form collaborative project teams that eventually flourish into joint software houses.A variety of factors,such as company size,staffing pyramid,and industry-specific goals,mean that each organizational unit progresses at a different pace and with a diffe
67、rent model.Therefore,each will have distinct needs and challenges to consider before generative AI can become a part of daily operations.Organizations should reflect on the following:10Redefining software engineering:The impact of generative AI11Redefining software engineering:The impact of generati
68、ve AI11Redefining software engineering:The impact of generative AI10 Capgemini Research Institute“Turbocharging software”,June 2024 1.Assess the organizations maturity and develop a roadmap with clear objectivesWithin a company,there is usually not only one SDLC,but many.Typically,every program,proj
69、ect,and product has its own SDLC.A meticulous assessment and deep understanding of the SLDC of an IT domain will reveal the current maturity of its software engineering processes.And whether they align with industry best practices.The evaluation will also identify areas for improvement,particularly
70、where bottlenecks or inefficiencies occur.Based on this assessment,objectives can be defined by selecting the most promising transformation enablers,as well as identifying their associated risks and challenges.Some enablers will be powered by generative AI while,for others,it will be more a matter o
71、f applying software engineering best practices.Its important to define key metrics to measure the outcomes of the future transformation and involve stakeholders early to foster a collaborative environment.Finally,a comprehensive value,accessibility,and risk analysis will serve as a basis for establi
72、shing a roadmap for change.All options will be weighted and prioritized to make informed decisions about resource allocation as different domains,teams,and roles are defined for each option.2.Run pilots/projects and measure the impact of generative AIWith the priorities set,its time to select the be
73、st generative AI tools to achieve them.And put up guardrails to manage any legal and cybersecurity risks,while controlling costs.Measurement and continuous improvement will be pivotal.As generative AI is inserted into more SDLC processes,organizations need to gauge its impact.This means measuring cr
74、itical aspects such as productivity enhancements,software quality,time-to-market,and developer experience.A feedback loop should be put in place so the pace and scope of the deployment can be adapted to account for inefficiencies.Or respond to evolving needs and specific objectives.But to be truly c
75、ompetitive,organizations need more than internal measurement.At Capgemini,we have developed an industrialized value measurement protocol that evaluates the objective impact of generative AI across an organizations many SDLCs.It is used to measure and compare an organizations metrics against our benc
76、hmark,which factors in all our related internal and external generative AI projects.This gives organizations a clear view of how they stack up against their peers.To put this into perspective,75%of organizations with more than$20 billion of annual revenue have adopted(piloted or scaled)generative AI
77、,compared to 23%of their smaller counterparts,with an annual revenue between$1-5 billion.1012Redefining software engineering:The impact of generative AIMeasuring and benchmarking generative AIs impact at scale There are two questions we hear most often in the software industry.First,how will generat
78、ive AI-based assistance affect software productivity and quality?And,second,how will software teams organization and ways of working change because of it?At the beginning of 2023,Capgemini started a large-scale global program to experiment with use cases and measure generative AIs impact through pil
79、ots,both internally and jointly with clients.We deployed a reliable and consistent measurement protocol and now we are progressively consolidating our pilot results into a repository for internal and external usage/benchmarking.Our unique and proven protocol measures generative AIs real-world impact
80、 for various use cases and technologies across the SDLC.The aim is to uncover how productivity,quality,security,time-to-market,and developer experience have changed because of generative AI.A typical pilot includes one to multiple teams,for a minimum duration of six sprints,but preferably nine,with
81、a significant and representative backlog of user stories and complexity mix to work with.We can implement different team configurations:Existing teams transition to using generative AI.New teams start without generative AI then later integrate it into their workflows.Shadow teams work alongside exis
82、ting teams,using generative AI to perform the same tasks.All setups can include different variations in terms of structure and seniority mix.And in all cases,a solid baselining is a fundamental prerequisite.This enables robust and representative comparisons,reports,and insights across different metr
83、ics:1.Velocity:aggregated(team),per story complexity,per developer expertise2.Quality:quality indexes,code duplicates and smells,code efficiency,unit test coverage3.Security:vulnerabilities and potential risks4.Time-to-market:from a change in the software code to its release in production5.Developer
84、 experience:assessed through comprehensive surveysOur pilots are delivering quantified results for coding,design,and business analysis use cases.We have seen significant productivity improvements,with better-than-expected quality and security,for both junior and senior developers tackling complex an
85、d very complex user stories.We are learning,documenting,and packaging best practices for generative AI adoption through various technologies and architecture solutions,prompt engineering handbooks,and prompt libraries.We are also discovering proven and applicable augmented software team patterns for
86、 a conversational software engineering model that will make organizations perform more efficiently.First results from internal and client pilots are progressively confirming a range of 10%-30%workload gains across the whole life cycle for custom software development,without degrading software qualit
87、y neither security,with potential peaks of 20%to 40%specifically for coding phases.13Redefining software engineering:The impact of generative AI13Redefining software engineering:The impact of generative AIAs a global leader in software engineering,Capgemini has a proven history of advising clients o
88、n how to elevate what is possible.Always with human creativity accenting machine efficiency.Weve orchestrated many step changes in this industry,and none has stirred as much excitement and innovative promise as generative AI.Its a giant leap forward that has fundamentally changed the way software is
89、 created.Embracing generative AI is not merely a choice,but a strategic imperative.It is predicted that 70%of professional developers will be using the technology by 2027.11 And so the faster organizations get this transition gets underway,the further ahead of the competition they will be.Ultimately
90、,the question is whether they will be an early adopter and transform at scale,leading the way.Or a late bloomer,playing catch-up.Although the path to full adoption of generative AI may seem daunting,its essential that organizations harness its unprecedented transformative power now.Are you ready to
91、reshape your software engineering?The dawning of a new era 3.Deploy generative AI at scaleAfter experimenting with generative AI through real world pilots and projects,many organizations will want to broaden their applications and possibly involve hundreds or even thousands of developers.For such la
92、rge deployments,careful consideration must be given to the organizational and HR implications.Since various roles,including business analysts,software architects and engineers,and software testers may need to change,its important to introduce a generative AI upskilling program.This will help shape t
93、he new software engineering pyramid and lay the foundation for a strategic plan that gradually integrates generative AI into the different stages of the software life cycle.A further step may be to offer coaching and assistance to steer employees as they prepare to work alongside a host of new gener
94、ative AI tools.Finally,a dedicated team,or value realization office,should be set up to define business cases,measure progress,and ensure the outcomes meet expectations.This is essential,as the pace and scope of each deployment will invariably need adjustment.11 https:/ 2024 Capgemini.All rights res
95、erved.About CapgeminiCapgemini is a global business and technology transformation partner,helping organizations to accelerate their dual transition to a digital and sustainable world,while creating tangible impact for enterprises and society.It isa responsible and diverse group of 340,000 team membe
96、rs in more than 50 countries.With its strong over 55-year heritage,Capgemini is trusted by its clients to unlock the value of technology to address the entire breadth of their business needs.It delivers end-to-end services and solutions leveraging strengths from strategyand design to engineering,all
97、 fueled by its market leading capabilities in AI,cloud and data,combined with itsdeep industry expertise and partner ecosystem.The Group reported 2023 global revenues of 22.5 For more information on Capgeminis Generative AI for Software Engineering offer,visit: Glever Global Head of C&CA,CapgeminiArnaud Balssa Global Head of Business Technology,Capgemini Invent Stephane Girard CTO,Global C&CA,Capgemini Thilo Hermann Deputy CTO,Global C&CA,CapgeminiSerge Baccou Offer Leader Cloud&Generative AI,Capgemini Invent Lorna Neville Marketing Director,Global C&CA,Capgemini