US20210208864A1 - Maintenance of fast-changing software applications - Google Patents
Maintenance of fast-changing software applications Download PDFInfo
- Publication number
- US20210208864A1 US20210208864A1 US16/732,808 US202016732808A US2021208864A1 US 20210208864 A1 US20210208864 A1 US 20210208864A1 US 202016732808 A US202016732808 A US 202016732808A US 2021208864 A1 US2021208864 A1 US 2021208864A1
- Authority
- US
- United States
- Prior art keywords
- change
- code artifact
- code
- template
- developer
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/65—Updates
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/70—Software maintenance or management
- G06F8/71—Version control; Configuration management
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/70—Software maintenance or management
- G06F8/73—Program documentation
Abstract
An approach is provided in which the approach analyzes a set of code artifact changes from historical updates of a software application. The approach determines that a first code artifact and a second code artifact change in tandem and generates a change template based on the set of code artifact changes. The approach uses the change template to update the software application in response to receiving a request to apply the change template to the software application.
Description
- Low code development platforms are contributing to unprecedented fast-paced software application releases and updates. Low code development platforms, such as Decision Management Systems (DMS), automate time-consuming manual processes and use a visual integrated development environment (IDE) and automation that connects to a backend and application lifestyle management system. A Business Rules Management System (BRMS) is one type of DMS where business users update business rules to implement and deploy changes to the business logic.
- Other factors that contribute to fast-paced software application releases and updates are a move towards new, non-monolithic architecture models such as microservices architectures. Microservices architectures involve designing applications as a suite of independently deployable, small, modular services referred to as “microservices.” Each microservice executes a unique process and communicates through a well-defined, lightweight mechanism to serve a business goal using communication protocols. Microservices architectures have become a preferred way of developing software systems that operate in cloud-based environments.
- According to one embodiment of the present disclosure, an approach is provided in which the approach analyzes a set of code artifact changes from historical updates of a software application. The approach determines that a first code artifact and a second code artifact change in tandem and generates a change template based on the set of code artifact changes. The approach uses the change template to update the software application in response to receiving a request to apply the change template to the software application.
- The foregoing is a summary and thus contains, by necessity, simplifications, generalizations, and omissions of detail; consequently, those skilled in the art will appreciate that the summary is illustrative only and is not intended to be in any way limiting. Other aspects, inventive features, and advantages of the present disclosure, as defined solely by the claims, will become apparent in the non-limiting detailed description set forth below.
- The present disclosure may be better understood, and its numerous objects, features, and advantages made apparent to those skilled in the art by referencing the accompanying drawings, wherein:
-
FIG. 1 is a block diagram of a data processing system in which the methods described herein can be implemented; -
FIG. 2 provides an extension of the information handling system environment shown inFIG. 1 to illustrate that the methods described herein can be performed on a wide variety of information handling systems which operate in a networked environment; -
FIG. 3 is an exemplary diagram depicting a computer system that generates change templates based on historical code modifications and provides the change templates to a developer to guide the developer in future code changes; -
FIG. 4 is an exemplary diagram depicting a recurring feedback loop that generates change templates based on historical source code changes and utilizes the change templates as guidance to generate new software code releases and updates; -
FIG. 5 is an exemplary flowchart showing steps taken to generate a change template; -
FIG. 6 is an exemplary flowchart showing steps taken in using a change template to assist a developer in generating a software application update; and -
FIG. 7 is an exemplary diagram of a change template generated by the approach discussed herein. - The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the disclosure. As used herein, the singular forms “a”, “an” and “the” are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms “comprises” and/or “comprising,” when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
- The corresponding structures, materials, acts, and equivalents of all means or step plus function elements in the claims below are intended to include any structure, material, or act for performing the function in combination with other claimed elements as specifically claimed. The description of the present disclosure has been presented for purposes of illustration and description, but is not intended to be exhaustive or limited to the disclosure in the form disclosed. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the disclosure. The embodiment was chosen and described in order to best explain the principles of the disclosure and the practical application, and to enable others of ordinary skill in the art to understand the disclosure for various embodiments with various modifications as are suited to the particular use contemplated.
- The present invention may be a system, a method, and/or a computer program product at any possible technical detail level of integration. The computer program product may include a computer readable storage medium (or media) having computer readable program instructions thereon for causing a processor to carry out aspects of the present invention.
- The computer readable storage medium can be a tangible device that can retain and store instructions for use by an instruction execution device. The computer readable storage medium may be, for example, but is not limited to, an electronic storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing. A non-exhaustive list of more specific examples of the computer readable storage medium includes the following: a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), a static random access memory (SRAM), a portable compact disc read-only memory (CD-ROM), a digital versatile disk (DVD), a memory stick, a floppy disk, a mechanically encoded device such as punch-cards or raised structures in a groove having instructions recorded thereon, and any suitable combination of the foregoing. A computer readable storage medium, as used herein, is not to be construed as being transitory signals per se, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through a waveguide or other transmission media (e.g., light pulses passing through a fiber-optic cable), or electrical signals transmitted through a wire.
- Computer readable program instructions described herein can be downloaded to respective computing/processing devices from a computer readable storage medium or to an external computer or external storage device via a network, for example, the Internet, a local area network, a wide area network and/or a wireless network. The network may comprise copper transmission cables, optical transmission fibers, wireless transmission, routers, firewalls, switches, gateway computers and/or edge servers. A network adapter card or network interface in each computing/processing device receives computer readable program instructions from the network and forwards the computer readable program instructions for storage in a computer readable storage medium within the respective computing/processing device.
- Computer readable program instructions for carrying out operations of the present invention may be assembler instructions, instruction-set-architecture (ISA) instructions, machine instructions, machine dependent instructions, microcode, firmware instructions, state-setting data, configuration data for integrated circuitry, or either source code or object code written in any combination of one or more programming languages, including an object oriented programming language such as Smalltalk, C++, or the like, and procedural programming languages, such as the “C” programming language or similar programming languages. The computer readable program instructions may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the latter scenario, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet Service Provider). In some embodiments, electronic circuitry including, for example, programmable logic circuitry, field-programmable gate arrays (FPGA), or programmable logic arrays (PLA) may execute the computer readable program instructions by utilizing state information of the computer readable program instructions to personalize the electronic circuitry, in order to perform aspects of the present invention.
- Aspects of the present invention are described herein with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer readable program instructions.
- These computer readable program instructions may be provided to a processor of a computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks. These computer readable program instructions may also be stored in a computer readable storage medium that can direct a computer, a programmable data processing apparatus, and/or other devices to function in a particular manner, such that the computer readable storage medium having instructions stored therein comprises an article of manufacture including instructions which implement aspects of the function/act specified in the flowchart and/or block diagram block or blocks.
- The computer readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device to cause a series of operational steps to be performed on the computer, other programmable apparatus or other device to produce a computer implemented process, such that the instructions which execute on the computer, other programmable apparatus, or other device implement the functions/acts specified in the flowchart and/or block diagram block or blocks.
- The flowchart and block diagrams in the Figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of instructions, which comprises one or more executable instructions for implementing the specified logical function(s). In some alternative implementations, the functions noted in the blocks may occur out of the order noted in the Figures. For example, two blocks shown in succession may, in fact, be accomplished as one step, executed concurrently, substantially concurrently, in a partially or wholly temporally overlapping manner, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems that perform the specified functions or acts or carry out combinations of special purpose hardware and computer instructions. The following detailed description will generally follow the summary of the disclosure, as set forth above, further explaining and expanding the definitions of the various aspects and embodiments of the disclosure as necessary.
-
FIG. 1 illustratesinformation handling system 100, which is a simplified example of a computer system capable of performing the computing operations described herein.Information handling system 100 includes one ormore processors 110 coupled toprocessor interface bus 112.Processor interface bus 112 connectsprocessors 110 to Northbridge 115, which is also known as the Memory Controller Hub (MCH). Northbridge 115 connects tosystem memory 120 and provides a means for processor(s) 110 to access the system memory.Graphics controller 125 also connects to Northbridge 115. In one embodiment, Peripheral Component Interconnect (PCI) Expressbus 118 connects Northbridge 115 tographics controller 125.Graphics controller 125 connects todisplay device 130, such as a computer monitor. - Northbridge 115 and Southbridge 135 connect to each other using
bus 119. In some embodiments, the bus is a Direct Media Interface (DMI) bus that transfers data at high speeds in each direction between Northbridge 115 and Southbridge 135. In some embodiments, a PCI bus connects the Northbridge and the Southbridge.Southbridge 135, also known as the Input/Output (I/O) Controller Hub (ICH) is a chip that generally implements capabilities that operate at slower speeds than the capabilities provided by the Northbridge.Southbridge 135 typically provides various busses used to connect various components. These busses include, for example, PCI and PCI Express busses, an ISA bus, a System Management Bus (SMBus or SMB), and/or a Low Pin Count (LPC) bus. The LPC bus often connects low-bandwidth devices, such asboot ROM 196 and “legacy” I/O devices (using a “super I/O” chip). The “legacy” I/O devices (198) can include, for example, serial and parallel ports, keyboard, mouse, and/or a floppy disk controller. Other components often included inSouthbridge 135 include a Direct Memory Access (DMA) controller, a Programmable Interrupt Controller (PIC), and a storage device controller, which connectsSouthbridge 135 tononvolatile storage device 185, such as a hard disk drive, usingbus 184. -
ExpressCard 155 is a slot that connects hot-pluggable devices to the information handling system.ExpressCard 155 supports both PCI Express and Universal Serial Bus (USB) connectivity as it connects toSouthbridge 135 using both the USB and the PCI Express bus.Southbridge 135 includesUSB Controller 140 that provides USB connectivity to devices that connect to the USB. These devices include webcam (camera) 150, infrared (IR)receiver 148, keyboard andtrackpad 144, andBluetooth device 146, which provides for wireless personal area networks (PANs).USB Controller 140 also provides USB connectivity to other miscellaneous USB connecteddevices 142, such as a mouse, removablenonvolatile storage device 145, modems, network cards, Integrated Services Digital Network (ISDN) connectors, fax, printers, USB hubs, and many other types of USB connected devices. While removablenonvolatile storage device 145 is shown as a USB-connected device, removablenonvolatile storage device 145 could be connected using a different interface, such as a Firewire interface, etcetera. - Wireless Local Area Network (LAN)
device 175 connects to Southbridge 135 via the PCI orPCI Express bus 172.LAN device 175 typically implements one of the Institute of Electrical and Electronic Engineers (IEEE) 802.11 standards of over-the-air modulation techniques that all use the same protocol to wirelessly communicate betweeninformation handling system 100 and another computer system or device.Optical storage device 190 connects toSouthbridge 135 using Serial Analog Telephone Adapter (ATA) (SATA)bus 188. Serial ATA adapters and devices communicate over a high-speed serial link. The Serial ATA bus also connectsSouthbridge 135 to other forms of storage devices, such as hard disk drives.Audio circuitry 160, such as a sound card, connects toSouthbridge 135 viabus 158.Audio circuitry 160 also provides functionality associated with audio hardware such as audio line-in and optical digital audio inport 162, optical digital output andheadphone jack 164,internal speakers 166, andinternal microphone 168.Ethernet controller 170 connects toSouthbridge 135 using a bus, such as the PCI or PCI Express bus.Ethernet controller 170 connectsinformation handling system 100 to a computer network, such as a Local Area Network (LAN), the Internet, and other public and private computer networks. - While
FIG. 1 shows one information handling system, an information handling system may take many forms. For example, an information handling system may take the form of a desktop, server, portable, laptop, notebook, or other form factor computer or data processing system. In addition, an information handling system may take other form factors such as a personal digital assistant (PDA), a gaming device, Automated Teller Machine (ATM), a portable telephone device, a communication device or other devices that include a processor and memory. -
FIG. 2 provides an extension of the information handling system environment shown inFIG. 1 to illustrate that the methods described herein can be performed on a wide variety of information handling systems that operate in a networked environment. Types of information handling systems range from small handheld devices, such as handheld computer/mobile telephone 210 to large mainframe systems, such asmainframe computer 270. Examples ofhandheld computer 210 include personal digital assistants (PDAs), personal entertainment devices, such as Moving Picture Experts Group Layer-3 Audio (MP3) players, portable televisions, and compact disc players. Other examples of information handling systems include pen, or tablet,computer 220, laptop, or notebook,computer 230,workstation 240,personal computer system 250, andserver 260. Other types of information handling systems that are not individually shown inFIG. 2 are represented byinformation handling system 280. As shown, the various information handling systems can be networked together usingcomputer network 200. Types of computer network that can be used to interconnect the various information handling systems include Local Area Networks (LANs), Wireless Local Area Networks (WLANs), the Internet, the Public Switched Telephone Network (PSTN), other wireless networks, and any other network topology that can be used to interconnect the information handling systems. Many of the information handling systems include nonvolatile data stores, such as hard drives and/or nonvolatile memory. The embodiment of the information handling system shown inFIG. 2 includes separate nonvolatile data stores (more specifically,server 260 utilizesnonvolatile data store 265,mainframe computer 270 utilizesnonvolatile data store 275, andinformation handling system 280 utilizes nonvolatile data store 285). The nonvolatile data store can be a component that is external to the various information handling systems or can be internal to one of the information handling systems. In addition, removablenonvolatile storage device 145 can be shared among two or more information handling systems using various techniques, such as connecting the removablenonvolatile storage device 145 to a USB port or other connector of the information handling systems. - As discussed above, modern software solutions contribute to unprecedented fast-paced software application releases. A challenge found in large, fast-paced software application updates is that their software releases typically include encapsulated code updates with multiple changes in different areas of the software update that include undetected software bugs. In addition, large software application updates may fail to update one or more code artifacts that should change as part of a business change, which in turn results in further software bugs.
-
FIGS. 3 through 7 depict an approach that can be executed on an information handling system that assists software developers in completing software application maintenance updates by deriving business change patterns from previous code releases and applying the business change patterns to new software application updates. After a number of software update releases are deployed, the approach evaluates the composition of prior releases and determines which code artifacts have changed. The approach then uses unsupervised Machine Learning (ML) on the code artifact changes to determine clusters of artifacts that change in tandem (change sets). In one embodiment, the ML algorithm is applied at a level of individual code artifacts to locate where and how a region of the code should be updated. Each change set represents a set of operations to perform together to achieve a meaningful update to the software solution. The approach inspects, fine-tunes, and labels the change sets to generate a change template from the change sets. - Various user roles are then able to use the change templates when initiating a new release. For example, project managers use the change templates as detailed development plans for accurate workload estimates, durations, etc. In another example, developers use the change templates as a guide for implementing code updates. In yet another example, testers use the change templates as a guide to create or update test scenarios.
- In one embodiment, the approach focuses on early phases of a software update process (coding, testing code) instead of focusing on latter phases of the software update process (building application, merging code). In this embodiment, the approach learns common change sets that assist the developer during code changes and testing activities instead of assisting the developer during the code release activities.
-
FIG. 3 is an exemplary diagram depicting a computer system that generates change templates based on historical code modifications and provides the change templates to a developer to guide the developer during future code changes.Computer system 300 includes change analyzer and cluster engine 320, which evaluates existing application releases in source code control system (SCCS)store 330 to determine code artifact change sets in each release. In one embodiment,SCCS store 330 is part of a version control system designed to track changes in source code and other text files during software development. Change analyzer and cluster engine 320 then applies an unsupervised machine learning (ML) algorithm to the code artifact changes to determine clusters of code artifacts that change in tandem, referred to herein as “change sets” (seeFIG. 5 and corresponding text for further details). - In one embodiment,
template generator 340 provides the change sets todeveloper 310 for review. In turn,template generator 340 receives input fromdeveloper 310 and refines the change sets based on the received input to generate change templates. In one embodiment, the change templates are high-level code maintenance operations (seeFIG. 7 and corresponding text for further details).Template generator 340 stores the change templates in change templates store 350 for use bydeveloper 310 during software application updates as discussed below. - In one embodiment, for each code artifact in a change template,
template generator 340 analyzes the changes from release to release to determine commonalities, such as identifying the same code statements being modified or the same values being changed from release to release. Whentemplate generator 340 identifies the same values being changed from release to release,template generator 340 may enrich a change template based on analyzing the value's gradient of change between updates. For example,template generator 340 may detect that an integer value in a script always increases from one release to the next release. In this example,template generator 340 enriches the change template to capture the increasing gradient. - In another embodiment, for software platforms where code entities have a small granularity, such as rules in a decision management platform,
template generator 340 defines templates as operational configuration files that enforce constraints on code artifact editors (e.g. only a certain statement in the rule can be changed or the value in a statement can only take a value that is larger than the current value). - When
developer 310 begins an update to a software solution,developer 310 usessoftware update engine 360 to select applicable templates fromchange templates store 350.Developer 310 then opens the selected templates and sends an acknowledgment to run the templates withsoftware update engine 360.Software update engine 360 proceeds through prescribed template changes in context of the code artifacts and allowsdeveloper 310 to apply prescribed code statement changes, enter new values, etc. (seeFIG. 6 and corresponding text for further details). For example, the changes may entail a complex code update that spans multiple code artifacts that are frequently exercised. - In one embodiment, during template selection,
computer system 300 implements a template categorization approach (e.g., templates applying to pricing change, templates applying to eligibility change, etc. . . . ). In this embodiment,computer system 300 associates (annotates) tags to templates for quick retrieval (e.g., #pricing #texas) and/or leverages NLU (natural language understanding). In this embodiment,developer 310 indicates a change requirement in a natural language andcomputer system 300 matches concepts and keywords from the change requirement against the template tags to extract a relevant subset of the templates from change templates store 350 to provide todeveloper 310. -
FIG. 4 is an exemplary diagram depicting a recurring feedback loop that generates change templates based on historical source code changes and utilizes the change templates as guidance to generate new software code releases and updates.Computer system 300 uses data mining and machine learning to identify typical changes that are recurrently applied to an application, creates a catalog of instrumented change set templates, and assistsdeveloper 310 in applying the change set templates to new software application updates. -
Stages computer system 300 automates discovery of commonly applied change sets and determines types of applicable changes to guidedeveloper 310's coding and testing activities. Atstage 400,computer system 300 analyzes software content inSCCS store 330. Then, atstage 410,computer system 300 automatically creates change templates based on the analysis fromstage 400.Developer 310, in one embodiment, provides input atstage 420 and the change templates are stored inchange templates store 350. -
Stages developer 310 in new software development and updates. In one embodiment,computer system 300assists developer 310 early in the development process and in a prescriptive way instead of waiting to use the change sets to assistdeveloper 310 in merging changes after the changes have been coded. Atstage 430,developer 310 searches change templates store 350 for applicable templates to apply todeveloper 310's software update. - At
stage 440,computer system 300 provides the selected change templates todeveloper 310 to assistdeveloper 310 in new software developments and updates. In turn, the new software developments and updates are stored inSCCS 330, whichcomputer system 300 further evaluates to refine and generate new change templates (stages FIG. 4 is event-driven where the event trigger is a new release that starts atstage 430 and ends atstage 420. In this embodiment, an organization may decouplestages stages -
FIG. 5 is an exemplary flowchart showing steps taken to generate a change template.FIG. 5 processing commences at 500 whereupon, atstep 510, the process evaluates content of existing application releases that are available in Source Code Control System (SCCS)store 330 and determines the code artifact changes for each release (which code artifacts have changed). In one embodiment, a change is characterized by 3 aspects: (i) the code artifact on which a change has been observed from a source code control point of view (e.g., the file that contains the code); (ii) the type of change that is performed (add, delete, edit); and (iii) meaningful syntactic blocks where the change occurred (e.g., a declared statement such as a method that encapsulates the statements that changed, an inner class that is added, a class constant, etc.). For example, in a rule-based system, a change is a condition part and/or an action part of a rule that has changed. Referring toFIG. 7 , a code artifact change example is an edit to an “initReversalTable”method 755 in a file that implements an “OptionsValidator”class 750, such as an OptionsValidator.java file in the case of a Java implementation. - In one embodiment, if a change is described by a triplet <Code artifact, Type of change, Declared name>,
template generator 340 generates the example inFIG. 7 from three detected changes: -
- <TransactionEngine, edit method, normalizeVendorResponse>
- <TransactionEngine, add method>
- <OptionValidator, edit method, initReversalTable>
- At step 520, in one embodiment, the process applies an unsupervised machine learning (ML) algorithm on the code artifact changes to determine clusters of code artifacts that change in tandem, referred to herein as change sets. For example, when a number of vendors are on-boarded throughout successive releases of a software application, the process applies a clustering algorithm on the changes from the successive releases and generates the cluster of the three changes shown above.
- At
step 530, in one embodiment, the process refines the change sets based on input (change set updates) fromdeveloper 310 and labels the change sets as high-level code maintenance operations, referred to herein as change templates. For example,developer 310 may review the content of a change set and determine that some of the changes may not be required and others may be missing. In turn,developer 310 documents the changes to perform and adds pertinent details to guide a future user of the template (seeFIG. 7 ,reference numerals - At
step 540, the process selects the first change template and, atstep 550, for each code artifact in the selected change template, the process analyzes the changes between code releases to determine a commonality (e.g., the same code statements being modified, the same value that is changed, etc.). Atstep 560, the process enriches the selected change template based on the determined commonality (e.g., analyzing the gradient of change in the value). For example, referring toFIG. 7 's initReversalTable 755 change, a new statement is added for each release that involves a vendor on-boarding and the code statements are similar in nature, such as: -
- In release n: reversalOptionTable.put(vendA, true);
- In release m: reversalOptionTable.put(vendB, true);
- In release p: reversalOptionTable.put(vendC, false);
- In this example, the process determines that the common change to make is of the form reversalOptionTable.put(<vendor-id>, <reversal-value>). In turn, the process adds the templatized/generalized statement to the template.
- In a gradient example, a change set increases a maximum transaction amount involving a constant MAX_TRANSACTION_AMOUNT and in successive releases, the process observes the following changes:
-
- In release a: double MAX_TX_AMOUNT=125000.00;
- In release b: double MAX_TX_AMOUNT=128000.00; and
- In release c: double MAX_TX_AMOUNT=133000.00.
- In this example, the process detects that the pattern of change for the value increases with each new release. As such, the process adds a directive (comment) to the template to change the current value to a higher value. In one embodiment,
software update engine 360prompts developer 310 for a new value for MAX_TX_AMOUNT and validates that the value provided is higher than the current value. - At
step 570, the process stores the enriched change template in change templates store 350 for further use bydeveloper 310 during code updates and/or new code generation (seeFIG. 6 and corresponding text for further details). - The process determines as to whether there are more change templates to analyze and enrich (decision 580). If there are more change templates to analyze and enrich, then
decision 580 branches to the ‘yes’ branch which loops back to step 540 to select and process the next change template. This looping continues until there are no more change templates to analyze and enrich, at whichpoint decision 580 branches to the ‘no’ branch exiting the loop.FIG. 5 processing thereafter ends at 595. -
FIG. 6 is an exemplary flowchart showing steps taken in using a change template to assistdeveloper 310 in generating a software application update.FIG. 6 processing commences at 600 whereupon, atstep 610, the process receives a request fromdeveloper 310 to update a software application. Atstep 620, the process identifies change templates that correspond to software solution update that, as discussed above, are identified using template categorization. - At
step 630, the process provides the identified change templates todeveloper 310 to informdeveloper 310 which code artifacts should be changed, locations in the code where the code artifacts should be changed, and how the code artifacts should be changed (seeFIG. 7 and corresponding text for further details). - At
step 640, the process receives code changes and an acknowledgement fromdeveloper 310 to apply the change template to the software application solution. The process proceeds through prescribed template changes in context of the code artifacts and allowsdeveloper 310 to apply prescribed code statement changes, enter new values, etc. to the software application solution. Atstep 650, the process adjusts the change templates based on the received developer changes if applicable. In one embodiment, the adjustment of the change template does not necessarily immediately follow the use of the change template. Referring toFIG. 4 , once the templates are applied to assist implementing the release (440), the templates adjustment is performed by thesequence FIG. 6 processing thereafter ends at 695. -
FIG. 7 is an exemplary diagram of a change template generated by the approach discussed herein.Onboard vendor template 700 groups all the change steps that are required to perform a meaningful code update. In one embodiment, change steps are segmented by code artifacts (e.g. code for a given class in Java) and changes are further segmented by entities in the code artifact, such as segmented by methods in the Java class. -
Template 700 includes two classes “TransactionEngine” 710 and “OptionsValidator” 750 thatcomputer system 300 determined were historically changing in tandem based on using an unsupervised machine learning clustering algorithm on code artifact changes as discussed herein.Template 700 shows that, by analyzing successive changes in theTransactionEngine class 710,computer system 300 determined thatmethod normalizeVendorResponse 720 changed and amethod 735 was added. As such,template 700 includesinstruction 725 withcode 730 andinstruction 740 withcode 745 to assistdeveloper 310 in the software application update. - Similarly,
template 700 shows that, by analyzing successive changes in the “OptionsValidator”class 750,computer system 300 determined that method “initRevsersalTable” 755 changed. As such,template 700 includesinstruction 760 withcode 770 to assistdeveloper 310 in the software application update. - While particular embodiments of the present disclosure have been shown and described, it will be obvious to those skilled in the art that, based upon the teachings herein, that changes and modifications may be made without departing from this disclosure and its broader aspects. Therefore, the appended claims are to encompass within their scope all such changes and modifications as are within the true spirit and scope of this disclosure. Furthermore, it is to be understood that the disclosure is solely defined by the appended claims. It will be understood by those with skill in the art that if a specific number of an introduced claim element is intended, such intent will be explicitly recited in the claim, and in the absence of such recitation no such limitation is present. For non-limiting example, as an aid to understanding, the following appended claims contain usage of the introductory phrases “at least one” and “one or more” to introduce claim elements. However, the use of such phrases should not be construed to imply that the introduction of a claim element by the indefinite articles “a” or “an” limits any particular claim containing such introduced claim element to disclosures containing only one such element, even when the same claim includes the introductory phrases “one or more” or “at least one” and indefinite articles such as “a” or “an”; the same holds true for the use in the claims of definite articles.
Claims (20)
1. A method comprising:
determining that a first code artifact and a second code artifact change in tandem in response to analyzing a set of code artifact changes corresponding to a plurality of historical updates of a software application, wherein the software application comprises the first code artifact and the second code artifact;
in response to the determination, generating a change template based on the set of code artifact changes, wherein the change template comprises the first code artifact and the second code artifact; and
using the change template to update the software application in response to receiving a request to apply the change template to the software application.
2. The method of claim 1 wherein the generating of the change template further comprises:
applying an unsupervised machine learning (ML) algorithm to the set of code artifact changes;
grouping the set of code artifact changes into one or more change sets in response to applying the unsupervised machine learning (ML) algorithm to the set of code artifact changes;
in response to providing the one or more change sets to a developer, receiving a set of change set updates from the developer; and
refining the one or more change sets based on the set of change set updates.
3. The method of claim 2 further comprising:
analyzing the refined one or more change sets to determine a commonality between the first code artifact and the second code artifact; and
enriching the change template based on the determined commonality.
4. The method of 3 further comprising:
detecting that the commonality is a change in an integer value during the historical updates; and
integrating the change in the integer value into the change template.
5. The method of claim 1 further comprising:
annotating the change template with a set of keyword tags; and
storing the annotated change template in a storage area comprising a plurality of annotated change templates.
6. The method of claim 5 further comprising:
extracting a set of keywords from the request sent by a developer; and
selecting the annotated change template from the plurality of annotated change templates in response to matching the extracted set of keywords to the set of keyword tags.
7. The method of claim 1 further comprising:
receiving a set of developer changes in response to providing the change template to a developer;
applying the set of developer changes during the updating of the software application; and
modifying the change template based on the set of developer changes.
8. An information handling system comprising:
one or more processors;
a memory coupled to at least one of the processors;
a set of computer program instructions stored in the memory and executed by at least one of the processors in order to perform actions of:
determining that a first code artifact and a second code artifact change in tandem in response to analyzing a set of code artifact changes corresponding to a plurality of historical updates of a software application, wherein the software application comprises the first code artifact and the second code artifact;
in response to the determination, generating a change template based on the set of code artifact changes, wherein the change template comprises the first code artifact and the second code artifact; and
using the change template to update the software application in response to receiving a request to apply the change template to the software application.
9. The information handling system of claim 8 wherein the processors perform additional actions comprising:
applying an unsupervised machine learning (ML) algorithm to the set of code artifact changes;
grouping the set of code artifact changes into one or more change sets in response to applying the unsupervised machine learning (ML) algorithm to the set of code artifact changes;
in response to providing the one or more change sets to a developer, receiving a set of change set updates from the developer; and
refining the one or more change sets based on the set of change set updates.
10. The information handling system of claim 9 wherein the processors perform additional actions comprising:
analyzing the refined one or more change sets to determine a commonality between the first code artifact and the second code artifact; and
enriching the change template based on the determined commonality.
11. The information handling system of claim 10 wherein the processors perform additional actions comprising:
detecting that the commonality is a change in an integer value during the historical updates; and
integrating the change in the integer value into the change template.
12. The information handling system of claim 8 wherein the processors perform additional actions comprising:
annotating the change template with a set of keyword tags; and
storing the annotated change template in a storage area comprising a plurality of annotated change templates.
13. The information handling system of claim 12 wherein the processors perform additional actions comprising:
extracting a set of keywords from the request sent by a developer; and
selecting the annotated change template from the plurality of annotated change templates in response to matching the extracted set of keywords to the set of keyword tags.
14. The information handling system of claim 8 wherein the processors perform additional actions comprising:
receiving a set of developer changes in response to providing the change template to a developer;
applying the set of developer changes during the updating of the software application; and
modifying the change template based on the set of developer changes.
15. A computer program product stored in a computer readable storage medium, comprising computer program code that, when executed by an information handling system, causes the information handling system to perform actions comprising:
determining that a first code artifact and a second code artifact change in tandem in response to analyzing a set of code artifact changes corresponding to a plurality of historical updates of a software application, wherein the software application comprises the first code artifact and the second code artifact;
in response to the determination, generating a change template based on the set of code artifact changes, wherein the change template comprises the first code artifact and the second code artifact; and
using the change template to update the software application in response to receiving a request to apply the change template to the software application.
16. The computer program product of claim 15 wherein the information handling system performs further actions comprising:
applying an unsupervised machine learning (ML) algorithm to the set of code artifact changes;
grouping the set of code artifact changes into one or more change sets in response to applying the unsupervised machine learning (ML) algorithm to the set of code artifact changes;
in response to providing the one or more change sets to a developer, receiving a set of change set updates from the developer; and
refining the one or more change sets based on the set of change set updates.
17. The computer program product of claim 16 wherein the information handling system performs further actions comprising:
analyzing the refined one or more change sets to determine a commonality between the first code artifact and the second code artifact; and
enriching the change template based on the determined commonality.
18. The computer program product of claim 17 wherein the information handling system performs further actions comprising:
detecting that the commonality is a change in an integer value during the historical updates; and
integrating the change in the integer value into the change template.
19. The computer program product of claim 15 wherein the information handling system performs further actions comprising:
annotating the change template with a set of keyword tags; and
storing the annotated change template in a storage area comprising a plurality of annotated change templates.
20. The computer program product of claim 19 wherein the information handling system performs further actions comprising:
extracting a set of keywords from the request sent by a developer; and
selecting the annotated change template from the plurality of annotated change templates in response to matching the extracted set of keywords to the set of keyword tags.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US16/732,808 US11061662B1 (en) | 2020-01-02 | 2020-01-02 | Maintenance of fast-changing software applications |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US16/732,808 US11061662B1 (en) | 2020-01-02 | 2020-01-02 | Maintenance of fast-changing software applications |
Publications (2)
Publication Number | Publication Date |
---|---|
US20210208864A1 true US20210208864A1 (en) | 2021-07-08 |
US11061662B1 US11061662B1 (en) | 2021-07-13 |
Family
ID=76655154
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US16/732,808 Active 2040-01-09 US11061662B1 (en) | 2020-01-02 | 2020-01-02 | Maintenance of fast-changing software applications |
Country Status (1)
Country | Link |
---|---|
US (1) | US11061662B1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US11288056B1 (en) * | 2020-09-22 | 2022-03-29 | Dell Products L.P. | System and method for verifying hardware compliance |
Family Cites Families (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5860007A (en) | 1995-09-29 | 1999-01-12 | Siemens Corporate Research, Inc. | Automated software modification facilitator |
JP2001514776A (en) | 1997-02-27 | 2001-09-11 | シーベル システムズ,インコーポレイティド | A method of continuous level transport of software distribution incorporating local modifications. |
US6256773B1 (en) * | 1999-08-31 | 2001-07-03 | Accenture Llp | System, method and article of manufacture for configuration management in a development architecture framework |
US8209660B2 (en) * | 2004-03-15 | 2012-06-26 | Ramco Systems Limited | Model driven software |
US7908601B2 (en) | 2006-11-01 | 2011-03-15 | International Business Machines Corporation | Computer method and apparatus for merging software configurations when a change set spans multiple artifacts |
US20100023920A1 (en) * | 2008-07-22 | 2010-01-28 | International Business Machines Corporation | Intelligent job artifact set analyzer, optimizer and re-constructor |
US8321834B2 (en) * | 2008-09-25 | 2012-11-27 | International Business Machines Corporation | Framework for automatically merging customizations to structured code that has been refactored |
US8572566B2 (en) | 2010-05-11 | 2013-10-29 | Smartshift Gmbh | Systems and methods for analyzing changes in application code from a previous instance of the application code |
US8739150B2 (en) * | 2010-05-28 | 2014-05-27 | Smartshift Gmbh | Systems and methods for dynamically replacing code objects via conditional pattern templates |
US9021471B2 (en) | 2011-05-03 | 2015-04-28 | International Business Machines Corporation | Managing change-set delivery |
US9411575B2 (en) * | 2012-06-13 | 2016-08-09 | Ebay Enterprise, Inc. | Systems and methods for quality assurance automation |
US10346770B2 (en) * | 2013-07-19 | 2019-07-09 | Motio, Inc. | Supplemental system for business intelligence systems |
US9996804B2 (en) | 2015-04-10 | 2018-06-12 | Facebook, Inc. | Machine learning model tracking platform |
US10025692B2 (en) | 2015-08-06 | 2018-07-17 | Paypal, Inc. | Scalable continuous integration and delivery systems and methods |
US10838849B2 (en) | 2016-03-08 | 2020-11-17 | International Business Machines Corporation | Analyzing software test failures using natural language processing and machine learning |
US20190317760A1 (en) * | 2018-04-17 | 2019-10-17 | The Regents Of The University Of Michigan | Interactive And Dynamic Search Based Approach To Software Refactoring Recommendations |
-
2020
- 2020-01-02 US US16/732,808 patent/US11061662B1/en active Active
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US11288056B1 (en) * | 2020-09-22 | 2022-03-29 | Dell Products L.P. | System and method for verifying hardware compliance |
Also Published As
Publication number | Publication date |
---|---|
US11061662B1 (en) | 2021-07-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11429365B2 (en) | Systems and methods for automated retrofitting of customized code objects | |
US11157272B2 (en) | Automatic identification of appropriate code reviewers using machine learning | |
US20150007148A1 (en) | Identifying Test Cases Based on Changed Test Code | |
US9589049B1 (en) | Correcting natural language processing annotators in a question answering system | |
US11263113B2 (en) | Cloud application to automatically detect and solve issues in a set of code base changes using reinforcement learning and rule-based learning | |
US20160196204A1 (en) | Smart Validated Code Searching System | |
US9390374B2 (en) | Adaptive testing for answers in a question and answer system | |
US9311077B2 (en) | Identification of code changes using language syntax and changeset data | |
CN112148278A (en) | Visual block chain intelligent contract framework and intelligent contract development and deployment method | |
US20210182035A1 (en) | Rapid Code Compiling System | |
US11061662B1 (en) | Maintenance of fast-changing software applications | |
US11163548B2 (en) | Code registration to detect breaking API changes | |
US9916347B2 (en) | Rapid searching and matching of data to a dynamic set of signatures facilitating parallel processing and hardware acceleration | |
US9021426B2 (en) | Streamlining hardware initialization code | |
US11748246B2 (en) | Crowd-sourced QA with trusted compute model | |
CN115951916A (en) | Component processing method and device, electronic equipment and storage medium | |
US11847539B2 (en) | Deploy build blocks and analyze build bottleneck | |
Průcha | Aspect optimalization of robotic process automation | |
US11086829B2 (en) | Comparing schema definitions using sampling | |
US11656855B2 (en) | Identify, suggest, and auto-implement best practices for requirement specific software development | |
US11507353B1 (en) | Adapting pre-compiled eBPF programs at runtime for the host kernel by offset inference | |
US11055194B1 (en) | Estimating service cost of executing code | |
US20200236000A1 (en) | System and Method for Automated Cross-Application and Infrastructure Dependency Mapping | |
US20230315399A1 (en) | Instinctive Cipher Compilation and Implementation | |
US20150220310A1 (en) | Object field optimization |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
AS | Assignment |
Owner name: INTERNATIONAL BUSINESS MACHINES CORPORATION, NEW YORK Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNORS:BERLANDIER, PIERRE C.;BALASUBRAMANIAN, SWAMINATHAN;RAKSHIT, SARBAJIT K.;AND OTHERS;SIGNING DATES FROM 20190909 TO 20190918;REEL/FRAME:051402/0831 |
|
FEPP | Fee payment procedure |
Free format text: ENTITY STATUS SET TO UNDISCOUNTED (ORIGINAL EVENT CODE: BIG.); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY |
|
STCF | Information on status: patent grant |
Free format text: PATENTED CASE |