Development method and system of software development platform
By designing acquisition, dependency, impact analysis and feedback response modules in the software development platform, the problems of inefficient code change management and insufficient impact analysis capabilities in the existing technology are solved, and efficient, accurate management of code changes and timely evaluation of potential impacts are achieved.
Patent Information
- Application Number
- CN202411711343.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-27
- Publication Date
- 2025-03-28
- Estimated Expiration
- 2044-11-27
AI Technical Summary
Existing software development platforms are inefficient in code change management, prone to errors, and lack real-time and accurate impact analysis capabilities, resulting in developers that may ignore key dependencies and cause unexpected system problems.
Design a development system for a software development platform, including acquisition module, dependency module, impact analysis module and feedback response module. The acquisition module automatically extracts the change records in the code base, builds the dependency module and updates the dependency diagram in real time, affects the analysis module to calculate the impact range of the code changes, and matches the preset code impact evaluation threshold to generate a code change impact evaluation strategy plan.
It significantly improves the accuracy and efficiency of code changes, reduces the risk of human errors and missed modifications, promptly evaluates and responds to the potential impact of code changes, ensures the stability and consistency of the code base, and meets the needs of modern software development for efficiency and reliability.
Smart Images

Figure CN119718278A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of software development, and in particular to a development method and system for a software development platform. Background Art
[0002] In the field of software engineering, with the development of technology and the increase in demand, software development platforms have become an indispensable and important component. Specifically, software development platforms are designed to provide a series of tools and services to support various stages of the software development life cycle, including requirements analysis, design, coding, testing, deployment and maintenance. In these platforms, automated testing and code quality management are two key quality inspection links. By writing and executing automated test cases, code quality can be improved and system stability can be ensured.
[0003] Currently, many software development platforms have some significant shortcomings when managing code changes. First, existing change management systems often rely on the experience and manual analysis of developers, which is inefficient and error-prone. Second, although some tools can provide basic dependency analysis, they are usually unable to update and accurately prompt all affected modules in real time. Especially in large and complex projects, due to the lack of an effective impact analysis model, developers may ignore some key dependencies, causing unexpected system problems caused by code changes. In addition, existing systems rarely consider the impact of code changes on subclasses and referenced objects, which further limits their effectiveness in practical applications. At the same time, code changes that fail to consider the impact on subclasses and referenced objects may cause more extensive system problems and affect the stability and progress of the entire project. This lack of accurate and real-time impact analysis capabilities has seriously affected the efficiency and quality of the software development process. Summary of the invention
[0004] In view of the deficiencies in the prior art, the present invention provides a method and system for developing a software development platform, which solves the problems mentioned in the background technology.
[0005] To achieve the above objectives, the present invention is implemented through the following technical solutions: a development system of a software development platform, including a collection module, a dependency module, an impact analysis module and a feedback response module;
[0006] The acquisition module collects code change records in the code library, including newly added, modified and deleted codes, and simultaneously extracts parameters related to function, class, method, constant and object names in the changed codes, obtains code difference information through statistics and analysis, and forms a code change set ΔC;
[0007] The dependency module analyzes the dependencies in the code according to the code change set ΔC, constructs a dependency graph G, and updates the dependency graph G in real time according to the code change record;
[0008] The impact analysis module calculates the impact scope of the code change according to the dependency graph G, including the impact on the referenced objects and subclasses, and obtains the change impact index I of the code change unit. direct , and at the same time match it with the preset code impact assessment threshold D to obtain the code change impact assessment strategy plan;
[0009] The feedback response module is specifically executed according to the content of the code change impact assessment strategy solution, including updating data, updating the dependency graph G and prompting and notifying the developer.
[0010] Preferably, the acquisition module includes a trigger unit and an extraction unit;
[0011] The trigger unit triggers a collection operation when a code in the code base is changed, and collects code change records in the collection code base, including newly added, modified and deleted codes, including management, recording and triggering of code changes using Git and SVN;
[0012] The extraction unit simultaneously extracts parameters related to functions, classes, methods, constants and object names in the changed code to form a parameter change set P diff , synchronous statistics and analysis to obtain code difference information to obtain the changed version of the code set C new and older versions of Code Set C old , constituting the code change set ΔC.
[0013] Preferably, the code difference information includes newly added codes, modified codes, deleted codes and parameter changes;
[0014] The newly added code includes new classes, new methods, new constants, and new object names;
[0015] The modified code includes modified classes, modified methods, modified constants, and modified object names;
[0016] The deleted code includes deleted classes, deleted methods, deleted constants, and deleted object names;
[0017] Parameter changes include changed function parameters, changed class members, changed constant values, and changed object references.
[0018] Preferably, the dependency module includes a dependency analysis unit and a dependency update unit;
[0019] The dependency analysis unit analyzes the dependencies in the code according to the code change set ΔC, including the dependencies between classes, methods and object references, represents the extracted dependencies in the form of a dependency graph and a dependency tree, and constructs a dependency graph G, including code unit nodes and dependency edge sets, wherein the code unit nodes include class, method, constant and object names;
[0020] Among them, code analysis includes using JavaParser code parser and Clang code parser to parse the code and extract dependencies, including class dependencies, method calls, inheritance relationships, interface implementations, member variables, constant references, instantiations, and parameter passing.
[0021] Preferably, the dependency updating unit detects changes in the dependency graph, obtains a dependency change record set ΔE, marks a set of code units with code changes, and updates the dependency graph G in real time according to the code change records.
[0022] Preferably, the impact analysis module includes an impact calculation unit and an evaluation strategy unit;
[0023] The impact calculation unit calculates the impact scope of the code change according to the dependency graph G, including the impact on the referenced objects and subclasses, and obtains the change impact index I of the code change unit. direct .
[0024] Preferably, the assessment strategy unit matches preset relevant information with the required comparison value, including matching with a preset code impact assessment threshold D, to obtain a code change impact assessment strategy solution.
[0025] Preferably, the code change impact assessment strategy is obtained by the following matching method:
[0026] When the change impact index I direct <Code impact assessment threshold D, obtain the risk-free assessment result of the code change impact, and do not prompt or notify the code change developer;
[0027] When the change impact index I direct ≥Code impact assessment threshold D, obtain the risk assessment results of code changes, and prompt and notify the code change developers;
[0028] When the change impact index I direct When the code impact assessment threshold D is ≥ twice, the code change impact warning assessment result is obtained, and the code change developer is given a warning prompt and warning notification, and the developer is marked at the same time.
[0029] Preferably, the feedback response module is specifically executed according to the content of the code change impact assessment strategy solution, including updating data, updating the dependency graph G and prompting and notifying the developer;
[0030] Wherein, updating the dependency graph G includes modifying, adding and deleting the dependency relationship, and the dependency relationship specifically includes class A increasing its dependency on class C, and updating the dependency graph G to add a dependency edge of (A, C);
[0031] Prompt notifications to developers include notifying relevant developers of the code change impact assessment strategy plan content in real time, prompting the impact of the changes that need to be handled, and recording the developer's handling results and change processing status.
[0032] A method for developing a software development platform comprises the following steps:
[0033] Step 1: The collection module collects code change records in the code base, including newly added, modified, and deleted codes, and simultaneously extracts the function, class, method, constant, and object name-related parameters in the changed code, obtains code difference information through statistics and analysis, and forms a code change set ΔC;
[0034] Step 2: The dependency module analyzes the dependencies in the code according to the code change set ΔC, builds a dependency graph G, and updates the dependency graph G in real time according to the code change record;
[0035] Step 3: The impact analysis module calculates the impact scope of the code change based on the dependency graph G, including the impact on referenced objects and subclasses, and obtains the change impact index I of the code change unit. direct , and at the same time match it with the preset code impact assessment threshold D to obtain the code change impact assessment strategy plan;
[0036] Step 4: The feedback response module performs specific actions according to the code change impact assessment strategy plan, including updating data, updating the dependency graph G, and notifying developers.
[0037] The present invention provides a method and system for developing a software development platform, which has the following beneficial effects:
[0038] (1) When the system is running, the acquisition module can automatically extract the change records in the code base, analyze the relevant parameters such as functions, classes, methods, constants and object names in the code changes in detail, and form a code change set ΔC. The dependency module further constructs and updates the dependency graph G in real time to accurately display the dependencies within the code. The impact analysis module uses the dependency graph G to calculate the impact scope of the code change, evaluate the impact of the change on the referenced objects and subclasses, and generate the change impact index I direct and matches it with the preset code impact assessment threshold D to formulate a code change impact assessment strategy. The feedback response module updates the data and dependency graph G in a timely manner according to the assessment strategy, and notifies the developer of relevant changes, significantly improving the accuracy and efficiency of code changes, reducing the risk of human errors and omissions, and can also timely evaluate and respond to the potential impact of code changes to ensure the stability and consistency of the code base. Compared with traditional manual management and assessment methods, it can better meet the needs of modern software development for efficiency and reliability, and greatly solve the problems of dependency disorder and uncontrollable change impact caused by code changes in the traditional development process.
[0039] (2) The trigger unit automatically starts the collection operation when the code base changes, is compatible with version control tools such as Git and SVN, and records the code changes that are added, modified, and deleted. The extraction unit further extracts relevant parameters such as function, class, method, constant, and object names in the changed code to form a parameter change set P diff , and statistically analyze the new version code set C new and the old version code set C old , forming a complete set of code changes, through detailed code difference information, including accurate records of additions, modifications, deletions and parameter changes, it can timely capture and analyze the impact of code changes.
[0040] (3) By acquiring the code change impact assessment strategy, accurate dependency analysis and risk assessment of code changes are achieved. The dependency module uses JavaParser and Clang code parsers to build and update the dependency graph G in real time, and comprehensively captures the dependency changes between code units through dependency analysis units and dependency update units. The impact analysis module calculates the change impact index I of the code change unit. direct , and matches it with the preset code impact assessment threshold D to generate the corresponding change impact assessment strategy plan. The multi-level risk assessment and notification mechanism not only solves the unforeseen risk problems caused by complex dependencies in traditional code change management, but also greatly reduces the possibility of errors and system failures caused by changes, and improves the security and reliability of the software development process. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] Figure 1 A schematic diagram of a development system block diagram of a software development platform of the present invention;
[0042] Figure 2 The present invention is a schematic diagram of the steps of a method for developing a software development platform. DETAILED DESCRIPTION
[0043] The technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.
[0044] Example 1
[0045] The present invention provides a development system for a software development platform, see Figure 1 , including acquisition module, dependency module, impact analysis module and feedback response module;
[0046] The acquisition module collects code change records in the code library, including newly added, modified and deleted codes, and simultaneously extracts parameters related to function, class, method, constant and object names in the changed codes, obtains code difference information through statistics and analysis, and forms a code change set ΔC;
[0047] The dependency module analyzes the dependencies in the code according to the code change set ΔC, constructs a dependency graph G, and updates the dependency graph G in real time according to the code change record;
[0048] The impact analysis module calculates the impact scope of the code change according to the dependency graph G, including the impact on the referenced objects and subclasses, and obtains the change impact index I of the code change unit. direct , and at the same time match it with the preset code impact assessment threshold D to obtain the code change impact assessment strategy plan;
[0049] The feedback response module is specifically executed according to the content of the code change impact assessment strategy solution, including updating data, updating the dependency graph G and prompting and notifying the developer.
[0050] In this embodiment, the acquisition module can automatically extract the change records in the code base, analyze the relevant parameters such as functions, classes, methods, constants and object names in the code changes in detail, and form a code change set ΔC. The dependency module further constructs and updates the dependency graph G in real time to accurately display the dependencies within the code. The impact analysis module uses the dependency graph G to calculate the impact range of the code change, evaluate the impact of the change on the referenced objects and subclasses, and generate the change impact index I direct and matches it with the preset code impact assessment threshold D to formulate a code change impact assessment strategy. The feedback response module updates the data and dependency graph G in a timely manner according to the assessment strategy, and notifies the developer of relevant changes, significantly improving the accuracy and efficiency of code changes, reducing the risk of human errors and omissions, and can also timely evaluate and respond to the potential impact of code changes to ensure the stability and consistency of the code base. Compared with traditional manual management and assessment methods, it can better meet the needs of modern software development for efficiency and reliability, and greatly solve the problems of dependency disorder and uncontrollable change impact caused by code changes in the traditional development process.
[0051] Example 2
[0052] This embodiment is explained in Example 1, please refer to Figure 1 ,Specifically: the acquisition module includes a trigger unit and an extraction unit;
[0053] The trigger unit triggers a collection operation when a code in the code base is changed, and collects code change records in the collection code base, including newly added, modified and deleted codes, including management, recording and triggering of code changes using Git and SVN;
[0054] The extraction unit simultaneously extracts parameters related to functions, classes, methods, constants and object names in the changed code to form a parameter change set P diff , synchronous statistics and analysis to obtain code difference information to obtain the changed version of the code set C new and older versions of Code Set C old , constituting the code change set ΔC.
[0055] The code difference information includes newly added codes, modified codes, deleted codes and parameter changes;
[0056] The newly added code includes new classes, new methods, new constants, and new object names;
[0057] The modified code includes modified classes, modified methods, modified constants, and modified object names;
[0058] The deleted code includes deleted classes, deleted methods, deleted constants, and deleted object names;
[0059] Parameter changes include changed function parameters, changed class members, changed constant values, and changed object references;
[0060] Among them, the parameter change set P diff Extracted by the following formula:
[0061] P diff={p i p i ∈P new \P old};
[0062] Where P diff Represents a parameter change set, P i Parameters that represent parameter changes, including function, class, method, constant, and object names. new represents the parameter set in the updated version, P old Represents a parameter set from an older version.
[0063] In this embodiment, the trigger unit automatically starts the collection operation when the code base changes, is compatible with version control tools such as Git and SVN, and records the code changes that are added, modified, and deleted. The extraction unit further extracts relevant parameters such as function, class, method, constant, and object names in the changed code to form a parameter change set P diff , and statistically analyze the new version code set C new and the old version code set C old , forming a complete set of code changes, through detailed code difference information, including accurate records of additions, modifications, deletions and parameter changes, it can timely capture and analyze the impact of code changes.
[0064] Example 3
[0065] This embodiment is explained in Example 2. Please refer to Figure 1 ,Specifically: the dependency module includes a dependency analysis unit and a dependency update unit;
[0066] The dependency analysis unit analyzes the dependencies in the code according to the code change set ΔC, including the dependencies between classes, methods, and object references, represents the extracted dependencies in the form of a dependency graph and a dependency tree graph, and constructs a dependency graph G:
[0067] G = (V, E);
[0068] In the formula, G represents the dependency graph, V represents the code unit set, specifically representing the code unit nodes including class, method, constant and object name, E represents the dependency set, specifically representing the dependency relationship between the code units in the dependency edge set;
[0069] Among them, code analysis includes using JavaParser code parser and Clang code parser to parse the code and extract dependencies, including class dependencies, method calls, inheritance relationships, interface implementations, member variables, constant references, instantiations, and parameter passing.
[0070] The dependency updating unit detects changes in the dependency graph, obtains a dependency change record set ΔE, marks a set of code units with code changes, and updates the dependency graph G in real time according to the code change records;
[0071] Among them, the changes in the detection dependency graph are detected by the following formula:
[0072] ΔE=E new \E old ;
[0073] In the formula, ΔE represents the dependency change record set, E new Represents the set of dependencies in the changed version, E old Represents a collection of dependencies from an older version.
[0074] The impact analysis module includes an impact calculation unit and an evaluation strategy unit;
[0075] The impact calculation unit calculates the impact scope of the code change according to the dependency graph G, including the impact on the referenced objects and subclasses, and obtains the change impact index I of the code change unit. direct ;
[0076] The evaluation strategy unit matches the preset relevant information with the required comparison value, including matching with a preset code impact evaluation threshold D, to obtain a code change impact evaluation strategy solution.
[0077] Among them, the change impact index I of the code change unit direct Obtained through the following calculation formula:
[0078]
[0079] In the formula, I direct (u i ) represents the code unit u i Direct change impact index I direct , N ( ui ) indicates the same as the code unit u i The set of code units that have direct dependencies, included in the dependency graph G, with code unit u i Directly related code unit nodes, w(ui,uj) represents code unit u i and u j The dependency weight value between them, uj represents the code unit node that has a direct dependency relationship with the code unit ui, R(u j ) represents the code unit u i level of risk.
[0080] The code change impact assessment strategy is obtained through the following matching methods:
[0081] When the change impact index I direct <Code impact assessment threshold D, obtain the risk-free assessment result of the code change impact, and do not prompt or notify the code change developer;
[0082] When the change impact index I direct ≥Code impact assessment threshold D, obtain the code change impact risk assessment results, and prompt and notify the code change developer. The notification includes the change type, change content, impact scope and recommended measures. The recommended measures include: code review, unit testing and dependency checking;
[0083] When the change impact index I direct When the code impact assessment threshold D is ≥ twice, the code change impact warning assessment results are obtained, and warning prompts and warning notifications are issued to the code change developers. At the same time, the developers are marked, fully tested, and the management is notified, tracked, and recorded;
[0084] In this embodiment, accurate dependency analysis and risk assessment of code changes are achieved by obtaining the code change impact assessment strategy. The dependency module uses JavaParser and Clang code parsers to build and update the dependency graph G in real time, and comprehensively captures the dependency changes between code units through dependency analysis units and dependency update units. The impact analysis module calculates the change impact index I of the code change unit. direct , and matches it with the preset code impact assessment threshold D to generate the corresponding change impact assessment strategy plan. The multi-level risk assessment and notification mechanism not only solves the unforeseen risk problems caused by complex dependencies in traditional code change management, but also greatly reduces the possibility of errors and system failures caused by changes, and improves the security and reliability of the software development process.
[0085] Example 4
[0086] This embodiment is explained in Example 3, please refer to Figure 1 ,Specifically: the feedback response module is specifically executed according to the content of the code change impact assessment strategy, including updating data, updating the dependency graph G and prompting the developer;
[0087] Wherein, updating the dependency graph G includes modifying, adding and deleting the dependency relationship, and the dependency relationship specifically includes class A increasing its dependency on class C, and updating the dependency graph G to add a dependency edge of (A, C);
[0088] Add dependency: For example, if class A increases its dependency on class C, a new dependency edge (A, C) is added to the dependency graph G;
[0089] Modify dependencies: modify existing dependencies, such as when method calls change, and update the properties of the dependency edge:
[0090] G = (V, E ∪ {A, C});
[0091] Delete dependencies: Remove dependencies that no longer exist. For example, if a class or method is deleted, remove the corresponding dependency edge:
[0092] G = (V,,-{(B,,)});
[0093] Notifying developers includes: notifying relevant developers in real time via email and internal application software communication tools;
[0094] The notification content includes the type of change, the specific content of the change, the content of the code change impact assessment strategy and the specific content and recommended measures that need to be handled;
[0095] Synchronously record processing results: After the developer processes the change, the feedback response module will record the developer's processing results and change processing status for subsequent tracking and review;
[0096] Prompt notifications to developers include notifying relevant developers of the code change impact assessment strategy plan content in real time, prompting the impact of the changes that need to be handled, and recording the developer's handling results and change processing status.
[0097] In this embodiment, comprehensive management and real-time feedback of the impact of code changes are achieved. When updating the dependency graph G, the feedback response module can accurately modify, add, and delete dependencies, such as adding a dependency edge from class A to class C, so that the dependency graph G always reflects the latest code dependency status. At the same time, the code change impact assessment strategy plan is notified to the relevant developers in real time, prompting the impact of the changes that need to be processed, and recording the developer's processing results and change processing status.
[0098] Example 5
[0099] A method for developing a software development platform, please refer to Figure 2 , specifically: including the following steps:
[0100] Step 1: The collection module collects code change records in the code base, including newly added, modified, and deleted codes, and simultaneously extracts the function, class, method, constant, and object name-related parameters in the changed code, obtains code difference information through statistics and analysis, and forms a code change set ΔC;
[0101] Step 2: The dependency module analyzes the dependencies in the code according to the code change set ΔC, builds a dependency graph G, and updates the dependency graph G in real time according to the code change record;
[0102] Step 3: The impact analysis module calculates the impact scope of the code change based on the dependency graph G, including the impact on referenced objects and subclasses, and obtains the change impact index I of the code change unit. direct , and at the same time match it with the preset code impact assessment threshold D to obtain the code change impact assessment strategy plan;
[0103] Step 4: The feedback response module performs specific actions according to the code change impact assessment strategy plan, including updating data, updating the dependency graph G, and notifying developers.
[0104] Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the appended claims and their equivalents.
Claims
1. A development system for a software development platform, characterized in that: It includes acquisition module, dependency module, impact analysis module and feedback response module; The acquisition module collects code change records in the code library, including newly added, modified and deleted codes, and simultaneously extracts parameters related to function, class, method, constant and object names in the changed codes, obtains code difference information through statistics and analysis, and forms a code change set ΔC; The dependency module analyzes the dependencies in the code according to the code change set ΔC, constructs a dependency graph G, and updates the dependency graph G in real time according to the code change record; The impact analysis module calculates the impact scope of the code change according to the dependency graph G, including the impact on the referenced objects and subclasses, and obtains the change impact index I of the code change unit. direct , and at the same time match it with the preset code impact assessment threshold D to obtain the code change impact assessment strategy plan; The feedback response module is specifically executed according to the content of the code change impact assessment strategy solution, including updating data, updating the dependency graph G and prompting and notifying the developer.
2. A software development platform development system according to claim 1, characterized in that: The acquisition module includes a trigger unit and an extraction unit; The trigger unit triggers a collection operation when a code in the code base is changed, and collects code change records in the collection code base, including newly added, modified and deleted codes, including management, recording and triggering of code changes using Git and SVN; The extraction unit simultaneously extracts parameters related to functions, classes, methods, constants and object names in the changed code to form a parameter change set P diff , synchronous statistics and analysis to obtain code difference information to obtain the changed version of the code set C new and older versions of Code Set C old , constituting the code change set ΔC.
3. A software development platform development system according to claim 2, characterized in that: in, Code difference information includes newly added codes, modified codes, deleted codes, and parameter changes; The newly added code includes new classes, new methods, new constants, and new object names; The modified code includes modified classes, modified methods, modified constants, and modified object names; The deleted code includes deleted classes, deleted methods, deleted constants, and deleted object names; Parameter changes include changed function parameters, changed class members, changed constant values, and changed object references.
4. The software development platform development system according to claim 1, characterized in that: The dependency module includes a dependency analysis unit and a dependency update unit; The dependency analysis unit analyzes the dependencies in the code according to the code change set ΔC, including the dependencies between classes, methods and object references, represents the extracted dependencies in the form of a dependency graph and a dependency tree, and constructs a dependency graph G, including code unit nodes and dependency edge sets, wherein the code unit nodes include class, method, constant and object names; Among them, code analysis includes using JavaParser code parser and Clang code parser to parse the code and extract dependencies, including class dependencies, method calls, inheritance relationships, interface implementations, member variables, constant references, instantiations, and parameter passing.
5. A software development platform development system according to claim 4, characterized in that: The dependency updating unit detects changes in the dependency graph, obtains a dependency change record set ΔE, marks a set of code units with code changes, and updates the dependency graph G in real time according to the code change records.
6. A software development platform development system according to claim 4, characterized in that: The impact analysis module includes an impact calculation unit and an evaluation strategy unit; The impact calculation unit calculates the impact scope of the code change according to the dependency graph G, including the impact on the referenced objects and subclasses, and obtains the change impact index I of the code change unit. direct .
7. A software development platform development system according to claim 6, characterized in that: in, The evaluation strategy unit matches the preset relevant information with the required comparison value, including matching with a preset code impact evaluation threshold D, to obtain a code change impact evaluation strategy solution.
8. A software development platform development system according to claim 6, characterized in that: in, The code change impact assessment strategy is obtained through the following matching methods: When the change impact index I direct <Code impact assessment threshold D, obtain the risk-free assessment result of the code change impact, and do not prompt or notify the code change developer; When the change impact index I direct ≥Code impact assessment threshold D, obtain the risk assessment results of code changes, and prompt and notify the code change developers; When the change impact index I direct When the code impact assessment threshold D is ≥ twice, the code change impact warning assessment result is obtained, and the code change developer is given a warning prompt and warning notification, and the developer is marked at the same time.
9. The development system of a software development platform according to claim 1, characterized in that: The feedback response module is used to perform specific execution according to the content of the code change impact assessment strategy plan, including updating data, updating the dependency graph G and prompting and notifying the developer; Wherein, updating the dependency graph G includes modifying, adding and deleting the dependency relationship, and the dependency relationship specifically includes class A increasing its dependency on class C, and updating the dependency graph G to add a dependency edge of (A, C); Prompt notifications to developers include notifying relevant developers of the code change impact assessment strategy plan content in real time, prompting the impact of the changes that need to be handled, and recording the developer's handling results and change processing status.
10. A method for developing a software development platform, applied to a development system for a software development platform according to any one of claims 1 to 9, characterized in that: The following steps are involved: Step 1: The collection module collects code change records in the code base, including newly added, modified, and deleted codes, and simultaneously extracts the function, class, method, constant, and object name-related parameters in the changed code, obtains code difference information through statistics and analysis, and forms a code change set ΔC; Step 2: The dependency module analyzes the dependencies in the code according to the code change set ΔC, builds a dependency graph G, and updates the dependency graph G in real time according to the code change record; Step 3: The impact analysis module calculates the impact scope of the code change based on the dependency graph G, including the impact on referenced objects and subclasses, and obtains the change impact index I of the code change unit. direct , and at the same time match it with the preset code impact assessment threshold D to obtain the code change impact assessment strategy plan; Step 4: The feedback response module performs specific actions according to the code change impact assessment strategy plan, including updating data, updating the dependency graph G, and notifying developers.
Citation Information
Patent Citations
Call relation dependence graph based regression testing method and system
CN103699488A
Micro-service change evaluation method, electronic equipment and storage medium
CN116932361A
Software development data processing system based on data analysis
CN118152221A
Intelligent compiling method and system of software development kit based on cloud platform
CN118760434A
Influence range analysis system, influence range analysis method and influence range analysis program
JP2015011661A
Cited By
Code change influence intelligent analysis method and system based on syntactic structure tree
CN120950077A