WO2022134348A1 - Method and apparatus for monitoring software development process, terminal, and storage medium - Google Patents

Method and apparatus for monitoring software development process, terminal, and storage medium Download PDF

Info

Publication number
WO2022134348A1
WO2022134348A1 PCT/CN2021/083312 CN2021083312W WO2022134348A1 WO 2022134348 A1 WO2022134348 A1 WO 2022134348A1 CN 2021083312 W CN2021083312 W CN 2021083312W WO 2022134348 A1 WO2022134348 A1 WO 2022134348A1
Authority
WO
WIPO (PCT)
Prior art keywords
stage
software
quality
quality score
preset
Prior art date
Application number
PCT/CN2021/083312
Other languages
French (fr)
Chinese (zh)
Inventor
刘秋菊
李向蔚
Original Assignee
平安科技(深圳)有限公司
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by 平安科技(深圳)有限公司 filed Critical 平安科技(深圳)有限公司
Publication of WO2022134348A1 publication Critical patent/WO2022134348A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/20Software design
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling

Definitions

  • the present application belongs to the field of artificial intelligence, and in particular relates to a method, device, terminal and storage medium for monitoring a software development process.
  • the quality control in the software development process largely determines the quality of the software product. Therefore, it is very necessary to monitor the quality of each process stage in the software development process.
  • the inventor realizes that the existing software development process supervision software has simple functions, and cannot accurately and comprehensively implement quality monitoring in all process stages in the software development process, resulting in poor quality of the developed software products.
  • One of the purposes of the embodiments of the present application is to provide a method, device, terminal and storage medium for monitoring the software development process, so as to solve the problem that the existing software development process monitoring software has simple functions and cannot accurately and comprehensively monitor the software development process. Quality control is achieved in all process stages, resulting in technical problems of poor quality of developed software products.
  • an embodiment of the present application provides a method for monitoring a software development process, the method comprising:
  • the development process of the target software includes a requirements analysis stage, a plan management stage, a development stage, a testing stage and a release stage;
  • an embodiment of the present application provides a device for monitoring a software development process, including:
  • the acquiring unit is used to acquire the software quality monitoring model corresponding to each stage in the development process of the target software, wherein the software quality monitoring model corresponding to each stage is based on the preset scoring index and preset corresponding to each stage
  • the scoring calculation method is constructed and obtained, and the development process of the target software includes a requirement analysis stage, a plan management stage, a development stage, a testing stage and a release stage;
  • the quality monitoring unit is used to monitor the quality of each stage according to the software quality monitoring model corresponding to each stage, and obtain the quality score corresponding to each stage;
  • the determination unit is used to determine whether each stage needs to be adjusted according to the quality score corresponding to each stage.
  • an embodiment of the present application provides a terminal for monitoring a software development process, including a memory, a processor, and a computer program stored in the memory and running on the processor, where the processor implements when executing the computer program:
  • the development process of the target software includes a requirements analysis stage, a plan management stage, a development stage, a testing stage and a release stage;
  • the quality monitoring of each stage is carried out respectively, and the corresponding quality score of each stage is obtained;
  • an embodiment of the present application provides a computer-readable storage medium, the computer-readable storage medium may be non-volatile or volatile, and the computer-readable storage medium stores a computer program, the computer program Implemented when executed by the processor:
  • the development process of the target software includes a requirements analysis stage, a plan management stage, a development stage, a testing stage and a release stage;
  • the quality monitoring of each stage is carried out respectively, and the corresponding quality score of each stage is obtained;
  • the embodiment of the present application constructs each stage according to different preset score indicators and preset score calculation methods corresponding to each stage in the development process of the target software.
  • Corresponding software quality monitoring model based on the corresponding software quality monitoring model for each stage, perform quality monitoring on each stage, and obtain the corresponding quality score for each stage; determine each stage according to the corresponding quality score for each stage. Whether the stage needs to be adjusted.
  • the development process of the target software includes the requirements analysis stage, the planning management stage, the development stage, the testing stage and the release stage.
  • quality monitoring is carried out for all process stages in the software development process, realizing comprehensive quality monitoring in the software development process; and because the software quality monitoring model corresponding to each stage is based on the corresponding software quality of each stage It is constructed from different preset scoring indicators and preset scoring calculation methods based on these software quality monitoring models.
  • the quality monitoring of each stage is performed based on these software quality monitoring models, the quality score obtained is more accurate, and then the quality scores corresponding to each stage are obtained. , to make adaptive adjustments to each stage, so that the final developed target software has good quality and strong stability.
  • FIG. 1 is a schematic flowchart of a method for monitoring a software development process provided by an embodiment of the present application
  • FIG. 2 is a schematic flowchart of a method for monitoring a software development process provided by another embodiment of the present application.
  • FIG. 3 is a schematic flowchart of a method for monitoring a software development process provided by another embodiment of the present application.
  • FIG. 4 is a schematic flowchart of a method for monitoring a software development process provided by still another embodiment of the present application.
  • FIG. 5 is a schematic diagram of a device for monitoring a software development process provided by an embodiment of the present application.
  • FIG. 6 is a schematic diagram of a terminal for monitoring a software development process provided by another embodiment of the present application.
  • the quality control in the software development process largely determines the quality of the software product. Therefore, it is very necessary to monitor the quality of each process stage in the software development process.
  • the inventor realizes that the existing software development process monitoring software has simple functions, and cannot accurately and comprehensively implement quality monitoring for all process stages in the software development process. For example, in the prior art, only the development phase and the testing phase of the software development process are usually only monitored for quality; and the evaluation method is relatively simple, such as evaluating whether defects are encountered in the software development process and the number of defects, resulting in the development of The software products are of poor quality and weak stability.
  • the present application provides a method for monitoring a software development process.
  • each The software quality monitoring model corresponding to each stage based on the software quality monitoring model corresponding to each stage, the quality monitoring of each stage is carried out, and the corresponding quality score of each stage is obtained; according to the corresponding quality score of each stage, each stage is determined. Whether this stage needs to be adjusted.
  • the development process of the target software includes the requirements analysis stage, the planning management stage, the development stage, the testing stage and the release stage.
  • quality monitoring is carried out for all process stages in the software development process, realizing comprehensive quality monitoring in the software development process; and because the software quality monitoring model corresponding to each stage is based on the corresponding software quality of each stage It is constructed from different preset scoring indicators and preset scoring calculation methods based on these software quality monitoring models.
  • the quality monitoring of each stage is performed based on these software quality monitoring models, the quality score obtained is more accurate, and then the quality scores corresponding to each stage are obtained. , to make adaptive adjustments to each stage, so that the final developed target software has good quality and strong stability.
  • FIG. 1 is a schematic flowchart of a method for monitoring a software development process provided by an embodiment of the present application.
  • the execution subject of the method for monitoring a software development process in this embodiment is a terminal, a server, etc., wherein the terminal includes but is not limited to mobile terminals such as smart phones, tablet computers, computers, personal digital assistants (Personal Digital Assistant, PDA), etc. Including desktop computers and other terminals.
  • the execution subject is taken as an example for description.
  • the method for monitoring the software development process shown in FIG. 1 may include S101 to S104, and the details are as follows:
  • the development process of the target software includes a requirement analysis phase, a plan management phase, a development phase, a testing phase and a release phase.
  • the development process of target software can be divided into requirements analysis stage, plan management stage, development stage, testing stage and release stage in advance.
  • the target software is the software to be developed, which can be understood as the software we ultimately want that needs to be developed.
  • the software development process in layman's terms, is the entire process of developing the software based on software design ideas and methods, which can include the analysis of the preset requirements of the target software, the functions that the target software needs to achieve, and the overall corresponding to the target software.
  • the development process of target software is divided into requirements analysis stage, planning management stage, development stage, testing stage and release stage. It is worth noting that the corresponding development processes of different software are different, and the specific content corresponding to the requirements analysis stage, plan management stage, development stage, testing stage, and release stage obtained by the final division may also be different. This is only an exemplary description, and it is not limited.
  • the development process of the target software may be divided according to the developer's experience, or the developer may upload the documents corresponding to each stage of the development process of the target software to the terminal, and the terminal Identify the documents of each stage, that is, identify the corresponding documents of the requirements analysis stage, the planning management stage, the development stage, the testing stage and the release stage, so as to realize the division of the development process of the target software.
  • This is only an exemplary description, and it is not limited.
  • each stage The specific development methods of each stage are different, and correspondingly, the software quality monitoring model corresponding to each stage is also different.
  • a software quality monitoring model corresponding to each stage can be constructed and obtained in advance according to the preset scoring index and the preset scoring calculation method corresponding to each stage.
  • the preset scoring indicators and preset scoring calculation methods corresponding to each stage are different.
  • a first software quality monitoring model corresponding to the demand analysis stage is constructed according to the first preset scoring index and the first preset scoring calculation method corresponding to the demand analysis stage.
  • the first preset scoring indicators include: requirement confirmation, requirement document, and requirement review.
  • the requirements confirmation includes: whether more than 50% of the requirements are confirmed before development, and whether more than 50% of the requirements are confirmed before the development reaches half of the entire development cycle.
  • Requirements documents include: whether there is a clear requirements document.
  • Requirements review includes: whether to conduct requirements review and whether to test participation in requirements review. The total quality score corresponding to the demand analysis stage can be adjusted according to the actual situation.
  • the total quality score corresponding to the demand analysis stage is 20 points, of which, the demand confirmation corresponds to 10 points, and the demand document corresponds to 5 points.
  • the needs assessment corresponds to 5 points. This is only an exemplary description, and it is not limited.
  • the first preset score calculation method includes: completing more than 50% of the requirements confirmation before development, and the corresponding score is the full score of the score, for example, 5 points; completing 20% to 50% of the requirements confirmation before development, the corresponding score is the Half of the item's score, such as 2.5 points; less than 20% of the requirements confirmation before development, the corresponding score is zero, such as 0 points; more than 50% of the requirements confirmation completed before half of the development cycle, the corresponding score is The full score of this score, such as 5 points; 20% to 50% of the requirements confirmation is completed before half of the entire development cycle, and the corresponding score is half of the score, such as 2.5 points; before half of the entire development cycle is developed Completion of less than 20% of the demand confirmation, the corresponding score is zero, for example, 0 points.
  • the first preset score calculation method further includes: if there is a clear requirement document, the corresponding score is the full score of the score, such as 5 points; if there is no clear requirement document, the corresponding score is zero, such as 0 point.
  • the first preset score calculation method further includes: performing a requirement review, the corresponding score is 2 points; not performing the requirement review, the corresponding score is 0 points; the test participates in the requirements review, and the corresponding score is 3 points; the test does not participate in the requirements review , the corresponding score is 3 points.
  • a first software quality monitoring model corresponding to the requirement analysis stage is constructed and obtained.
  • quality monitoring can be performed on the requirement analysis stage of the target software. This is only an exemplary description, and it is not limited.
  • a second software quality monitoring model corresponding to the planning management stage is constructed.
  • the second preset scoring indicators include: the rationality of the version plan developed by the target software, the rationality of story splitting, and the rationality of story handover.
  • the rationality of the version plan for target software development includes: whether the version plan is formulated in advance, whether there is a stage handover plan for the story, whether the test participates in the stage handover plan formulation, and whether the stage handover plan is reasonable.
  • the rationality of story splitting includes: whether the story is consistent with the offline split, whether the story is split according to business logic rather than (head) task assignment, and whether the story is split sufficiently finely.
  • the rationality of story handover includes: whether the story is handed over on time, and whether there is sufficient testing time after the handover of complex functions.
  • the total quality score corresponding to the plan management stage can be adjusted according to the actual situation. In this embodiment, the total quality score corresponding to the plan management stage is 20 points, of which the rationality of the version plan for target software development corresponds to 10 points.
  • the rationality of story splitting corresponds to 5 points, and the rationality of story handover corresponds to 5 points. This is only an exemplary description, and it is not limited.
  • the second preset score calculation method includes: if the version plan is formulated in advance, the corresponding score is 2 points; if the version plan is not formulated in advance, the corresponding score is 0; if there is a stage handover plan with a story, the corresponding score is 3 points, and there is no story.
  • the corresponding score is 0 points if the test is involved in the staged handover plan formulation; if the test participates in the staged handover plan formulation, the corresponding score is 2 points; if the test does not participate in the staged handover plan formulation, the corresponding score is 0; if the staged handover plan is reasonable, the corresponding score is 3 points, the phased handover plan is unreasonable, and the corresponding score is 0 points.
  • the second preset score calculation method also includes: all the stories are handed over on time, and the corresponding score is 2 points; part of the stories is handed over on time, and the corresponding score is the product of the handover ratio and 2 (2 is the score corresponding to when all the stories are handed over on time); If there is sufficient test time after the handover of complex functions, the corresponding score is 3 points; if there is insufficient test time after the handover of complex functions, the corresponding score is 0 points.
  • the complex function is handed over, there is still more than or equal to 30% of the entire development cycle as the test time, and it is determined that there is sufficient test time after the complex function is handed over; when the complex function is handed over, there is still less than 30% of the entire development cycle. Testing time, it is determined that there is insufficient testing time after the handover of complex functions.
  • a second software quality monitoring model corresponding to the plan management stage is constructed and obtained.
  • quality monitoring can be performed on the planning management stage of the target software. This is only an exemplary description, and it is not limited.
  • a third software quality monitoring model corresponding to the development stage is constructed according to the third preset score index and the third preset score calculation method corresponding to the development stage.
  • the third preset scoring indicators include: development design and development compliance.
  • the development design includes: whether to conduct a design review and whether to deliver detailed test design documents; development compliance includes: whether there are entrained modifications, and whether the number of defects is artificially controlled.
  • the total quality score corresponding to the development stage can be adjusted according to the actual situation. In this embodiment, the total quality score corresponding to the development stage is 20 points, of which the development design corresponds to 10 points, and the development compliance corresponds to 5 points. This is only an exemplary description, and it is not limited.
  • the third preset score calculation method further includes: if there is an entrainment modification, the corresponding score is 5 points; if there is no entrainment modification, the corresponding score is 0 points; the number of defects is artificially controlled, and the corresponding score is 5 points; The corresponding score is 0.
  • a third software quality monitoring model corresponding to the development stage is constructed and obtained.
  • the quality monitoring of the development stage of the target software can be performed according to the third software quality monitoring model. This is only an exemplary description, and it is not limited.
  • a fourth software quality monitoring model corresponding to the testing stage is constructed.
  • the fourth preset scoring indicator includes: whether there is a test case review link, whether there is a test progress report, whether there is a User Acceptance Test (UAT) entry notification, whether there is a UAT acceptance result, whether the system test is completed on time, whether it is on time Perform software sealing.
  • UAT User Acceptance Test
  • the total quality score corresponding to the testing stage can be adjusted according to the actual situation. In this embodiment, the total quality score corresponding to the testing stage is 20 points. This is only an exemplary description, and it is not limited.
  • the fourth preset score calculation method includes: if there is a test case review process, the corresponding score is 2 points; if there is no test case review process, the corresponding score is 0 points; if there is a test progress report, the corresponding score is 2 points; if there is no test progress report, the corresponding score is 2 points.
  • the corresponding score is 0; there is a user acceptance test UAT entry notification, the corresponding score is 1; there is no user acceptance test UAT entry notification, the corresponding score is 0; there is a UAT acceptance result, the corresponding score is 1 point If there is no UAT acceptance result, the corresponding score is 0; if the system test is completed on time, the corresponding score is 7; if the system test cannot be completed on time, the corresponding score is 0; if the software sealing board is completed on time, the corresponding score is 7 ; If the software cannot be sealed on time, the corresponding score is 0.
  • a fourth software quality monitoring model corresponding to the testing stage is constructed and obtained.
  • the quality monitoring of the test phase of the target software can be performed according to the fourth software quality monitoring model. This is only an exemplary description, and it is not limited.
  • a fifth software quality monitoring model corresponding to the release phase is constructed according to the fifth preset score index and the fifth preset score calculation method corresponding to the release phase.
  • the fifth preset scoring index includes: the defect density corresponding to the target software, the defect ratio corresponding to the target software, whether it passes through with smoke, and the number of defects to be repaired.
  • the total quality score corresponding to the release stage can be adjusted according to the actual situation. In this embodiment, the total quality score corresponding to the release stage is 20 points. This is only an exemplary description, and it is not limited.
  • the fifth preset score calculation method includes: if the defect density is less than or equal to 0.1, the corresponding score is 5 points; if the defect density is greater than 0.1 and less than or equal to 0.2, the corresponding score is 2.5 points; if the defect density is greater than 0.2, the corresponding score is 0 marks. If the proportion of defects is less than or equal to 5%, the corresponding score is 5 points; if the proportion of defects is greater than 5% and less than or equal to 20%, the corresponding score is 2.5 points; if the proportion of defects is greater than 20%, the corresponding score is 0 points. Whether the smoke passes through, the corresponding score is the product of the ratio of the number of normal handovers and the score 5. If the number of defect repairs is 0, the corresponding score is 5 points; if the number of defect repairs is less than or equal to 5, the corresponding score is 2.5 points; if the number of defect repairs is greater than 5, the corresponding score is 0 points.
  • a fifth software quality monitoring model corresponding to the release stage is constructed and obtained.
  • quality monitoring can be performed on the release stage of the target software. This is only an exemplary description, and it is not limited.
  • the terminal obtains the software quality monitoring model corresponding to each stage. That is, the terminal obtains the first software quality monitoring model corresponding to the demand analysis phase, the second software quality monitoring model corresponding to the planning management phase, the third software quality monitoring model corresponding to the development phase, the fourth software quality monitoring model corresponding to the testing phase, and the release The fifth software quality monitoring model corresponding to the stage.
  • S102 According to the software quality monitoring model corresponding to each stage, perform quality monitoring on each stage respectively, and obtain a quality score corresponding to each stage.
  • the quality of each stage is monitored separately.
  • collect the data generated when the target software is developed to each stage and perform the data generated in each stage through the preset scoring index and preset scoring calculation method in the software quality monitoring model corresponding to each stage. Score to get the quality score corresponding to each stage.
  • the data collected when the target software is developed to each stage can be the data generated by the target software uploaded by the developer when the target software is developed to each stage, or it can be in the actual development process. Data generated at each stage of development. This is only an exemplary description, and it is not limited.
  • FIG. 2 is a schematic flowchart of a method for monitoring a software development process provided by another embodiment of the present application.
  • S102 may include S1021 to S1022, and the details are as follows:
  • S1021 Collect target data generated when the target software is developed to a first stage, where the first stage is any stage in each of the stages.
  • S1022 Score the target data based on the preset scoring index and the preset scoring calculation method in the software quality monitoring model corresponding to the first stage, to obtain a quality score corresponding to the first stage.
  • Each stage refers to the requirements analysis stage, plan management stage, development stage, testing stage and release stage in the development process of the target software.
  • the first stage can be followed by requirements analysis stage, plan management stage, development stage, testing stage and release stage.
  • the version information corresponding to the target software may be acquired in advance, and based on the version information, the current stage of the target software may be determined.
  • the version information corresponding to the target software can be automatically obtained by calling an application programming interface (Application Programming Interface, API) and/or a preset defect management system, and the version information is used to indicate which stage the target software is currently in.
  • API Application Programming Interface
  • the quality score corresponding to the requirements analysis stage is 15 points. This is only an exemplary description, and it is not limited.
  • the target data generated when the target software is developed to the planning management stage is collected.
  • the developer uploads the version plan rationality document, the story split rationality document, and the story handover rationality document.
  • the target data collected at this time may include: version plan rationality document, story split rationality document It is divided into rationality documents and story handover rationality documents.
  • the version plan rationality document includes the preparation of the version plan in advance, the test participation in the staged handover plan formulation, and the reasonable staged handover plan.
  • the rationality of story splitting document includes that the splitting of stories is based on (human head) task assignment, the splitting of stories and offline is consistent, and the ratio of stories that do not exceed 3 days is 40%.
  • the rationality document of story handover includes that all stories are handed over on time, and after the handover of complex functions, there is more than or equal to 30% of the whole development cycle time as testing time.
  • the target data After scoring the target data, add the scores corresponding to each data to obtain the quality score corresponding to the planning management stage. For example, the scores of each data in the target data corresponding to the above-mentioned plan management stage are added up to obtain 13.4 points, that is, the quality score corresponding to the plan management stage is 13.4 points. This is only an exemplary description, and it is not limited.
  • target data generated when the target software is developed to the development stage is collected.
  • the collected target data corresponding to this development stage include: design review information, detailed test design documents, entrained modifications, and non-human control of the number of defects.
  • the target data is scored according to the third preset scoring index and the third preset scoring calculation method in the third software quality monitoring model corresponding to the development stage. For example, based on the third preset scoring index and the third preset scoring calculation method, the design review information is scored as 5 points; the detailed test design document is detected, the corresponding score is 5 points; the entrainment modification is detected, the corresponding score is 5 points. The score is 5 points; the number of non-artificial control defects is detected, and the corresponding score is 0 points.
  • the target data After scoring the target data, add the scores corresponding to each data to obtain the quality score corresponding to the development stage. For example, the scores of each data in the target data corresponding to the above-mentioned development stage are added up to obtain 15 points, that is, the quality score corresponding to the development is 15 points. This is only an exemplary description, and it is not limited.
  • target data generated when the target software is developed to the testing stage is collected.
  • the collected target data corresponding to this test stage include: test case review link information, test progress report, UAT acceptance result, time to complete the system test, and time to seal the software.
  • the target data is scored according to the fourth preset scoring index and the fourth preset scoring calculation method in the fourth software quality monitoring model corresponding to the testing stage. For example, based on the fourth preset scoring index and the fourth preset scoring calculation method, the detected test case review link information is scored as 2 points; the test progress report is detected, the corresponding score is 2 points; the user acceptance is not detected When testing the UAT entry notification, the corresponding score is 0; if the UAT acceptance result is detected, the corresponding score is 1; when the system test is completed within the preset completion time, the corresponding score is 7; If the time of the plate is not within the preset sealing time, the corresponding score is 0.
  • the target data After scoring the target data, add the scores corresponding to each data to obtain the quality score corresponding to the testing stage. For example, the scores of each data in the target data corresponding to the above-mentioned testing stage are added up to obtain 12 points, that is, the quality score corresponding to the development is 12 points. This is only an exemplary description, and it is not limited.
  • target data generated when the target software is developed to the release stage is collected.
  • the collected target data corresponding to this release stage include: defect density of 0.15, defect ratio corresponding to target software 10%, normal handover ratio of 0.6, and defect repaired number of 3.
  • the target data After scoring the target data, add the scores corresponding to each piece of data to obtain the quality score corresponding to the release stage. For example, the scores of each data in the target data corresponding to the above-mentioned release stage are added up to obtain 10.5 points, that is, the quality score corresponding to the development is 10.5 points.
  • Different preset thresholds corresponding to each stage can be preset, and the preset thresholds corresponding to each stage are used to judge whether the quality score corresponding to each stage meets the standard, and then judge whether each stage needs to be adjusted.
  • the stage is adjusted based on the scores corresponding to each data in the target data of the stage. For example, if the corresponding score of a certain data is low, which affects the overall quality score of this stage, the items corresponding to the data should be adjusted accordingly. This is only an exemplary description, and it is not limited.
  • FIG. 3 is a schematic flowchart of a method for monitoring a software development process provided by another embodiment of the present application.
  • the above S103 may include S1031 to S1033. It is worth noting that S1032 is parallel to S1033, and S1031 is determined according to the comparison result between the quality score and the preset threshold. Whether to execute S1032 or S1033 after S1032, instead of executing S1033 after S1032, is as follows:
  • S1032 When it is detected that the quality score is less than a preset threshold, determine that the first stage needs to be adjusted. Or, S1033: When it is detected that the quality score is greater than or equal to the preset threshold, determine that the first stage does not need to be adjusted.
  • a first preset threshold value corresponding to the demand analysis stage is obtained, and the first preset threshold value is used to judge whether the quality score corresponding to the demand analysis stage meets the standard, and then judge the demand analysis stage. Whether the stage needs to be adjusted.
  • the first preset threshold may be adjusted according to different target software. For example, the first preset threshold may be 12 points, and the quality score corresponding to the requirement analysis stage is obtained as 15 points.
  • the quality score corresponding to the demand analysis stage is greater than the first preset threshold, and it is determined that the demand analysis stage does not need to be adjusted. This is only an exemplary description, and it is not limited.
  • a second preset threshold value corresponding to the plan management stage is obtained, and the second preset threshold value is used to judge whether the quality score corresponding to the plan management stage meets the standard, and then judge the plan management stage. Whether the stage needs to be adjusted.
  • the second preset threshold may be adjusted according to different target software. For example, the second preset threshold may be 15 points, and the quality score corresponding to the acquisition of the plan management stage is 13.4 points.
  • a third preset threshold value corresponding to the development stage is obtained, and the third preset threshold value is used to judge whether the quality score corresponding to the development stage meets the standard, and then judge whether the development stage needs to be adjusted.
  • the third preset threshold may be adjusted according to different target software.
  • the third preset threshold may be 14 points, and the quality score corresponding to the development stage is obtained as 15 points.
  • a fourth preset threshold value corresponding to the testing stage is obtained, and the fourth preset threshold value is used to judge whether the quality score corresponding to the testing stage reaches the standard, and then judge whether the testing stage needs to be adjusted.
  • the fourth preset threshold may be adjusted according to different target software. For example, the fourth preset threshold may be 15 points, and the quality score corresponding to the development stage is obtained as 12 points.
  • a fifth preset threshold corresponding to the release stage is obtained, and the fifth preset threshold is used to judge whether the quality score corresponding to the release stage meets the standard, and then to determine whether the release stage needs to be adjusted.
  • the fifth preset threshold may be adjusted according to different target software.
  • the fifth preset threshold may be 10 points, and the quality score corresponding to the development stage is obtained as 10.5 points.
  • the method may further include: adjusting the first stage based on a preset rule; based on the software quality monitoring model corresponding to the first stage, The quality of the adjusted first stage is monitored, and a quality score corresponding to the adjusted first stage is obtained.
  • the preset rule may be to detect the main data that affects the quality score corresponding to the first stage, that is, data that has a greater impact on the quality score corresponding to the first stage, and adjust the data accordingly. For example, if the score corresponding to a certain data in the first stage is 0, the data is the main data that affects the quality score corresponding to the first stage. Then analyze the reasons for the score of 0 in detail, and adopt different adjustment methods according to different reasons. If the data is missing, the data will be supplemented; if the data setting is unreasonable, the data will be reset. This is only an exemplary description, and it is not limited.
  • quality monitoring is performed again on the adjusted plan management stage, and a quality score corresponding to the adjusted plan management stage is obtained.
  • the target data corresponding to the adjusted plan management stage is obtained, and the adjusted plan management stage is evaluated according to the second preset score index and the second preset score calculation method in the second software quality monitoring model corresponding to the plan management stage.
  • the corresponding target data is scored, and the quality score corresponding to the adjusted plan management stage is obtained.
  • the target data corresponding to the adjusted plan management stage includes the staged handover plan of the story, and the score corresponding to this data is 3 points; the split of the story is allocated according to business logic, and the score corresponding to this data is 2 points;
  • the scoring process corresponding to each data reference may be made to the relevant description in S1032, which will not be repeated here.
  • the quality score corresponding to the planning management stage before adjustment is 13.4 points
  • the quality score corresponding to the planning management stage after adjustment is 18.4 points.
  • the size of the quality score corresponding to the adjusted plan management stage of 18.4 points and the second preset threshold of 15 points can be compared again. Obviously, the quality score corresponding to the plan management stage is greater than the second preset threshold. 2. Preset thresholds to determine that the adjusted plan management stage meets the standard and does not need to be adjusted again. If the result obtained from the re-comparison is that adjustment is required in the planning management stage, the adjusted planning management stage is re-adjusted again until the planning management stage reaches the standard and no adjustment is required. This is only an exemplary description, and it is not limited.
  • the testing stage needs to be adjusted, and the quality score corresponding to the testing stage is 12 points.
  • the time for software sealing the board in this test stage is not within the preset board sealing time, and the corresponding score is 0 points. Mainly this affects the quality score corresponding to this testing phase. Therefore, this is the place to start when making adjustments to the testing phase. For example, the time for software sealing is advanced so that the time for software sealing is within the preset sealing time.
  • the quality monitoring of the adjusted testing phase is performed again to obtain a quality score corresponding to the adjusted testing phase.
  • the target data corresponding to the adjusted testing stage is obtained, and according to the fourth preset scoring index and the fourth preset scoring calculation method in the fourth software quality monitoring model corresponding to the testing stage, the target corresponding to the adjusted testing stage is The data is scored to obtain a quality score corresponding to the adjusted test phase.
  • the time for software sealing is advanced, so that the time for software sealing is within the preset sealing time, that is, the time for software sealing is within the preset sealing time.
  • the score corresponding to this data is 7 points.
  • the scoring process corresponding to the remaining data reference may be made to the relevant description in S1022, which will not be repeated here.
  • the quality score corresponding to the unadjusted test stage is 12 points, and the quality score corresponding to the adjusted test stage is 19 points.
  • the quality score corresponding to the adjusted test stage of 19 points and the fourth preset threshold of 15 points can be compared again. Obviously, the quality score corresponding to the adjusted test stage is greater than The fourth preset threshold determines that the adjusted test stage meets the standard and does not need to be adjusted again. If the result obtained from the re-comparison still needs to be adjusted in the test phase, the adjusted test phase is re-adjusted again until the test phase reaches the standard and no adjustment is required. This is only an exemplary description, and it is not limited.
  • the method for monitoring the software development process may further include: determining the final quality score corresponding to each stage, and when the first stage needs to be adjusted, the final quality score is the adjusted first quality score.
  • the quality score corresponding to the stage when the first stage does not need to be adjusted, the final quality score is the quality score corresponding to the unadjusted first stage; based on the final quality score corresponding to each stage, the overall quality score corresponding to the target software is calculated; when When it is detected that the overall quality score is greater than or equal to the preset quality threshold, a qualified report corresponding to the target software is generated.
  • an email message is generated, and the email message is used to remind the developer that the development process of the target software is unqualified.
  • the final quality score corresponding to each stage is different. It is still expressed in terms of the first stage, which is any stage in the requirements analysis stage, plan management stage, development stage, testing stage and release stage.
  • the final quality score corresponding to the first stage is the quality score corresponding to the adjusted first stage. Since it may be adjusted multiple times, the adjusted here refers to the last adjustment.
  • the quality score corresponding to the first stage reaches the standard, the quality score corresponding to the first stage at this time is the final quality score corresponding to the first stage.
  • the final quality score corresponding to the first stage is the quality score corresponding to the unadjusted first stage, that is, the software quality monitoring model corresponding to the first stage is used for the first time.
  • the quality score corresponding to the first stage is obtained.
  • the first stage is the requirements analysis stage
  • the requirements analysis stage does not need to be adjusted
  • the final quality score corresponding to the requirements analysis stage is the initial quality score of 15 points.
  • the final quality score corresponding to the plan management stage is 18.4 points corresponding to the adjusted plan management stage.
  • the development stage does not need to be adjusted
  • the final quality score corresponding to the development stage is the initial quality score of 15 points.
  • the final quality score corresponding to the testing stage is 19 points corresponding to the adjusted testing stage.
  • the release stage does not need to be adjusted
  • the final quality score corresponding to the release stage is the initial quality score of 10.5 points. This is only an exemplary description, and it is not limited.
  • the final quality scores corresponding to each stage are added together, and the obtained score is the overall quality score corresponding to the target software.
  • the final quality score corresponding to the requirements analysis stage is 15 points
  • the final quality score corresponding to the planning management stage is 18.4 points
  • the final quality score corresponding to the development stage is 15 points
  • the final quality score corresponding to the testing stage is 19 points
  • the final quality score corresponding to the release stage is 19 points.
  • the quality score of 10.5 points is added up
  • the overall quality score corresponding to the target software is 77.9 points. This is only an exemplary description, and it is not limited.
  • the overall quality score corresponding to the target software is compared with a preset quality threshold.
  • the preset quality threshold is 75 points
  • the overall quality score corresponding to the target software of 77.9 points is greater than the preset quality threshold of 75 points, and a qualified report corresponding to the target software is generated at this time.
  • the qualification report is used to indicate that the development process of the target software is qualified, that is, the target software is developed according to each stage in the development process, and the final target software is qualified.
  • the qualification report may include target data corresponding to each stage of the target software, a quality score corresponding to each stage, a quality score corresponding to each data individually, an overall quality score corresponding to the target software, and the like. This is only an exemplary description, and it is not limited.
  • the preset quality threshold is 85 points
  • the overall quality score corresponding to the target software of 77.9 points is lower than the preset quality threshold of 85 points.
  • an email message is generated, and the email message is used to remind the developer that the development process of the target software is unqualified. . That is, the target software is developed according to each stage in the development process, and the final target software is unqualified.
  • the developer receives the email message, he can review the entire development process of the target software, make individual adjustments to each stage and/or adjust the preset thresholds corresponding to each stage, etc. This is only an exemplary illustration. , which is not limited.
  • the quality monitoring of the development process of a new round of target software can be performed again through the method for monitoring the software development process provided in this application. , the specific monitoring process will not be repeated here.
  • an email corresponding to each stage can be generated, and the email can be sent to the developer, which can timely remind the developer of the current target software.
  • the development progress and the development quality of each stage are convenient for developers to make adjustments in time, thereby ensuring that the final developed target software has good quality and strong stability, and realizes early warning in the software development process.
  • the developer is reminded by email to upload the requirements confirmation progress files, requirements documents, requirements review requests and other information that need to be used in the requirements analysis stage.
  • the development stage corresponding to the target software the developer is reminded by email to send the test progress report, UAT acceptance result, etc.
  • the terminal After the terminal detects these data, it can score the data through the fourth software quality monitoring model.
  • the quality score corresponding to each stage before adjustment, the overall quality score corresponding to the target software, the individual score corresponding to each data, and the quality corresponding to each stage after adjustment can be used.
  • Score, etc. generate comparison charts, trend charts, etc.
  • a software quality monitoring model corresponding to each stage is constructed;
  • the software quality monitoring model monitors the quality of each stage, and obtains the quality score corresponding to each stage; according to the quality score corresponding to each stage, it is determined whether each stage needs to be adjusted.
  • the development process of the target software includes the requirements analysis stage, the planning management stage, the development stage, the testing stage and the release stage.
  • this method automatically monitors the quality of each stage through the software quality monitoring model corresponding to each stage, so that developers no longer have to stare at all times, so that developers can do more other work, freeing the hands of developers. , the cost of developing software is saved on the side, and the efficiency and quality of software development are improved.
  • FIG. 4 is a schematic flowchart of a method for monitoring a software development process provided by still another embodiment of the present application.
  • the method may include S201 ⁇ S204.
  • steps S201 to S203 shown in FIG. 4 reference may be made to the relevant descriptions of S101 to S103 in the embodiment corresponding to FIG. 1 , which are not repeated here for brevity.
  • Step S204 will be specifically described below.
  • the software quality monitoring model corresponding to each stage is uploaded to the blockchain to ensure its security and fairness and transparency to users.
  • the software quality monitoring model corresponding to each stage is uploaded to the blockchain.
  • the blockchain referred to in this example is a new application mode of computer technology such as distributed data storage, point-to-point transmission, consensus mechanism, and encryption algorithm.
  • Blockchain essentially a decentralized database, is a series of data blocks associated with cryptographic methods. Each data block contains a batch of network transaction information to verify its Validity of information (anti-counterfeiting) and generation of the next block.
  • the blockchain can include the underlying platform of the blockchain, the platform product service layer, and the application service layer.
  • FIG. 5 is a schematic diagram of an apparatus for monitoring a software development process provided by an embodiment of the present application.
  • Each unit included in the apparatus is used to execute each step in the embodiment corresponding to FIG. 1 to FIG. 4 .
  • FIG. 5 For details, please refer to the relevant descriptions in the respective corresponding embodiments of FIG. 1 to FIG. 4 . For convenience of explanation, only the parts related to this embodiment are shown. See Figure 5, including:
  • the obtaining unit 310 is configured to obtain the software quality monitoring model corresponding to each stage in the development process of the target software, wherein the software quality monitoring model corresponding to each stage is based on the preset scoring index and the preset score corresponding to each stage.
  • the scoring calculation method is constructed and obtained, and the development process of the target software includes a requirements analysis stage, a plan management stage, a development stage, a testing stage and a release stage;
  • the quality monitoring unit 320 is configured to monitor the quality of each stage respectively according to the software quality monitoring model corresponding to each stage, and obtain the quality score corresponding to each stage;
  • the determining unit 330 is configured to determine whether each stage needs to be adjusted according to the quality score corresponding to each stage.
  • the quality monitoring unit 320 is specifically configured to:
  • the target data is scored to obtain the quality score corresponding to the first stage.
  • the determining unit 330 is specifically configured to:
  • the device further includes:
  • an adjustment unit configured to adjust the first stage based on a preset rule
  • the scoring unit is configured to perform quality monitoring on the adjusted first stage based on the software quality monitoring model corresponding to the first stage, and obtain a quality score corresponding to the adjusted first stage.
  • the device further includes:
  • the scoring determination unit is used to determine the final quality score corresponding to each stage.
  • the final quality score is the quality score corresponding to the adjusted first stage.
  • the final quality score is the quality score corresponding to the unadjusted first stage;
  • a computing unit configured to calculate the overall quality score corresponding to the target software based on the final quality score corresponding to each stage
  • a first generating unit configured to generate a qualified report corresponding to the target software when it is detected that the overall quality score is greater than or equal to a preset quality threshold
  • the device further includes:
  • the second generating unit is configured to generate email information when it is detected that the overall quality score is less than the preset quality threshold, where the email information is used to remind the developer that the development process of the target software is unqualified.
  • the device further includes:
  • the uploading unit is used to upload the software quality monitoring model corresponding to each stage to the blockchain.
  • FIG. 6 is a schematic diagram of a terminal for monitoring a software development process provided by another embodiment of the present application.
  • the terminal 4 for monitoring the software development process in this embodiment includes: a processor 40 , a memory 41 , and computer instructions 42 stored in the memory 41 and executable on the processor 40 .
  • the steps in each of the foregoing method embodiments for monitoring a software development process are implemented, for example, S101 to S103 shown in FIG. 1 .
  • the processor 40 executes the computer instructions 42
  • the functions of the units in the foregoing embodiments are implemented, for example, the functions of the units 310 to 330 shown in FIG. 5 .
  • the computer instructions 42 may be divided into one or more units, and the one or more units are stored in the memory 41 and executed by the processor 40 to complete the present application.
  • the one or more units may be a series of computer instruction segments capable of accomplishing specific functions, and the instruction segments are used to describe the execution process of the computer instructions 42 in the terminal 4 that monitors the software development process.
  • the computer instructions 42 can be divided into an acquisition unit, a quality monitoring unit and a determination unit, and the specific functions of each unit are as described above.
  • the terminal for monitoring the software development process may include, but is not limited to, the processor 40 and the memory 41 .
  • FIG. 6 is only an example of the terminal 4 monitoring the software development process, and does not constitute a limitation on the terminal monitoring the software development process, and may include more or less components than those shown in the figure, or a combination of certain Some components, or different components, for example, the terminal for monitoring the software development process may also include an input and output terminal, a network access terminal, a bus, and the like.
  • the so-called processor 40 may be a central processing unit (Central Processing Unit, CPU), or other general-purpose processors, digital signal processors (Digital Signal Processors, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), Off-the-shelf programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc.
  • a general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
  • the memory 41 may be an internal storage unit of the terminal that monitors the software development process, such as a hard disk or memory of the terminal that monitors the software development process.
  • the memory 41 can also be an external storage terminal of the terminal for monitoring the software development process, such as a plug-in hard disk equipped on the terminal for monitoring the software development process, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, flash memory card (Flash Card), etc.
  • the memory 41 may also include both an internal storage unit of the terminal for monitoring the software development process and an external storage terminal.
  • the memory 41 is used to store the computer instructions and other programs and data required by the terminal.
  • the memory 41 can also be used to temporarily store data that has been output or will be output.
  • an embodiment of the present application provides a terminal for monitoring a software development process, including a memory, a processor, and a computer program stored in the memory and running on the processor, and the processor implements each of the above when executing the computer program. Steps in a method embodiment of monitoring a software development process.
  • the processor executes the computer program, it achieves: acquiring a software quality monitoring model corresponding to each stage in the development process of the target software, wherein the software quality monitoring model corresponding to each stage is based on a preset score corresponding to each stage
  • the index and the preset score calculation method are constructed, and the development process of the target software includes the requirements analysis stage, the planning management stage, the development stage, the testing stage and the release stage; according to the software quality monitoring model corresponding to each stage, each Quality monitoring is carried out in each stage, and the corresponding quality score of each stage is obtained; according to the corresponding quality score of each stage, it is determined whether each stage needs to be adjusted.
  • the embodiments of the present application further provide a computer-readable storage medium
  • the computer-readable storage medium may be non-volatile or volatile
  • the computer-readable storage medium stores a computer program
  • the steps in each of the foregoing method embodiments for monitoring a software development process are implemented.
  • the computer program when executed by the processor, it realizes: acquiring the software quality monitoring model corresponding to each stage in the development process of the target software, wherein the software quality monitoring model corresponding to each stage is based on the preset corresponding to each stage
  • the scoring index and the preset scoring calculation method are constructed.
  • the development process of the target software includes the requirements analysis stage, the plan management stage, the development stage, the test stage and the release stage; Quality monitoring is carried out in each stage, and the corresponding quality score of each stage is obtained; according to the corresponding quality score of each stage, it is determined whether each stage needs to be adjusted.

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Entrepreneurship & Innovation (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Resources & Organizations (AREA)
  • Strategic Management (AREA)
  • Software Systems (AREA)
  • Economics (AREA)
  • Tourism & Hospitality (AREA)
  • Educational Administration (AREA)
  • Quality & Reliability (AREA)
  • General Business, Economics & Management (AREA)
  • Operations Research (AREA)
  • Development Economics (AREA)
  • Marketing (AREA)
  • Game Theory and Decision Science (AREA)
  • Stored Programmes (AREA)

Abstract

A method and apparatus for monitoring a software development process, a terminal, and a storage medium, applicable to the field of artificial intelligence. The method comprises: obtaining a software quality monitoring model separately corresponding to each stage in a development process of target software (S101); according to the software quality monitoring model corresponding to each stage, performing quality monitoring on each stage to obtain a quality score corresponding to the stage (S102); and determining, according to the quality score corresponding to each stage, whether the stage needs to be adjusted (S103). According to the above method, comprehensive quality monitoring in a software development process is implemented; moreover, quality monitoring is performed on each stage on the basis of the software quality monitoring model corresponding to the stage, so that the obtained quality score is more accurate, and then each stage is adaptively adjusted according to the quality score separately corresponding to the stage; thus, the finally developed software has good quality and high stability.

Description

一种监控软件开发过程的方法、装置、终端及存储介质A method, device, terminal and storage medium for monitoring software development process
本申请要求于2020年12月25日在中华人民共和国国家知识产权局专利局提交的、申请号为202011560001.3、发明名称为“一种监控软件开发过程的方法、装置、终端及存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application is filed in the Patent Office of the State Intellectual Property Office of the People's Republic of China on December 25, 2020, the application number is 202011560001.3, and the invention name is "a method, device, terminal and storage medium for monitoring software development process" in China Priority to the patent application, the entire contents of which are incorporated herein by reference.
技术领域technical field
本申请属于人工智能领域,尤其涉及一种监控软件开发过程的方法、装置、终端及存储介质。The present application belongs to the field of artificial intelligence, and in particular relates to a method, device, terminal and storage medium for monitoring a software development process.
背景技术Background technique
软件开发过程中的质量监控很大程度决定了软件产品的质量,因此,对软件开发过程中各个流程阶段进行质量监控非常有必要。发明人意识到,现有的软件开发流程监管软件功能简单,不能准确以及全面地对软件开发过程中的所有流程阶段实现质量监控,导致开发得到的软件产品质量差。The quality control in the software development process largely determines the quality of the software product. Therefore, it is very necessary to monitor the quality of each process stage in the software development process. The inventor realizes that the existing software development process supervision software has simple functions, and cannot accurately and comprehensively implement quality monitoring in all process stages in the software development process, resulting in poor quality of the developed software products.
技术问题technical problem
本申请实施例的目的之一在于:提供一种监控软件开发过程的方法、装置、终端及存储介质,以解决现有的软件开发流程监管软件功能简单,不能准确以及全面地对软件开发过程中的所有流程阶段实现质量监控,导致开发得到的软件产品质量差的技术问题。One of the purposes of the embodiments of the present application is to provide a method, device, terminal and storage medium for monitoring the software development process, so as to solve the problem that the existing software development process monitoring software has simple functions and cannot accurately and comprehensively monitor the software development process. Quality control is achieved in all process stages, resulting in technical problems of poor quality of developed software products.
技术解决方案technical solutions
第一方面,本申请实施例提供了一种监控软件开发过程的方法,方法包括:In a first aspect, an embodiment of the present application provides a method for monitoring a software development process, the method comprising:
获取目标软件的开发过程中每个阶段分别对应的软件质量监控模型,其中,所述每个阶段分别对应的软件质量监控模型基于每个阶段对应的预设评分指标和预设评分计算方法构建得到,所述目标软件的开发过程包括需求分析阶段、计划管理阶段、开发阶段、测试阶段以及发布阶段;Obtain the software quality monitoring model corresponding to each stage in the development process of the target software, wherein the software quality monitoring model corresponding to each stage is constructed based on the preset scoring index corresponding to each stage and the preset scoring calculation method. , the development process of the target software includes a requirements analysis stage, a plan management stage, a development stage, a testing stage and a release stage;
根据每个阶段分别对应的软件质量监控模型,分别对每个阶段进行质量监控,得到每个阶段分别对应的质量评分;According to the software quality monitoring model corresponding to each stage, the quality monitoring of each stage is carried out respectively, and the corresponding quality score of each stage is obtained;
根据每个阶段分别对应的质量评分,确定每个阶段是否需要调整。Determine whether each stage needs to be adjusted according to the quality score corresponding to each stage.
第二方面,本申请实施例提供了一种监控软件开发过程的装置,包括:In a second aspect, an embodiment of the present application provides a device for monitoring a software development process, including:
获取单元,用于获取目标软件的开发过程中每个阶段分别对应的软件质量监控模型,其中,所述每个阶段分别对应的软件质量监控模型基于每个阶段对应的预设评分指标和预设评分计算方法构建得到,所述目标软件的开发过程包括需求分析阶段、计划管理阶段、开发阶段、测试阶段以及发布阶段;The acquiring unit is used to acquire the software quality monitoring model corresponding to each stage in the development process of the target software, wherein the software quality monitoring model corresponding to each stage is based on the preset scoring index and preset corresponding to each stage The scoring calculation method is constructed and obtained, and the development process of the target software includes a requirement analysis stage, a plan management stage, a development stage, a testing stage and a release stage;
质量监控单元,用于根据每个阶段分别对应的软件质量监控模型,分别对每个阶段进行质量监控,得到每个阶段分别对应的质量评分;The quality monitoring unit is used to monitor the quality of each stage according to the software quality monitoring model corresponding to each stage, and obtain the quality score corresponding to each stage;
确定单元,用于根据每个阶段分别对应的质量评分,确定每个阶段是否需要调整。The determination unit is used to determine whether each stage needs to be adjusted according to the quality score corresponding to each stage.
第三方面,本申请实施例提供了一种监控软件开发过程的终端,包括存储器、处理器以及存储在存储器中并可在处理器上运行的计算机程序,所述处理器执行计算机程序时实现:In a third aspect, an embodiment of the present application provides a terminal for monitoring a software development process, including a memory, a processor, and a computer program stored in the memory and running on the processor, where the processor implements when executing the computer program:
获取目标软件的开发过程中每个阶段分别对应的软件质量监控模型,其中,所述每个阶段分别对应的软件质量监控模型基于每个阶段对应的预设评分指标和预设评分计算方法构建得到,所述目标软件的开发过程包括需求分析阶段、计划管理阶段、开发阶段、测试阶段以及发布阶段;Obtain the software quality monitoring model corresponding to each stage in the development process of the target software, wherein the software quality monitoring model corresponding to each stage is constructed based on the preset scoring index corresponding to each stage and the preset scoring calculation method. , the development process of the target software includes a requirements analysis stage, a plan management stage, a development stage, a testing stage and a release stage;
根据每个阶段分别对应的软件质量监控模型,分别对每个阶段进行质量监控,得到每个阶段分别对应的质量评分;According to the software quality monitoring model corresponding to each stage, the quality monitoring of each stage is carried out respectively, and the corresponding quality score of each stage is obtained;
根据每个阶段分别对应的质量评分,确定每个阶段是否需要调整。Determine whether each stage needs to be adjusted according to the quality score corresponding to each stage.
第四方面,本申请实施例提供了一种计算机可读存储介质,计算机可读存储介质可以是非易失性,也可以是易失性,计算机可读存储介质存储有计算机程序,所述计算机程序被处理器执行时实现:In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, the computer-readable storage medium may be non-volatile or volatile, and the computer-readable storage medium stores a computer program, the computer program Implemented when executed by the processor:
获取目标软件的开发过程中每个阶段分别对应的软件质量监控模型,其中,所述每个阶段分别对应的软件质量监控模型基于每个阶段对应的预设评分指标和预设评分计算方法构建得到,所述目标软件的开发过程包括需求分析阶段、计划管理阶段、开发阶段、测试阶段以及发布阶段;Obtain the software quality monitoring model corresponding to each stage in the development process of the target software, wherein the software quality monitoring model corresponding to each stage is constructed based on the preset scoring index corresponding to each stage and the preset scoring calculation method. , the development process of the target software includes a requirements analysis stage, a plan management stage, a development stage, a testing stage and a release stage;
根据每个阶段分别对应的软件质量监控模型,分别对每个阶段进行质量监控,得到每个阶段分别对应的质量评分;According to the software quality monitoring model corresponding to each stage, the quality monitoring of each stage is carried out respectively, and the corresponding quality score of each stage is obtained;
根据每个阶段分别对应的质量评分,确定每个阶段是否需要调整。Determine whether each stage needs to be adjusted according to the quality score corresponding to each stage.
有益效果beneficial effect
本申请实施例与现有技术相比存在的有益效果是:本申请实施例根据目标软件的开发过程中每个阶段对应的不同的预设评分指标和预设评分计算方法,构建了每个阶段对应的软件质量监控模型;基于每个阶段分别对应的软件质量监控模型,对每个阶段进行质量监控,得到每个阶段分别对应的质量评分;根据每个阶段分别对应的质量评分,确定每个阶段是否需要调整。其中,目标软件的开发过程包括需求分析阶段、计划管理阶段、开发阶段、测试阶段以及发布阶段。基于该方法,对软件开发过程中的所有流程阶段都进行了质量监控,实现了对软件开发过程中的全面质量监控;且由于每个阶段对应的软件质量监控模型,都是根据每个阶段对应的不同的预设评分指标和预设评分计算方法构建而成的,基于这些软件质量监控模型对每个阶段进行质量监控时,得到的质量评分更准确,进而根据每个阶段分别对应的质量评分,对每个阶段进行适应性调整,可使最终开发出的目标软件质量好、稳定性强。Compared with the prior art, the embodiment of the present application has the following beneficial effects: the embodiment of the present application constructs each stage according to different preset score indicators and preset score calculation methods corresponding to each stage in the development process of the target software. Corresponding software quality monitoring model; based on the corresponding software quality monitoring model for each stage, perform quality monitoring on each stage, and obtain the corresponding quality score for each stage; determine each stage according to the corresponding quality score for each stage. Whether the stage needs to be adjusted. Among them, the development process of the target software includes the requirements analysis stage, the planning management stage, the development stage, the testing stage and the release stage. Based on this method, quality monitoring is carried out for all process stages in the software development process, realizing comprehensive quality monitoring in the software development process; and because the software quality monitoring model corresponding to each stage is based on the corresponding software quality of each stage It is constructed from different preset scoring indicators and preset scoring calculation methods based on these software quality monitoring models. When the quality monitoring of each stage is performed based on these software quality monitoring models, the quality score obtained is more accurate, and then the quality scores corresponding to each stage are obtained. , to make adaptive adjustments to each stage, so that the final developed target software has good quality and strong stability.
附图说明Description of drawings
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to illustrate the technical solutions in the embodiments of the present application more clearly, the following briefly introduces the accompanying drawings that need to be used in the description of the embodiments or the prior art. Obviously, the drawings in the following description are only for the present application. In some embodiments, for those of ordinary skill in the art, other drawings can also be obtained according to these drawings without any creative effort.
图1是本申请实施例提供的一种监控软件开发过程的方法的示意流程图;1 is a schematic flowchart of a method for monitoring a software development process provided by an embodiment of the present application;
图2是本申请另一实施例提供的一种监控软件开发过程的方法的示意流程图;2 is a schematic flowchart of a method for monitoring a software development process provided by another embodiment of the present application;
图3是本申请又一实施例提供的一种监控软件开发过程的方法的示意流程图;3 is a schematic flowchart of a method for monitoring a software development process provided by another embodiment of the present application;
图4是本申请再一实施例提供的一种监控软件开发过程的方法的示意流程图;4 is a schematic flowchart of a method for monitoring a software development process provided by still another embodiment of the present application;
图5是本申请一实施例提供的一种监控软件开发过程的装置的示意图;5 is a schematic diagram of a device for monitoring a software development process provided by an embodiment of the present application;
图6是本申请另一实施例提供的一种监控软件开发过程的终端的示意图。FIG. 6 is a schematic diagram of a terminal for monitoring a software development process provided by another embodiment of the present application.
本发明的实施方式Embodiments of the present invention
为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。In order to make the purpose, technical solutions and advantages of the present application more clearly understood, the present application will be described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application, but not to limit the present application.
软件开发过程中的质量监控很大程度决定了软件产品的质量,因此,对软件开发过程中各个流程阶段进行质量监控非常有必要。发明人意识到,现有的软件开发流程监管软件功能简单,不能准确以及全面地对软件开发过程中的所有流程阶段实现质量监控。例如,现有技术中通常只对软件开发过程中的开发阶段和测试阶段进行质量监控;且评价的方式比较单一,比如通过软件开发过程中是否遇到缺陷以及缺陷的数量来评估,导致开发得到的软件产品质量差、稳定性弱。The quality control in the software development process largely determines the quality of the software product. Therefore, it is very necessary to monitor the quality of each process stage in the software development process. The inventor realizes that the existing software development process monitoring software has simple functions, and cannot accurately and comprehensively implement quality monitoring for all process stages in the software development process. For example, in the prior art, only the development phase and the testing phase of the software development process are usually only monitored for quality; and the evaluation method is relatively simple, such as evaluating whether defects are encountered in the software development process and the number of defects, resulting in the development of The software products are of poor quality and weak stability.
有鉴于此,本申请提供了一种监控软件开发过程的方法,该方法中,根据目标软件的开发过程中每个阶段对应的不同的预设评分指标和预设评分计算方法,构建了每个阶段对应的软件质量监控模型;基于每个阶段分别对应的软件质量监控模型,对每个阶段进行质量监控,得到每个阶段分别对应的质量评分;根据每个阶段分别对应的质量评分,确定每个阶段是否需要调整。其中,目标软件的开发过程包括需求分析阶段、计划管理阶段、开发阶段、测试阶段以及发布阶段。基于该方法,对软件开发过程中的所有流程阶段都进行了质量监控,实现了对软件开发过程中的全面质量监控;且由于每个阶段对应的软件质量监控模型,都是根据每个阶段对应的不同的预设评分指标和预设评分计算方法构建而成的,基于这些软件质量监控模型对每个阶段进行质量监控时,得到的质量评分更准确,进而根据每个阶段分别对应的质量评分,对每个阶段进行适应性调整,可使最终开发出的目标软件质量好、稳定性强。In view of this, the present application provides a method for monitoring a software development process. In the method, according to different preset score indicators and preset score calculation methods corresponding to each stage in the development process of the target software, each The software quality monitoring model corresponding to each stage; based on the software quality monitoring model corresponding to each stage, the quality monitoring of each stage is carried out, and the corresponding quality score of each stage is obtained; according to the corresponding quality score of each stage, each stage is determined. Whether this stage needs to be adjusted. Among them, the development process of the target software includes the requirements analysis stage, the planning management stage, the development stage, the testing stage and the release stage. Based on this method, quality monitoring is carried out for all process stages in the software development process, realizing comprehensive quality monitoring in the software development process; and because the software quality monitoring model corresponding to each stage is based on the corresponding software quality of each stage It is constructed from different preset scoring indicators and preset scoring calculation methods based on these software quality monitoring models. When the quality monitoring of each stage is performed based on these software quality monitoring models, the quality score obtained is more accurate, and then the quality scores corresponding to each stage are obtained. , to make adaptive adjustments to each stage, so that the final developed target software has good quality and strong stability.
请参见图1,图1是本申请实施例提供的一种监控软件开发过程的方法的示意流程图。本实施例中监控软件开发过程的方法的执行主体为终端、服务器等,其中,终端包括但不限于智能手机、平板电脑、计算机、个人数字助理(Personal Digital Assistant,PDA)等移动终端,还可以包括台式电脑等终端。本实施例中以执行主体为终端为例进行说明,如图1所示的监控软件开发过程的方法可包括S101~S104,具体如下:Please refer to FIG. 1. FIG. 1 is a schematic flowchart of a method for monitoring a software development process provided by an embodiment of the present application. The execution subject of the method for monitoring a software development process in this embodiment is a terminal, a server, etc., wherein the terminal includes but is not limited to mobile terminals such as smart phones, tablet computers, computers, personal digital assistants (Personal Digital Assistant, PDA), etc. Including desktop computers and other terminals. In this embodiment, the execution subject is taken as an example for description. The method for monitoring the software development process shown in FIG. 1 may include S101 to S104, and the details are as follows:
S101:获取目标软件的开发过程中每个阶段分别对应的软件质量监控模型,其中,所述每个阶段分别对应的软件质量监控模型基于每个阶段对应的预设评分指标和预设评分计算方法构建得到,所述目标软件的开发过程包括需求分析阶段、计划管理阶段、开发阶段、测试阶段以及发布阶段。S101: Obtain a software quality monitoring model corresponding to each stage in the development process of the target software, wherein the software quality monitoring model corresponding to each stage is based on a preset scoring index and a preset scoring calculation method corresponding to each stage After construction, the development process of the target software includes a requirement analysis phase, a plan management phase, a development phase, a testing phase and a release phase.
可预先将目标软件的开发过程划分为需求分析阶段、计划管理阶段、开发阶段、测试阶段以及发布阶段。目标软件就是待开发的软件,可以理解为需要经过开发得到的我们最终想要的软件。软件的开发过程,通俗的讲就是基于软件设计思路和方法对该软件进行开发的整个过程,可以包括对目标软件预先设定的需求分析、该目标软件需要实现的功能、该目标软件对应的总体结构和各个模块、开发人员的工作分配、各个模块之间如何对接、实现该目标软件的算法、每个模块对应的编码方式、不同维度的测试、测试案例、发布时间、发布时需满足的条件等。根据包括的这些信息将目标软件的开发过程划分为需求分析阶段、计划管理阶段、开发阶段、测试阶段以及发布阶段。值得说明的是,不同的软件其对应的开发过程不同,最后划分得到的需求分析阶段、计划管理阶段、开发阶段、测试阶段、发布阶段这些阶段具体对应的内容也有可能不同。此处仅为示例性说明,对此不做限定。The development process of target software can be divided into requirements analysis stage, plan management stage, development stage, testing stage and release stage in advance. The target software is the software to be developed, which can be understood as the software we ultimately want that needs to be developed. The software development process, in layman's terms, is the entire process of developing the software based on software design ideas and methods, which can include the analysis of the preset requirements of the target software, the functions that the target software needs to achieve, and the overall corresponding to the target software. The structure and each module, the work assignment of developers, how to connect each module, the algorithm to realize the target software, the coding method corresponding to each module, the tests of different dimensions, the test case, the release time, and the conditions to be satisfied when releasing Wait. According to the included information, the development process of target software is divided into requirements analysis stage, planning management stage, development stage, testing stage and release stage. It is worth noting that the corresponding development processes of different software are different, and the specific content corresponding to the requirements analysis stage, plan management stage, development stage, testing stage, and release stage obtained by the final division may also be different. This is only an exemplary description, and it is not limited.
可选地,在一种可能的实现方式中,可以根据开发人员的经验对目标软件的开发过程进行划分,也可以是开发人员将目标软件的开发过程对应的各个阶段的文档上传至终端,终端识别各个阶段的文档,即识别需求分析阶段、计划管理阶段、开发阶段、测试阶段以及发布阶段各自对应的文档,实现对目标软件的开发过程的划分。此处仅为示例性说明,对此不做限定。Optionally, in a possible implementation manner, the development process of the target software may be divided according to the developer's experience, or the developer may upload the documents corresponding to each stage of the development process of the target software to the terminal, and the terminal Identify the documents of each stage, that is, identify the corresponding documents of the requirements analysis stage, the planning management stage, the development stage, the testing stage and the release stage, so as to realize the division of the development process of the target software. This is only an exemplary description, and it is not limited.
每个阶段具体的开发方式不一样,相应地,每个阶段对应的软件质量监控模型也不同。可预先根据每个阶段对应的预设评分指标和预设评分计算方法,构建得到每个阶段分别对应的软件质量监控模型。其中,每个阶段对应的预设评分指标和预设评分计算方法均不相同。The specific development methods of each stage are different, and correspondingly, the software quality monitoring model corresponding to each stage is also different. A software quality monitoring model corresponding to each stage can be constructed and obtained in advance according to the preset scoring index and the preset scoring calculation method corresponding to each stage. The preset scoring indicators and preset scoring calculation methods corresponding to each stage are different.
示例性地,根据需求分析阶段对应的第一预设评分指标和第一预设评分计算方法,构建需求分析阶段对应的第一软件质量监控模型。第一预设评分指标包括:需求确认、需求文档、需求评审。其中,需求确认包括:开发之前完成是否大于50%的需求确认、开发至整个开发周期的一半之前是否完成大于50%的需求确认。需求文档包括:是否有明确的需求文档。需求评审包括:是否进行需求评审、是否测试参与需求评审。该需求分析阶段对应的总的质量评分,可根据实际情况进行调整,本实施例中,需求分析阶段对应的总的质量评分为20分,其中,需求确认对应10分,需求文档对应5分,需求评审对应5分。此处仅为示例性说明,对此不做限定。Exemplarily, a first software quality monitoring model corresponding to the demand analysis stage is constructed according to the first preset scoring index and the first preset scoring calculation method corresponding to the demand analysis stage. The first preset scoring indicators include: requirement confirmation, requirement document, and requirement review. Among them, the requirements confirmation includes: whether more than 50% of the requirements are confirmed before development, and whether more than 50% of the requirements are confirmed before the development reaches half of the entire development cycle. Requirements documents include: whether there is a clear requirements document. Requirements review includes: whether to conduct requirements review and whether to test participation in requirements review. The total quality score corresponding to the demand analysis stage can be adjusted according to the actual situation. In this embodiment, the total quality score corresponding to the demand analysis stage is 20 points, of which, the demand confirmation corresponds to 10 points, and the demand document corresponds to 5 points. The needs assessment corresponds to 5 points. This is only an exemplary description, and it is not limited.
第一预设评分计算方法包括:开发之前完成大于50%的需求确认,对应的评分为该项评分的满分,例如5分;开发之前完成20%~50%的需求确认,对应的评分为该项评分的一半,例如2.5分;开发之前完成小于20%的需求确认,对应的评分为零分,例如0分;开发至整个开发周期的一半之前完成大于50%的需求确认,对应的评分为该项评分的满分,例如5分;开发至整个开发周期的一半之前完成20%~50%的需求确认,对应的评分为该项评分的一半,例如2.5分;开发至整个开发周期的一半之前完成小于20%的需求确认,对应的评分为零分,例如0分。The first preset score calculation method includes: completing more than 50% of the requirements confirmation before development, and the corresponding score is the full score of the score, for example, 5 points; completing 20% to 50% of the requirements confirmation before development, the corresponding score is the Half of the item's score, such as 2.5 points; less than 20% of the requirements confirmation before development, the corresponding score is zero, such as 0 points; more than 50% of the requirements confirmation completed before half of the development cycle, the corresponding score is The full score of this score, such as 5 points; 20% to 50% of the requirements confirmation is completed before half of the entire development cycle, and the corresponding score is half of the score, such as 2.5 points; before half of the entire development cycle is developed Completion of less than 20% of the demand confirmation, the corresponding score is zero, for example, 0 points.
第一预设评分计算方法还包括:有明确的需求文档,对应的评分为该项评分的满分,例如5分;没有明确的需求文档,对应的评分为零分,例如0分。The first preset score calculation method further includes: if there is a clear requirement document, the corresponding score is the full score of the score, such as 5 points; if there is no clear requirement document, the corresponding score is zero, such as 0 point.
第一预设评分计算方法还包括:进行需求评审,对应的评分为2分;不进行需求评审,对应的评分为0分;测试参与需求评审,对应的评分为3分;测试不参与需求评审,对应的评分为3分。The first preset score calculation method further includes: performing a requirement review, the corresponding score is 2 points; not performing the requirement review, the corresponding score is 0 points; the test participates in the requirements review, and the corresponding score is 3 points; the test does not participate in the requirements review , the corresponding score is 3 points.
根据上述列举出的第一预设评分指标和第一预设评分计算方法,构建得到需求分析阶段对应的第一软件质量监控模型。可根据该第一软件质量监控模型对目标软件的需求分析阶段进行质量监控。此处仅为示例性说明,对此不做限定。According to the first preset scoring index and the first preset scoring calculation method listed above, a first software quality monitoring model corresponding to the requirement analysis stage is constructed and obtained. According to the first software quality monitoring model, quality monitoring can be performed on the requirement analysis stage of the target software. This is only an exemplary description, and it is not limited.
示例性地,根据计划管理阶段对应的第二预设评分指标和第二预设评分计算方法,构建计划管理阶段对应的第二软件质量监控模型。第二预设评分指标包括:目标软件开发的版本计划合理性、故事(story)拆分合理性、story移交合理性。其中,目标软件开发的版本计划合理性包括:版本计划是否提前制定、是否有story的分期移交计划、测试是否参与分期移交计划制定、分期移交计划是否合理。story拆分合理性包括:story是否和线下拆分一致、story的拆分是否按照业务逻辑而不是按照(人头)任务分派、story是否拆分足够细。story移交合理性包括:Story是否按时移交、复杂功能移交后是否有充足的测试时间。该计划管理阶段对应的总的质量评分,可根据实际情况进行调整,本实施例中,计划管理阶段对应的总的质量评分为20分,其中,目标软件开发的版本计划合理性对应10分,story拆分合理性对应5分,story移交合理性对应5分。此处仅为示例性说明,对此不做限定。Exemplarily, according to the second preset scoring index corresponding to the planning management stage and the second preset scoring calculation method, a second software quality monitoring model corresponding to the planning management stage is constructed. The second preset scoring indicators include: the rationality of the version plan developed by the target software, the rationality of story splitting, and the rationality of story handover. Among them, the rationality of the version plan for target software development includes: whether the version plan is formulated in advance, whether there is a stage handover plan for the story, whether the test participates in the stage handover plan formulation, and whether the stage handover plan is reasonable. The rationality of story splitting includes: whether the story is consistent with the offline split, whether the story is split according to business logic rather than (head) task assignment, and whether the story is split sufficiently finely. The rationality of story handover includes: whether the story is handed over on time, and whether there is sufficient testing time after the handover of complex functions. The total quality score corresponding to the plan management stage can be adjusted according to the actual situation. In this embodiment, the total quality score corresponding to the plan management stage is 20 points, of which the rationality of the version plan for target software development corresponds to 10 points. The rationality of story splitting corresponds to 5 points, and the rationality of story handover corresponds to 5 points. This is only an exemplary description, and it is not limited.
第二预设评分计算方法包括:版本计划提前制定,对应的评分为2分,版本计划未提前制定,对应的评分为0分;有story的分期移交计划,对应的评分为3分,没有story的分期移交计划,对应的评分为0分;测试参与分期移交计划制定,对应的评分为2分,测试不参与分期移交计划制定,对应的评分为0分;分期移交计划合理,对应的评分为3分,分期移交计划不合理,对应的评分为0分。The second preset score calculation method includes: if the version plan is formulated in advance, the corresponding score is 2 points; if the version plan is not formulated in advance, the corresponding score is 0; if there is a stage handover plan with a story, the corresponding score is 3 points, and there is no story. The corresponding score is 0 points if the test is involved in the staged handover plan formulation; if the test participates in the staged handover plan formulation, the corresponding score is 2 points; if the test does not participate in the staged handover plan formulation, the corresponding score is 0; if the staged handover plan is reasonable, the corresponding score is 3 points, the phased handover plan is unreasonable, and the corresponding score is 0 points.
第二预设评分计算方法还包括:story和线下拆分一致,对应的评分为2分;story和线下拆分不一致,对应的评分为0分;story的拆分按照业务逻辑而不是按照(人头)任务分派,对应的评分为2分;story的拆分按照(人头)任务分派,对应的评分为0分;story是否拆分按个数比例计算,对应的评分为预设常数与比例的乘积(例如统计得到没有超过3天的story比率为40%,对应的评分为6*0.4=2.4分)。The second preset score calculation method further includes: the story and offline split are consistent, and the corresponding score is 2 points; the story and offline split are inconsistent, and the corresponding score is 0 points; the story is split according to business logic, not according to (Human head) task assignment, the corresponding score is 2 points; stories are divided according to (human head) task assignment, the corresponding score is 0 points; whether the story is split is calculated in proportion to the number, and the corresponding score is a preset constant and ratio (for example, the ratio of stories that do not exceed 3 days is 40%, and the corresponding score is 6*0.4=2.4 points).
第二预设评分计算方法还包括:Story全部按时移交,对应的分数为2分;Story部分按时移交,对应的评分为移交比例与2(2为Story全部按时移交时对应的分数)的乘积;复杂功能移交后有充足的测试时间,对应的分数为3分;复杂功能移交后没有充足的测试时间,对应的分数为0分。其中,当复杂功能移交后还有大于或等于整个开发周期30%的时间作为测试时间,判定复杂功能移交后有充足的测试时间;当复杂功能移交后还有小于整个开发周期30%的时间作为测试时间,判定复杂功能移交后没有充足的测试时间。The second preset score calculation method also includes: all the stories are handed over on time, and the corresponding score is 2 points; part of the stories is handed over on time, and the corresponding score is the product of the handover ratio and 2 (2 is the score corresponding to when all the stories are handed over on time); If there is sufficient test time after the handover of complex functions, the corresponding score is 3 points; if there is insufficient test time after the handover of complex functions, the corresponding score is 0 points. Among them, when the complex function is handed over, there is still more than or equal to 30% of the entire development cycle as the test time, and it is determined that there is sufficient test time after the complex function is handed over; when the complex function is handed over, there is still less than 30% of the entire development cycle. Testing time, it is determined that there is insufficient testing time after the handover of complex functions.
根据上述列举出的第二预设评分指标和第二预设评分计算方法,构建得到计划管理阶段对应的第二软件质量监控模型。可根据该第二软件质量监控模型对目标软件的计划管理阶段进行质量监控。此处仅为示例性说明,对此不做限定。According to the second preset score index and the second preset score calculation method listed above, a second software quality monitoring model corresponding to the plan management stage is constructed and obtained. According to the second software quality monitoring model, quality monitoring can be performed on the planning management stage of the target software. This is only an exemplary description, and it is not limited.
示例性地,根据开发阶段对应的第三预设评分指标和第三预设评分计算方法,构建开发阶段对应的第三软件质量监控模型。第三预设评分指标包括:开发设计、开发合规性。其中,开发设计包括:是否进行设计评审、是否交付详细的测试设计文档;开发合规性包括:是否有夹带修改、是否人为控制缺陷数量。该开发阶段对应的总的质量评分,可根据实际情况进行调整,本实施例中,开发阶段对应的总的质量评分为20分,其中,开发设计对应10分,开发合规性对应5分。此处仅为示例性说明,对此不做限定。Exemplarily, a third software quality monitoring model corresponding to the development stage is constructed according to the third preset score index and the third preset score calculation method corresponding to the development stage. The third preset scoring indicators include: development design and development compliance. Among them, the development design includes: whether to conduct a design review and whether to deliver detailed test design documents; development compliance includes: whether there are entrained modifications, and whether the number of defects is artificially controlled. The total quality score corresponding to the development stage can be adjusted according to the actual situation. In this embodiment, the total quality score corresponding to the development stage is 20 points, of which the development design corresponds to 10 points, and the development compliance corresponds to 5 points. This is only an exemplary description, and it is not limited.
第三预设评分计算方法包括:进行设计评审,对应的分数为5分;不进行设计评审,对应的分数为0分;交付详细的测试设计文档,对应的分数为5分;未交付详细的测试设计文档,对应的分数为0分。The third preset score calculation method includes: design review, the corresponding score is 5 points; no design review, the corresponding score is 0 points; detailed test design documents are delivered, the corresponding score is 5 points; no detailed test design documents are delivered, the corresponding score is 5 points; Test design documents, the corresponding score is 0 points.
第三预设评分计算方法还包括:有夹带修改,对应的分数为5分;没有夹带修改,对应的分数为0分;人为控制缺陷数量,对应的分数为5分;非人为控制缺陷数量,对应的分数为0分。The third preset score calculation method further includes: if there is an entrainment modification, the corresponding score is 5 points; if there is no entrainment modification, the corresponding score is 0 points; the number of defects is artificially controlled, and the corresponding score is 5 points; The corresponding score is 0.
根据上述列举出的第三预设评分指标和第三预设评分计算方法,构建得到开发阶段对应的第三软件质量监控模型。可根据该第三软件质量监控模型对目标软件的开发阶段进行质量监控。此处仅为示例性说明,对此不做限定。According to the third preset score index and the third preset score calculation method listed above, a third software quality monitoring model corresponding to the development stage is constructed and obtained. The quality monitoring of the development stage of the target software can be performed according to the third software quality monitoring model. This is only an exemplary description, and it is not limited.
示例性地,根据测试阶段对应的第四预设评分指标和第四预设评分计算方法,构建测试阶段对应的第四软件质量监控模型。第四预设评分指标包括:是否有测试案例评审环节、是否有测试进度报告、是否有用户验收测试(User Acceptance Test,UAT)进入通知、是否有UAT验收结果、是否准时完成系统测试、是否准时进行软件封板。该测试阶段对应的总的质量评分,可根据实际情况进行调整,本实施例中,测试阶段对应的总的质量评分为20分。此处仅为示例性说明,对此不做限定。Exemplarily, according to the fourth preset scoring index corresponding to the testing stage and the fourth preset scoring calculation method, a fourth software quality monitoring model corresponding to the testing stage is constructed. The fourth preset scoring indicator includes: whether there is a test case review link, whether there is a test progress report, whether there is a User Acceptance Test (UAT) entry notification, whether there is a UAT acceptance result, whether the system test is completed on time, whether it is on time Perform software sealing. The total quality score corresponding to the testing stage can be adjusted according to the actual situation. In this embodiment, the total quality score corresponding to the testing stage is 20 points. This is only an exemplary description, and it is not limited.
第四预设评分计算方法包括:有测试案例评审环节,对应的分数为2分;没有测试案例评审环节,对应的分数为0分;有测试进度报告,对应的分数为2分;没有测试进度报告,对应的分数为0分;有用户验收测试UAT进入通知,对应的分数为1分;没有用户验收测试UAT进入通知,对应的分数为0分; 有UAT验收结果,对应的分数为1分;没有UAT验收结果,对应的分数为0分;准时完成系统测试,对应的分数为7分;不能准时完成系统测试,对应的分数为0分;准时进行软件封板,对应的分数为7分;不能准时进行软件封板,对应的分数为0分。The fourth preset score calculation method includes: if there is a test case review process, the corresponding score is 2 points; if there is no test case review process, the corresponding score is 0 points; if there is a test progress report, the corresponding score is 2 points; if there is no test progress report, the corresponding score is 2 points. Report, the corresponding score is 0; there is a user acceptance test UAT entry notification, the corresponding score is 1; there is no user acceptance test UAT entry notification, the corresponding score is 0; there is a UAT acceptance result, the corresponding score is 1 point If there is no UAT acceptance result, the corresponding score is 0; if the system test is completed on time, the corresponding score is 7; if the system test cannot be completed on time, the corresponding score is 0; if the software sealing board is completed on time, the corresponding score is 7 ; If the software cannot be sealed on time, the corresponding score is 0.
根据上述列举出的第四预设评分指标和第四预设评分计算方法,构建得到测试阶段对应的第四软件质量监控模型。可根据该第四软件质量监控模型对目标软件的测试阶段进行质量监控。此处仅为示例性说明,对此不做限定。According to the fourth preset scoring index and the fourth preset scoring calculation method listed above, a fourth software quality monitoring model corresponding to the testing stage is constructed and obtained. The quality monitoring of the test phase of the target software can be performed according to the fourth software quality monitoring model. This is only an exemplary description, and it is not limited.
示例性地,根据发布阶段对应的第五预设评分指标和第五预设评分计算方法,构建发布阶段对应的第五软件质量监控模型。第五预设评分指标包括:目标软件对应的缺陷密度、目标软件对应的缺陷比例、是否冒烟通过、缺陷重修个数。该发布阶段对应的总的质量评分,可根据实际情况进行调整,本实施例中,发布阶段对应的总的质量评分为20分。此处仅为示例性说明,对此不做限定。Exemplarily, a fifth software quality monitoring model corresponding to the release phase is constructed according to the fifth preset score index and the fifth preset score calculation method corresponding to the release phase. The fifth preset scoring index includes: the defect density corresponding to the target software, the defect ratio corresponding to the target software, whether it passes through with smoke, and the number of defects to be repaired. The total quality score corresponding to the release stage can be adjusted according to the actual situation. In this embodiment, the total quality score corresponding to the release stage is 20 points. This is only an exemplary description, and it is not limited.
第五预设评分计算方法包括:缺陷密度小于或等于0.1,对应的分数为5分;缺陷密度大于0.1,且小于或等于0.2,对应的分数为2.5分;缺陷密度大于0.2,对应的分数为0分。缺陷比例小于或等于5%,对应的分数为5分;缺陷比例大于5%,且小于或等于20%,对应的分数为2.5分;缺陷比例大于20%,对应的分数为0分。是否冒烟通过,对应的分数为正常移交个数的比率与分数5的乘积。缺陷重修个数为0,对应的分数为5分;缺陷重修个数小于或等于5,对应的分数为2.5分;缺陷重修个数大于5,对应的分数为0分。The fifth preset score calculation method includes: if the defect density is less than or equal to 0.1, the corresponding score is 5 points; if the defect density is greater than 0.1 and less than or equal to 0.2, the corresponding score is 2.5 points; if the defect density is greater than 0.2, the corresponding score is 0 marks. If the proportion of defects is less than or equal to 5%, the corresponding score is 5 points; if the proportion of defects is greater than 5% and less than or equal to 20%, the corresponding score is 2.5 points; if the proportion of defects is greater than 20%, the corresponding score is 0 points. Whether the smoke passes through, the corresponding score is the product of the ratio of the number of normal handovers and the score 5. If the number of defect repairs is 0, the corresponding score is 5 points; if the number of defect repairs is less than or equal to 5, the corresponding score is 2.5 points; if the number of defect repairs is greater than 5, the corresponding score is 0 points.
根据上述列举出的第五预设评分指标和第五预设评分计算方法,构建得到发布阶段对应的第五软件质量监控模型。可根据该第五软件质量监控模型对目标软件的发布阶段进行质量监控。此处仅为示例性说明,对此不做限定。According to the fifth preset score index and the fifth preset score calculation method listed above, a fifth software quality monitoring model corresponding to the release stage is constructed and obtained. According to the fifth software quality monitoring model, quality monitoring can be performed on the release stage of the target software. This is only an exemplary description, and it is not limited.
终端获取每个阶段分别对应的软件质量监控模型。即终端获取需求分析阶段对应的第一软件质量监控模型、计划管理阶段对应的第二软件质量监控模型、开发阶段对应的第三软件质量监控模型、测试阶段对应的第四软件质量监控模型以及发布阶段对应的第五软件质量监控模型。The terminal obtains the software quality monitoring model corresponding to each stage. That is, the terminal obtains the first software quality monitoring model corresponding to the demand analysis phase, the second software quality monitoring model corresponding to the planning management phase, the third software quality monitoring model corresponding to the development phase, the fourth software quality monitoring model corresponding to the testing phase, and the release The fifth software quality monitoring model corresponding to the stage.
S102:根据每个阶段分别对应的软件质量监控模型,分别对每个阶段进行质量监控,得到每个阶段分别对应的质量评分。S102: According to the software quality monitoring model corresponding to each stage, perform quality monitoring on each stage respectively, and obtain a quality score corresponding to each stage.
基于每个阶段对应的不同的软件质量监控模型,分别对每个阶段进行质量监控。示例性地,采集目标软件在开发至每个阶段时所产生的数据,通过每个阶段对应的软件质量监控模型中的预设评分指标和预设评分计算方法,对每个阶段产生的数据进行评分,得到每个阶段分别对应的质量评分。其中,采集目标软件在开发至每个阶段时所产生的数据,可以是开发人员上传的目标软件在开发至每个阶段时所产生的数据,也可以是在实际开发过程中,该目标软件在开发至每个阶段时所产生的数据。此处仅为示例性说明,对此不做限定。Based on the different software quality monitoring models corresponding to each stage, the quality of each stage is monitored separately. Exemplarily, collect the data generated when the target software is developed to each stage, and perform the data generated in each stage through the preset scoring index and preset scoring calculation method in the software quality monitoring model corresponding to each stage. Score to get the quality score corresponding to each stage. Among them, the data collected when the target software is developed to each stage can be the data generated by the target software uploaded by the developer when the target software is developed to each stage, or it can be in the actual development process. Data generated at each stage of development. This is only an exemplary description, and it is not limited.
请参见图2,图2是本申请另一实施例提供的一种监控软件开发过程的方法的示意流程图。可选地,在一种可能的实现方式中,如图2所示,上述S102可以包括S1021~S1022,具体如下:Please refer to FIG. 2, which is a schematic flowchart of a method for monitoring a software development process provided by another embodiment of the present application. Optionally, in a possible implementation manner, as shown in FIG. 2 , the foregoing S102 may include S1021 to S1022, and the details are as follows:
S1021:采集所述目标软件在开发至第一阶段时产生的目标数据,所述第一阶段为所述每个阶段中的任一阶段。S1021: Collect target data generated when the target software is developed to a first stage, where the first stage is any stage in each of the stages.
S1022:基于所述第一阶段对应的软件质量监控模型中的预设评分指标和预设评分计算方法,对所述目标数据进行评分,得到所述第一阶段对应的质量评分。S1022: Score the target data based on the preset scoring index and the preset scoring calculation method in the software quality monitoring model corresponding to the first stage, to obtain a quality score corresponding to the first stage.
每个阶段指的就是目标软件的开发过程中的需求分析阶段、计划管理阶段、开发阶段、测试阶段以及发布阶段。第一阶段可以依次为需求分析阶段、计划管理阶段、开发阶段、测试阶段以及发布阶段。Each stage refers to the requirements analysis stage, plan management stage, development stage, testing stage and release stage in the development process of the target software. The first stage can be followed by requirements analysis stage, plan management stage, development stage, testing stage and release stage.
可预先获取目标软件对应的版本信息,基于该版本信息确定该目标软件目前处于哪个阶段。例如,可通过调用应用程序接口(Application Programming Interface,API)和/或预设的缺陷管理系统,自动获取到该目标软件对应的版本信息,该版本信息用于指示该目标软件目前处于哪个阶段。此处仅为示例性说明,对此不做限定。The version information corresponding to the target software may be acquired in advance, and based on the version information, the current stage of the target software may be determined. For example, the version information corresponding to the target software can be automatically obtained by calling an application programming interface (Application Programming Interface, API) and/or a preset defect management system, and the version information is used to indicate which stage the target software is currently in. This is only an exemplary description, and it is not limited.
示例性地,当第一阶段为需求分析阶段时,采集目标软件在开发至需求分析阶段时产生的目标数据。例如,该目标软件在需求分析阶段开发人员上传了需求确认进度文件、需求文档、需求评审请求,此时采集到的目标数据可以包括:需求确认进度文件、需求文档、需求评审请求。Exemplarily, when the first stage is the requirements analysis stage, target data generated when the target software is developed to the requirements analysis stage is collected. For example, in the requirement analysis stage, the developer of the target software uploads a requirement confirmation progress file, a requirement document, and a requirement review request. The target data collected at this time may include: a requirement confirmation progress document, a requirement document, and a requirement review request.
根据需求分析阶段对应的第一软件质量监控模型中的第一预设评分指标和第一预设评分计算方法,对该目标数据进行评分。例如,根据需求确认进度文件中需求确认实际完成的情况,为该项进行打分。如根据该需求确认进度文件,只确定开发之前完成了大于50%的需求确认,对应的评分为5分。又例如,检测到需求文档中都为明确的需求,对应的评分为5分。目标数据中包含需求评审请求,该项对应的评分为5分。The target data is scored according to the first preset scoring index and the first preset scoring calculation method in the first software quality monitoring model corresponding to the requirement analysis stage. For example, the item is scored according to the actual completion of the requirement confirmation in the requirement confirmation progress document. If the progress document is confirmed according to the requirement, only the requirement confirmation of more than 50% has been completed before the development, and the corresponding score is 5 points. For another example, it is detected that all requirements in the requirements document are clear requirements, and the corresponding score is 5 points. The target data contains a requirement review request, and the corresponding score for this item is 5 points.
对目标数据进行评分后,将每条数据对应的分数相加,得到需求分析阶段对应的质量评分。例如,将需求确认进度文件对应的5分、需求文档对应的5分以及需求评审请求对应的5分相加,得到15分,则需求分析阶段对应的质量评分为15分。此处仅为示例性说明,对此不做限定。After scoring the target data, add the scores corresponding to each piece of data to obtain the quality score corresponding to the demand analysis stage. For example, adding 5 points corresponding to the requirements confirmation progress document, 5 points corresponding to the requirements document, and 5 points corresponding to the requirements review request, to obtain 15 points, the quality score corresponding to the requirements analysis stage is 15 points. This is only an exemplary description, and it is not limited.
示例性地,当第一阶段为计划管理阶段时,采集目标软件在开发至计划管理阶段时产生的目标数据。例如,该目标软件在计划管理阶段开发人员上传了版本计划合理性文档、story拆分合理性文档、story移交合理性文档,此时采集到的目标数据可以包括:版本计划合理性文档、story拆分合理性文档、story移交合理性文档。其中,版本计划合理性文档包括版本计划提前制定、测试参与分期移交计划制定、分期移交计划合理。story拆分合理性文档包括story的拆分按照(人头)任务分派、story和线下拆分一致、没有超过3天的story比率为40%。story移交合理性文档包括Story全部按时移交、复杂功能移交后还有大于或等于整个开发周期30%的时间作为测试时间。Exemplarily, when the first stage is the planning management stage, the target data generated when the target software is developed to the planning management stage is collected. For example, in the planning management stage of the target software, the developer uploads the version plan rationality document, the story split rationality document, and the story handover rationality document. The target data collected at this time may include: version plan rationality document, story split rationality document It is divided into rationality documents and story handover rationality documents. Among them, the version plan rationality document includes the preparation of the version plan in advance, the test participation in the staged handover plan formulation, and the reasonable staged handover plan. The rationality of story splitting document includes that the splitting of stories is based on (human head) task assignment, the splitting of stories and offline is consistent, and the ratio of stories that do not exceed 3 days is 40%. The rationality document of story handover includes that all stories are handed over on time, and after the handover of complex functions, there is more than or equal to 30% of the whole development cycle time as testing time.
根据计划管理阶段对应的第二软件质量监控模型中的第二预设评分指标和第二预设评分计算方法,对该目标数据进行评分。例如,基于第二预设评分指标和第二预设评分计算方法,对版本计划提前制定评分为2分;没检测到story的分期移交计划,对应的评分为0分;测试参与分期移交计划制定,对应的评分为2分;story和线下拆分一致,对应的评分为2分;story的拆分按照(人头)任务分派,对应的评分为0分;没有超过3天的story比率为40%,对应的评分为6*0.4=2.4分;Story全部按时移交,对应的分数为2分;复杂功能移交后还有大于或等于整个开发周期30%的时间作为测试时间,判定复杂功能移交后有充足的测试时间,对应的分数为3分。The target data is scored according to the second preset scoring index and the second preset scoring calculation method in the second software quality monitoring model corresponding to the plan management stage. For example, based on the second preset scoring index and the second preset scoring calculation method, a score of 2 points is given to the version plan in advance; if the stage handover plan of the story is not detected, the corresponding score is 0 point; the test participates in the stage handover plan formulation , the corresponding score is 2 points; the story and offline splits are the same, the corresponding score is 2 points; the split of the story is assigned according to the task (head), and the corresponding score is 0 points; the story ratio of no more than 3 days is 40 %, the corresponding score is 6*0.4=2.4 points; all stories are handed over on time, and the corresponding score is 2 points; after the handover of complex functions, there is still more than or equal to 30% of the whole development cycle time as testing time, it is determined that after the handover of complex functions There is sufficient test time, and the corresponding score is 3 points.
对目标数据进行评分后,将每条数据对应的分数相加,得到计划管理阶段对应的质量评分。例如,将上述计划管理阶段对应的目标数据中各个数据的分数相加得到13.4分,即计划管理阶段对应的质量评分为13.4分。此处仅为示例性说明,对此不做限定。After scoring the target data, add the scores corresponding to each data to obtain the quality score corresponding to the planning management stage. For example, the scores of each data in the target data corresponding to the above-mentioned plan management stage are added up to obtain 13.4 points, that is, the quality score corresponding to the plan management stage is 13.4 points. This is only an exemplary description, and it is not limited.
示例性地,当第一阶段为开发阶段时,采集目标软件在开发至开发阶段时产生的目标数据。例如,采集到该开发阶段对应的目标数据包括:进行设计评审信息、详细的测试设计文档、有夹带修改、非人为控制缺陷数量。Exemplarily, when the first stage is the development stage, target data generated when the target software is developed to the development stage is collected. For example, the collected target data corresponding to this development stage include: design review information, detailed test design documents, entrained modifications, and non-human control of the number of defects.
根据开发阶段对应的第三软件质量监控模型中的第三预设评分指标和第三预设评分计算方法,对该目标数据进行评分。例如,基于第三预设评分指标和第三预设评分计算方法,对进行设计评审信息评分为5分;检测到详细的测试设计文档,对应的分数为5分;检测到有夹带修改,对应的分数为5分;检测到非人为控制缺陷数量,对应的分数为0分。The target data is scored according to the third preset scoring index and the third preset scoring calculation method in the third software quality monitoring model corresponding to the development stage. For example, based on the third preset scoring index and the third preset scoring calculation method, the design review information is scored as 5 points; the detailed test design document is detected, the corresponding score is 5 points; the entrainment modification is detected, the corresponding score is 5 points. The score is 5 points; the number of non-artificial control defects is detected, and the corresponding score is 0 points.
对目标数据进行评分后,将每条数据对应的分数相加,得到开发阶段对应的质量评分。例如,将上述开发阶段对应的目标数据中各个数据的分数相加得到15分,即开发对应的质量评分为15分。此处仅为示例性说明,对此不做限定。After scoring the target data, add the scores corresponding to each data to obtain the quality score corresponding to the development stage. For example, the scores of each data in the target data corresponding to the above-mentioned development stage are added up to obtain 15 points, that is, the quality score corresponding to the development is 15 points. This is only an exemplary description, and it is not limited.
示例性地,当第一阶段为测试阶段时,采集目标软件在开发至测试阶段时产生的目标数据。例如,采集到该测试阶段对应的目标数据包括:测试案例评审环节信息、测试进度报告、UAT验收结果、完成系统测试的时间、进行软件封板的时间。Exemplarily, when the first stage is the testing stage, target data generated when the target software is developed to the testing stage is collected. For example, the collected target data corresponding to this test stage include: test case review link information, test progress report, UAT acceptance result, time to complete the system test, and time to seal the software.
根据测试阶段对应的第四软件质量监控模型中的第四预设评分指标和第四预设评分计算方法,对该目标数据进行评分。例如,基于第四预设评分指标和第四预设评分计算方法,对检测到的测试案例评审环节信息评分为2分;检测到测试进度报告,对应的分数为2分;未检测到用户验收测试UAT进入通知,对应的分数为0分;检测到UAT验收结果,对应的分数为1分;检测完成系统测试的时间在预设的完成时间内,对应的分数为7分;检测进行软件封板的时间未在预设的封板时间内,对应的分数为0分。The target data is scored according to the fourth preset scoring index and the fourth preset scoring calculation method in the fourth software quality monitoring model corresponding to the testing stage. For example, based on the fourth preset scoring index and the fourth preset scoring calculation method, the detected test case review link information is scored as 2 points; the test progress report is detected, the corresponding score is 2 points; the user acceptance is not detected When testing the UAT entry notification, the corresponding score is 0; if the UAT acceptance result is detected, the corresponding score is 1; when the system test is completed within the preset completion time, the corresponding score is 7; If the time of the plate is not within the preset sealing time, the corresponding score is 0.
对目标数据进行评分后,将每条数据对应的分数相加,得到测试阶段对应的质量评分。例如,将上述测试阶段对应的目标数据中各个数据的分数相加得到12分,即开发对应的质量评分为12分。此处仅为示例性说明,对此不做限定。After scoring the target data, add the scores corresponding to each data to obtain the quality score corresponding to the testing stage. For example, the scores of each data in the target data corresponding to the above-mentioned testing stage are added up to obtain 12 points, that is, the quality score corresponding to the development is 12 points. This is only an exemplary description, and it is not limited.
示例性地,当第一阶段为发布阶段时,采集目标软件在开发至发布阶段时产生的目标数据。例如,采集到该发布阶段对应的目标数据包括:缺陷密度为0.15、目标软件对应的缺陷比例10%、正常移交个数的比率0.6、缺陷重修个数3。Exemplarily, when the first stage is the release stage, target data generated when the target software is developed to the release stage is collected. For example, the collected target data corresponding to this release stage include: defect density of 0.15, defect ratio corresponding to target software 10%, normal handover ratio of 0.6, and defect repaired number of 3.
根据发布阶段对应的第五软件质量监控模型中的第五预设评分指标和第五预设评分计算方法,对该目标数据进行评分。例如,基于第五预设评分指标和第五预设评分计算方法,对缺陷密度0.15评分为2.5分;目标软件对应的缺陷比例10%,对应的分数为2.5分;正常移交个数的比率0.6,对应的分数为5*0.6=3分;缺陷重修个数3,对应的分数为2.5分。The target data is scored according to the fifth preset scoring index and the fifth preset scoring calculation method in the fifth software quality monitoring model corresponding to the release stage. For example, based on the fifth preset scoring index and the fifth preset scoring calculation method, the defect density of 0.15 is scored as 2.5 points; the defect ratio corresponding to the target software is 10%, the corresponding score is 2.5 points; the ratio of the number of normal handovers is 0.6 , the corresponding score is 5*0.6=3 points; the number of defect repairs is 3, and the corresponding score is 2.5 points.
对目标数据进行评分后,将每条数据对应的分数相加,得到发布阶段对应的质量评分。例如,将上述发布阶段对应的目标数据中各个数据的分数相加得到10.5分,即开发对应的质量评分为10.5分。此处仅为示例性说明,对此不做限定。After scoring the target data, add the scores corresponding to each piece of data to obtain the quality score corresponding to the release stage. For example, the scores of each data in the target data corresponding to the above-mentioned release stage are added up to obtain 10.5 points, that is, the quality score corresponding to the development is 10.5 points. This is only an exemplary description, and it is not limited.
S103:根据每个阶段分别对应的质量评分,确定每个阶段是否需要调整。S103: Determine whether each stage needs to be adjusted according to the quality score corresponding to each stage.
可以预先设置每个阶段对应的不同的预设阈值,每个阶段对应的预设阈值用于判断每个阶段对应的质量评分是否达标,进而判断每个阶段是否需要调整。Different preset thresholds corresponding to each stage can be preset, and the preset thresholds corresponding to each stage are used to judge whether the quality score corresponding to each stage meets the standard, and then judge whether each stage needs to be adjusted.
当某个阶段需要调整时,以该阶段的目标数据中各个数据对应的分数为依据,对该阶段进行调整。例如,某个数据对应分数低,影响了该阶段总体的质量评分,则对该数据对应的事项进行相应的调整。此处仅为示例性说明,对此不做限定。When a stage needs to be adjusted, the stage is adjusted based on the scores corresponding to each data in the target data of the stage. For example, if the corresponding score of a certain data is low, which affects the overall quality score of this stage, the items corresponding to the data should be adjusted accordingly. This is only an exemplary description, and it is not limited.
请参见图3,图3是本申请又一实施例提供的一种监控软件开发过程的方法的示意流程图。可选地,在一种可能的实现方式中,如图3所示,上述S103可以包括S1031~S1033,值得说明的是,S1032与S1033并列,根据质量评分与预设阈值的比较结果,确定S1031后执行S1032还是S1033,而并非在S1032后执行S1033,具体如下:Please refer to FIG. 3 , which is a schematic flowchart of a method for monitoring a software development process provided by another embodiment of the present application. Optionally, in a possible implementation manner, as shown in FIG. 3 , the above S103 may include S1031 to S1033. It is worth noting that S1032 is parallel to S1033, and S1031 is determined according to the comparison result between the quality score and the preset threshold. Whether to execute S1032 or S1033 after S1032, instead of executing S1033 after S1032, is as follows:
S1031:获取所述第一阶段对应的质量评分。S1031: Obtain the quality score corresponding to the first stage.
S1032:当检测到所述质量评分小于预设阈值时,确定所述第一阶段需要调整。或,S1033:当检测到所述质量评分大于或等于所述预设阈值时,确定所述第一阶段不需要调整。S1032: When it is detected that the quality score is less than a preset threshold, determine that the first stage needs to be adjusted. Or, S1033: When it is detected that the quality score is greater than or equal to the preset threshold, determine that the first stage does not need to be adjusted.
示例性地,当第一阶段为需求分析阶段时,获取该需求分析阶段对应的第一预设阈值,该第一预设阈值用于判断需求分析阶段对应的质量评分是否达标,进而判断需求分析阶段是否需要调整。第一预设阈值可根据不同的目标软件进行调整,例如,第一预设阈值可以为12分,获取该需求分析阶段对应的质量评分为15分。Exemplarily, when the first stage is the demand analysis stage, a first preset threshold value corresponding to the demand analysis stage is obtained, and the first preset threshold value is used to judge whether the quality score corresponding to the demand analysis stage meets the standard, and then judge the demand analysis stage. Whether the stage needs to be adjusted. The first preset threshold may be adjusted according to different target software. For example, the first preset threshold may be 12 points, and the quality score corresponding to the requirement analysis stage is obtained as 15 points.
比较需求分析阶段对应的质量评分15分与第一预设阈值12分的大小,显然,需求分析阶段对应的质量评分大于第一预设阈值,确定需求分析阶段不需要调整。此处仅为示例性说明,对此不做限定。Comparing the quality score of 15 points corresponding to the demand analysis stage and the first preset threshold of 12 points, obviously, the quality score corresponding to the demand analysis stage is greater than the first preset threshold, and it is determined that the demand analysis stage does not need to be adjusted. This is only an exemplary description, and it is not limited.
示例性地,当第一阶段为计划管理阶段时,获取该计划管理阶段对应的第二预设阈值,该第二预设阈值用于判断计划管理阶段对应的质量评分是否达标,进而判断计划管理阶段是否需要调整。第二预设阈值可根据不同的目标软件进行调整,例如,第二预设阈值可以为15分,获取该计划管理阶段对应的质量评分为13.4分。Exemplarily, when the first stage is the plan management stage, a second preset threshold value corresponding to the plan management stage is obtained, and the second preset threshold value is used to judge whether the quality score corresponding to the plan management stage meets the standard, and then judge the plan management stage. Whether the stage needs to be adjusted. The second preset threshold may be adjusted according to different target software. For example, the second preset threshold may be 15 points, and the quality score corresponding to the acquisition of the plan management stage is 13.4 points.
比较计划管理阶段对应的质量评分13.4分与第二预设阈值15分的大小,显然,计划管理阶段对应的质量评分小于第二预设阈值,确定计划管理阶段需要调整。此处仅为示例性说明,对此不做限定。Comparing the quality score of 13.4 points corresponding to the plan management stage and the second preset threshold of 15 points, it is obvious that the quality score corresponding to the plan management stage is less than the second preset threshold, and it is determined that the plan management stage needs to be adjusted. This is only an exemplary description, and it is not limited.
示例性地,当第一阶段为开发阶段时,获取该开发阶段对应的第三预设阈值,该第三预设阈值用于判断开发阶段对应的质量评分是否达标,进而判断开发阶段是否需要调整。第三预设阈值可根据不同的目标软件进行调整,例如,第三预设阈值可以为14分,获取该开发阶段对应的质量评分为15分。Exemplarily, when the first stage is the development stage, a third preset threshold value corresponding to the development stage is obtained, and the third preset threshold value is used to judge whether the quality score corresponding to the development stage meets the standard, and then judge whether the development stage needs to be adjusted. . The third preset threshold may be adjusted according to different target software. For example, the third preset threshold may be 14 points, and the quality score corresponding to the development stage is obtained as 15 points.
比较开发阶段对应的质量评分15分与第三预设阈值14分的大小,显然,开发阶段对应的质量评分大于第三预设阈值,确定开发阶段不需要调整。此处仅为示例性说明,对此不做限定。Comparing the quality score of 15 points corresponding to the development stage and the third preset threshold of 14 points, it is obvious that the quality score corresponding to the development stage is greater than the third preset threshold, and it is determined that the development stage does not need to be adjusted. This is only an exemplary description, and it is not limited.
示例性地,当第一阶段为测试阶段时,获取该测试阶段对应的第四预设阈值,该第四预设阈值用于判断测试阶段对应的质量评分是否达标,进而判断测试阶段是否需要调整。第四预设阈值可根据不同的目标软件进行调整,例如,第四预设阈值可以为15分,获取该开发阶段对应的质量评分为12分。Exemplarily, when the first stage is a testing stage, a fourth preset threshold value corresponding to the testing stage is obtained, and the fourth preset threshold value is used to judge whether the quality score corresponding to the testing stage reaches the standard, and then judge whether the testing stage needs to be adjusted. . The fourth preset threshold may be adjusted according to different target software. For example, the fourth preset threshold may be 15 points, and the quality score corresponding to the development stage is obtained as 12 points.
比较测试阶段对应的质量评分12分与第四预设阈值15分的大小,显然,开发阶段对应的质量评分小于第四预设阈值,确定测试阶段需要调整。此处仅为示例性说明,对此不做限定。Comparing the quality score of 12 points corresponding to the testing stage and the fourth preset threshold of 15 points, it is obvious that the quality score corresponding to the development stage is less than the fourth preset threshold, and it is determined that the testing stage needs to be adjusted. This is only an exemplary description, and it is not limited.
示例性地,当第一阶段为发布阶段时,获取该发布阶段对应的第五预设阈值,该第五预设阈值用于判断发布阶段对应的质量评分是否达标,进而判断发布阶段是否需要调整。第五预设阈值可根据不同的目标软件进行调整,例如,第五预设阈值可以为10分,获取该开发阶段对应的质量评分为10.5分。Exemplarily, when the first stage is the release stage, a fifth preset threshold corresponding to the release stage is obtained, and the fifth preset threshold is used to judge whether the quality score corresponding to the release stage meets the standard, and then to determine whether the release stage needs to be adjusted. . The fifth preset threshold may be adjusted according to different target software. For example, the fifth preset threshold may be 10 points, and the quality score corresponding to the development stage is obtained as 10.5 points.
比较发布阶段对应的质量评分10.5分与第五预设阈值10分的大小,显然,发布阶段对应的质量评分大于第五预设阈值,确定发布阶段不需要调整。此处仅为示例性说明,对此不做限定。Comparing the quality score of 10.5 points corresponding to the release stage and the fifth preset threshold of 10 points, obviously, the quality score corresponding to the release stage is greater than the fifth preset threshold, and it is determined that the release stage does not need to be adjusted. This is only an exemplary description, and it is not limited.
可选地,在一种可能的实现方式中,当确定第一阶段需要调整时,该方法还可包括:基于预设规则对第一阶段进行调整;基于第一阶段对应的软件质量监控模型,对调整后的第一阶段进行质量监控,得到调整后的第一阶段对应的质量评分。Optionally, in a possible implementation manner, when it is determined that the first stage needs to be adjusted, the method may further include: adjusting the first stage based on a preset rule; based on the software quality monitoring model corresponding to the first stage, The quality of the adjusted first stage is monitored, and a quality score corresponding to the adjusted first stage is obtained.
预设规则可以为检测影响该第一阶段对应的质量评分的主要数据,即对该第一阶段对应的质量评分影响较大的数据,对该数据进行相应调整。例如,第一阶段中某个数据对应的评分为0,该数据就为影响第一阶段对应的质量评分的主要数据。再具体分析评分为0的原因,根据不同的原因,采取不同的调整方式。若是缺少该数据,则补交该数据;若是该数据设置不合理,则重新设置该数据。此处仅为示例性说明,对此不做限定。The preset rule may be to detect the main data that affects the quality score corresponding to the first stage, that is, data that has a greater impact on the quality score corresponding to the first stage, and adjust the data accordingly. For example, if the score corresponding to a certain data in the first stage is 0, the data is the main data that affects the quality score corresponding to the first stage. Then analyze the reasons for the score of 0 in detail, and adopt different adjustment methods according to different reasons. If the data is missing, the data will be supplemented; if the data setting is unreasonable, the data will be reset. This is only an exemplary description, and it is not limited.
沿用S103中的例子,根据S103中的描述可得知,第一阶段为计划管理阶段时需要调整,第一阶段为测试阶段时需要调整。Following the example in S103, according to the description in S103, it can be known that adjustment is required when the first stage is the planning management stage, and adjustment is required when the first stage is the testing stage.
示例性地,以第一阶段为计划管理阶段为例进行说明,计划管理阶段时需要调整,该计划管理阶段对应的质量评分为13.4分。通过S1022中的描述可知,该计划管理阶段没检测到story的分期移交计划,此数据对应的评分为0分;story的拆分按照(人头)任务分派,此数据对应的评分为0分。主要是这两项影响了该计划管理阶段对应的质量评分。因此,在对计划管理阶段进行调整时,可从这两个方面入手。例如,提交story的分期移交计划,story的拆分按照业务逻辑分派。此处仅为示例性说明,对此不做限定。Exemplarily, taking the first stage as the plan management stage as an example, adjustment is required during the plan management stage, and the quality score corresponding to the plan management stage is 13.4 points. From the description in S1022, it can be seen that the phase handover plan of the story is not detected in the plan management stage, and the score corresponding to this data is 0; the split of the story is assigned according to the (head) task, and the score corresponding to this data is 0. It is mainly these two items that affect the quality score corresponding to the management phase of the program. Therefore, when making adjustments to the program management phase, these two aspects can be taken into account. For example, submit the staged handover plan of the story, and the split of the story is allocated according to the business logic. This is only an exemplary description, and it is not limited.
基于计划管理阶段对应的第二软件质量监控模型,对调整后的计划管理阶段再次进行质量监控,得到调整后的计划管理阶段对应的质量评分。例如,获取调整后的计划管理阶段对应的目标数据,根据计划管理阶段对应的第二软件质量监控模型中的第二预设评分指标和第二预设评分计算方法,对调整后的计划管理阶段对应的目标数据进行评分,得到调整后的计划管理阶段对应的质量评分。示例性地,调整后的计划管理阶段对应的目标数据中包含story的分期移交计划,此数据对应的分数为3分;story的拆分按照业务逻辑分派,此数据对应的分数为2分;其余各个数据对应的评分过程可参考S1032中的相关描述,此处不再赘述。Based on the second software quality monitoring model corresponding to the plan management stage, quality monitoring is performed again on the adjusted plan management stage, and a quality score corresponding to the adjusted plan management stage is obtained. For example, the target data corresponding to the adjusted plan management stage is obtained, and the adjusted plan management stage is evaluated according to the second preset score index and the second preset score calculation method in the second software quality monitoring model corresponding to the plan management stage. The corresponding target data is scored, and the quality score corresponding to the adjusted plan management stage is obtained. Exemplarily, the target data corresponding to the adjusted plan management stage includes the staged handover plan of the story, and the score corresponding to this data is 3 points; the split of the story is allocated according to business logic, and the score corresponding to this data is 2 points; For the scoring process corresponding to each data, reference may be made to the relevant description in S1032, which will not be repeated here.
由上述可知,未调整前的计划管理阶段对应的质量评分为13.4分,调整后的计划管理阶段对应的质量评分为18.4分。可选地,在一种可能实现的方式中,可再次比较调整后的计划管理阶段对应的质量评分18.4分与第二预设阈值15分的大小,显然,计划管理阶段对应的质量评分大于第二预设阈值,确定调整后的计划管理阶段达标,不需要再次调整。若再次比较得到的结果还是计划管理阶段需要调整,则再次对调整后的计划管理阶段进行二次调整,直至计划管理阶段达标,不需要调整为止。此处仅为示例性说明,对此不做限定。It can be seen from the above that the quality score corresponding to the planning management stage before adjustment is 13.4 points, and the quality score corresponding to the planning management stage after adjustment is 18.4 points. Optionally, in a possible implementation manner, the size of the quality score corresponding to the adjusted plan management stage of 18.4 points and the second preset threshold of 15 points can be compared again. Obviously, the quality score corresponding to the plan management stage is greater than the second preset threshold. 2. Preset thresholds to determine that the adjusted plan management stage meets the standard and does not need to be adjusted again. If the result obtained from the re-comparison is that adjustment is required in the planning management stage, the adjusted planning management stage is re-adjusted again until the planning management stage reaches the standard and no adjustment is required. This is only an exemplary description, and it is not limited.
示例性地,以第一阶段为测试阶段为例进行说明,测试阶段需要调整,该测试阶段对应的质量评分为12分。通过S1022中的描述可知,该测试阶段进行软件封板的时间未在预设的封板时间内,对应的分数为0分。主要是这项影响了该测试阶段对应的质量评分。因此,在对测试阶段进行调整时,可从这个方面入手。例如,将软件封板的时间提前,使软件封板的时间在预设的封板时间内。Exemplarily, taking the first stage as a testing stage as an example, the testing stage needs to be adjusted, and the quality score corresponding to the testing stage is 12 points. According to the description in S1022, it can be known that the time for software sealing the board in this test stage is not within the preset board sealing time, and the corresponding score is 0 points. Mainly this affects the quality score corresponding to this testing phase. Therefore, this is the place to start when making adjustments to the testing phase. For example, the time for software sealing is advanced so that the time for software sealing is within the preset sealing time.
基于测试阶段对应的第四软件质量监控模型,对调整后的测试阶段再次进行质量监控,得到调整后的测试阶段对应的质量评分。例如,获取调整后的测试阶段对应的目标数据,根据测试阶段对应的第四软件质量监控模型中的第四预设评分指标和第四预设评分计算方法,对调整后的测试阶段对应的目标数据进行评分,得到调整后的测试阶段对应的质量评分。示例性地,调整后的测试阶段对应的目标数据中将软件封板的时间提前,使软件封板的时间在预设的封板时间内,即进行软件封板的时间在预设的封板时间内,此数据对应的分数为7分。其余各个数据对应的评分过程可参考S1022中的相关描述,此处不再赘述。Based on the fourth software quality monitoring model corresponding to the testing phase, the quality monitoring of the adjusted testing phase is performed again to obtain a quality score corresponding to the adjusted testing phase. For example, the target data corresponding to the adjusted testing stage is obtained, and according to the fourth preset scoring index and the fourth preset scoring calculation method in the fourth software quality monitoring model corresponding to the testing stage, the target corresponding to the adjusted testing stage is The data is scored to obtain a quality score corresponding to the adjusted test phase. Exemplarily, in the target data corresponding to the adjusted test phase, the time for software sealing is advanced, so that the time for software sealing is within the preset sealing time, that is, the time for software sealing is within the preset sealing time. In time, the score corresponding to this data is 7 points. For the scoring process corresponding to the remaining data, reference may be made to the relevant description in S1022, which will not be repeated here.
由上述可知,未调整前的测试阶段对应的质量评分为12分,调整后的测试阶段对应的质量评分为19分。可选地,在一种可能实现的方式中,可再次比较调整后的测试阶段对应的质量评分19分与第四预设阈值15分的大小,显然,调整后的测试阶段对应的质量评分大于第四预设阈值,确定调整后的测试阶段达标,不需要再次调整。若再次比较得到的结果还是测试阶段需要调整,则再次对调整后的测试阶段进行二次调整,直至测试阶段达标,不需要调整为止。此处仅为示例性说明,对此不做限定。It can be seen from the above that the quality score corresponding to the unadjusted test stage is 12 points, and the quality score corresponding to the adjusted test stage is 19 points. Optionally, in a possible implementation manner, the quality score corresponding to the adjusted test stage of 19 points and the fourth preset threshold of 15 points can be compared again. Obviously, the quality score corresponding to the adjusted test stage is greater than The fourth preset threshold determines that the adjusted test stage meets the standard and does not need to be adjusted again. If the result obtained from the re-comparison still needs to be adjusted in the test phase, the adjusted test phase is re-adjusted again until the test phase reaches the standard and no adjustment is required. This is only an exemplary description, and it is not limited.
可选地,在一种可能实现的方式中,监控软件开发过程的方法还可包括:确定每个阶段对应的最终质量评分,当第一阶段需要调整时,最终质量评分为调整后的第一阶段对应的质量评分,当第一阶段不需要调整时,最终质量评分为未调整的第一阶段对应的质量评分;基于每个阶段对应的最终质量评分,计算目标软件对应的总体质量评分;当检测到总体质量评分大于或等于预设质量阈值时,生成目标软件对应的合格报告。当检测到总体质量评分小于预设质量阈值时,生成邮件信息,邮件信息用于提醒开发人员目标软件的开发过程不合格。Optionally, in a possible implementation manner, the method for monitoring the software development process may further include: determining the final quality score corresponding to each stage, and when the first stage needs to be adjusted, the final quality score is the adjusted first quality score. The quality score corresponding to the stage, when the first stage does not need to be adjusted, the final quality score is the quality score corresponding to the unadjusted first stage; based on the final quality score corresponding to each stage, the overall quality score corresponding to the target software is calculated; when When it is detected that the overall quality score is greater than or equal to the preset quality threshold, a qualified report corresponding to the target software is generated. When it is detected that the overall quality score is less than the preset quality threshold, an email message is generated, and the email message is used to remind the developer that the development process of the target software is unqualified.
示例性地,由于每个阶段可能会需要调整,也可能不需要调整,因此,每个阶段对应的最终质量评分有所不同。还是以第一阶段进行表述,第一阶段为需求分析阶段、计划管理阶段、开发阶段、测试阶段以及发布阶段中的任一阶段。当第一阶段需要调整时,此时第一阶段对应的最终质量评分为调整后的第一阶段对应的质量评分,由于可能会调整多次,这里得调整后指的是最后一次调整,也可以理解为该第一阶段对应的质量评分达标时,此时第一阶段对应的质量评分即为该第一阶段对应的最终质量评分。Exemplarily, since each stage may or may not require adjustment, the final quality score corresponding to each stage is different. It is still expressed in terms of the first stage, which is any stage in the requirements analysis stage, plan management stage, development stage, testing stage and release stage. When the first stage needs to be adjusted, the final quality score corresponding to the first stage is the quality score corresponding to the adjusted first stage. Since it may be adjusted multiple times, the adjusted here refers to the last adjustment. When it is understood that the quality score corresponding to the first stage reaches the standard, the quality score corresponding to the first stage at this time is the final quality score corresponding to the first stage.
当第一阶段不需要调整时,此时第一阶段对应的最终质量评分为未调整的第一阶段对应的质量评分,即第一次采用该第一阶段对应的软件质量监控模型对第一阶段进行质量监控时,得到的第一阶段对应的质量评分。When the first stage does not need to be adjusted, the final quality score corresponding to the first stage is the quality score corresponding to the unadjusted first stage, that is, the software quality monitoring model corresponding to the first stage is used for the first time. When performing quality monitoring, the quality score corresponding to the first stage is obtained.
例如,当第一阶段为需求分析阶段时,该需求分析阶段不需要调整,则需求分析阶段对应的最终质量评分为最初的质量评分15分。当第一阶段为计划管理阶段时,该计划管理阶段需要调整,则计划管理阶段对应的最终质量评分,为调整后的计划管理阶段对应的的质量评分18.4分。当第一阶段为开发阶段时,该开发阶段不需要调整,则开发阶段对应的最终质量评分为最初的质量评分15分。当第一阶段为测试阶段时,该测试阶段需要调整,则测试阶段对应的最终质量评分,为调整后的测试阶段对应的的质量评分19分。当第一阶段为发布阶段时,该发布阶段不需要调整,则发布阶段对应的最终质量评分为最初的质量评分10.5分。此处仅为示例性说明,对此不做限定。For example, when the first stage is the requirements analysis stage, the requirements analysis stage does not need to be adjusted, and the final quality score corresponding to the requirements analysis stage is the initial quality score of 15 points. When the first stage is the plan management stage, and the plan management stage needs to be adjusted, the final quality score corresponding to the plan management stage is 18.4 points corresponding to the adjusted plan management stage. When the first stage is the development stage, the development stage does not need to be adjusted, and the final quality score corresponding to the development stage is the initial quality score of 15 points. When the first stage is a testing stage, and the testing stage needs to be adjusted, the final quality score corresponding to the testing stage is 19 points corresponding to the adjusted testing stage. When the first stage is the release stage, the release stage does not need to be adjusted, and the final quality score corresponding to the release stage is the initial quality score of 10.5 points. This is only an exemplary description, and it is not limited.
将每个阶段对应的最终质量评分相加,得到的评分即为目标软件对应的总体质量评分。例如,将需求分析阶段对应的最终质量评分15分、计划管理阶段对应的最终质量评分18.4分、开发阶段对应的 最终质量评分15分、测试阶段对应的最终质量评分19分、发布阶段对应的最终质量评分10.5分相加,得到目标软件对应的总体质量评分77.9分。此处仅为示例性说明,对此不做限定。The final quality scores corresponding to each stage are added together, and the obtained score is the overall quality score corresponding to the target software. For example, the final quality score corresponding to the requirements analysis stage is 15 points, the final quality score corresponding to the planning management stage is 18.4 points, the final quality score corresponding to the development stage is 15 points, the final quality score corresponding to the testing stage is 19 points, and the final quality score corresponding to the release stage is 19 points. The quality score of 10.5 points is added up, and the overall quality score corresponding to the target software is 77.9 points. This is only an exemplary description, and it is not limited.
预设质量阈值用于判断目标软件对应的总体质量评分是否达标,即判断该目标软件的开发过程是否合格。预设质量阈值可根据不同的目标软件进行调整,例如,预设质量阈值可以为75分、85分、90分等,此处仅为示例性说明,对此不做限定。The preset quality threshold is used to judge whether the overall quality score corresponding to the target software meets the standard, that is, to judge whether the development process of the target software is qualified. The preset quality threshold can be adjusted according to different target software, for example, the preset quality threshold can be 75 points, 85 points, 90 points, etc., which are only exemplary descriptions, and are not limited.
示例性地,比较目标软件对应的总体质量评分与预设质量阈值的大小。当预设质量阈值为75分时,显然,目标软件对应的总体质量评分77.9分大于预设质量阈值75分,此时生成目标软件对应的合格报告。该合格报告用于表示该目标软件的开发过程合格了,即按照该开发过程中的每个阶段开发该目标软件,最终得到的目标软件是合格的。该合格报告可以包括该目标软件每个阶段对应的目标数据、每个阶段对应的质量评分、各个数据单独对应的质量评分、目标软件对应的总体质量评分等。此处仅为示例性说明,对此不做限定。Exemplarily, the overall quality score corresponding to the target software is compared with a preset quality threshold. When the preset quality threshold is 75 points, obviously, the overall quality score corresponding to the target software of 77.9 points is greater than the preset quality threshold of 75 points, and a qualified report corresponding to the target software is generated at this time. The qualification report is used to indicate that the development process of the target software is qualified, that is, the target software is developed according to each stage in the development process, and the final target software is qualified. The qualification report may include target data corresponding to each stage of the target software, a quality score corresponding to each stage, a quality score corresponding to each data individually, an overall quality score corresponding to the target software, and the like. This is only an exemplary description, and it is not limited.
当预设质量阈值为85分时,显然,目标软件对应的总体质量评分77.9分小于预设质量阈值85分,此时生成邮件信息,该邮件信息用于提醒开发人员目标软件的开发过程不合格。即按照该开发过程中的每个阶段开发该目标软件,最终得到的目标软件是不合格的。开发人员在收到该邮件信息时,可以对该目标软件的整个开发过程进行审核,对每个阶段进行单独调整和/或调整每个阶段对应的预设阈值等,此处仅为示例性说明,对此不做限定。When the preset quality threshold is 85 points, obviously, the overall quality score corresponding to the target software of 77.9 points is lower than the preset quality threshold of 85 points. At this time, an email message is generated, and the email message is used to remind the developer that the development process of the target software is unqualified. . That is, the target software is developed according to each stage in the development process, and the final target software is unqualified. When the developer receives the email message, he can review the entire development process of the target software, make individual adjustments to each stage and/or adjust the preset thresholds corresponding to each stage, etc. This is only an exemplary illustration. , which is not limited.
当对每个阶段进行单独调整和/或调整每个阶段对应的预设阈值后,可再次通过本申请提供的监控软件开发过程的方法,对新的一轮的目标软件的开发过程进行质量监控,具体的监控过程不再赘述。After each stage is individually adjusted and/or the preset threshold corresponding to each stage is adjusted, the quality monitoring of the development process of a new round of target software can be performed again through the method for monitoring the software development process provided in this application. , the specific monitoring process will not be repeated here.
可选地,在一种可能实现的方式中,可在对每个阶段进行质量监控后,生成每个阶段对应的邮件,并将该邮件发送给开发人员,可及时提醒开发人员当前目标软件的开发进度,以及每个阶段的开发质量,便于开发人员及时进行调整,进而保证最后开发得到的目标软件质量好、稳定性强,实现了软件开发过程中的预警。Optionally, in a possible implementation manner, after quality monitoring of each stage, an email corresponding to each stage can be generated, and the email can be sent to the developer, which can timely remind the developer of the current target software. The development progress and the development quality of each stage are convenient for developers to make adjustments in time, thereby ensuring that the final developed target software has good quality and strong stability, and realizes early warning in the software development process.
可选地,在一种可能实现的方式中,在目标软件开发前,邮件提醒开发人员,上传需求分析阶段需要用到的需求确认进度文件、需求文档、需求评审请求等信息。在目标软件对应的开发阶段,邮件提醒开发人员发送测试进度报告、UAT验收结果等,终端检测到这些数据后,可对通过第四软件质量监控模型对这些数据进行评分。Optionally, in a possible implementation manner, before the target software is developed, the developer is reminded by email to upload the requirements confirmation progress files, requirements documents, requirements review requests and other information that need to be used in the requirements analysis stage. In the development stage corresponding to the target software, the developer is reminded by email to send the test progress report, UAT acceptance result, etc. After the terminal detects these data, it can score the data through the fourth software quality monitoring model.
可选地,在一种可能实现的方式中,可根据每个阶段未调整前对应的质量评分、目标软件对应的总体质量评分、各个数据对应的单项评分、调整后的每个阶段对应的质量评分等,生成对比图、趋势图等。示例性地,将这些信息上传至预设的易绘图表系统,该易绘图表系统可根据这些信息生成目标软件对应的总体对比图、总体雷达图、总体趋势图,以及按照各个阶段生成的每个阶段对应的雷达图、趋势图、对比图。此处仅为示例性说明,对此不做限定。Optionally, in a possible implementation manner, the quality score corresponding to each stage before adjustment, the overall quality score corresponding to the target software, the individual score corresponding to each data, and the quality corresponding to each stage after adjustment can be used. Score, etc., generate comparison charts, trend charts, etc. Exemplarily, upload the information to a preset easy-to-draw chart system, and the easy-to-draw chart system can generate an overall comparison chart, an overall radar chart, and an overall trend chart corresponding to the target software according to the information, as well as each stage generated according to each stage. Radar chart, trend chart and comparison chart corresponding to each stage. This is only an exemplary description, and it is not limited.
本申请实施例中,根据目标软件的开发过程中每个阶段对应的不同的预设评分指标和预设评分计算方法,构建了每个阶段对应的软件质量监控模型;基于每个阶段分别对应的软件质量监控模型,对每个阶段进行质量监控,得到每个阶段分别对应的质量评分;根据每个阶段分别对应的质量评分,确定每个阶段是否需要调整。其中,目标软件的开发过程包括需求分析阶段、计划管理阶段、开发阶段、测试阶段以及发布阶段。基于该方法,对软件开发过程中的所有流程阶段都进行了质量监控,实现了对软件 开发过程中的全面质量监控;且由于每个阶段对应的软件质量监控模型,都是根据每个阶段对应的不同的预设评分指标和预设评分计算方法构建而成的,基于这些软件质量监控模型对每个阶段进行质量监控时,得到的质量评分更准确,进而根据每个阶段分别对应的质量评分,对每个阶段进行适应性调整,可使最终开发出的目标软件质量好、稳定性强。且本方法通过每个阶段分别对应的软件质量监控模型,自动对每个阶段进行质量监控,开发人员不必再时刻盯着,使开发人员可以去做更多的其他工作,解放了开发人员的双手,侧面节省了开发软件的成本,提升了开发软件的效率、质量。In the embodiment of the present application, according to different preset scoring indicators and preset scoring calculation methods corresponding to each stage in the development process of the target software, a software quality monitoring model corresponding to each stage is constructed; The software quality monitoring model monitors the quality of each stage, and obtains the quality score corresponding to each stage; according to the quality score corresponding to each stage, it is determined whether each stage needs to be adjusted. Among them, the development process of the target software includes the requirements analysis stage, the planning management stage, the development stage, the testing stage and the release stage. Based on this method, all process stages in the software development process are monitored for quality, and comprehensive quality monitoring in the software development process is realized; and because the software quality monitoring model corresponding to each stage is based on the corresponding software quality of each stage It is constructed from different preset scoring indicators and preset scoring calculation methods based on these software quality monitoring models. When the quality monitoring of each stage is performed based on these software quality monitoring models, the quality score obtained is more accurate, and then the quality scores corresponding to each stage are obtained. , to make adaptive adjustments to each stage, so that the final developed target software has good quality and strong stability. Moreover, this method automatically monitors the quality of each stage through the software quality monitoring model corresponding to each stage, so that developers no longer have to stare at all times, so that developers can do more other work, freeing the hands of developers. , the cost of developing software is saved on the side, and the efficiency and quality of software development are improved.
请参见图4,图4是本申请再一实施例提供的一种监控软件开发过程的方法的示意流程图。该方法可以包括S201~S204。其中,图4所示的步骤S201~S203可以参考图1对应的实施例中S101~S103的相关描述,为了简洁,这里不再赘述。下面将具体对步骤S204进行说明。Please refer to FIG. 4, which is a schematic flowchart of a method for monitoring a software development process provided by still another embodiment of the present application. The method may include S201˜S204. Wherein, for steps S201 to S203 shown in FIG. 4 , reference may be made to the relevant descriptions of S101 to S103 in the embodiment corresponding to FIG. 1 , which are not repeated here for brevity. Step S204 will be specifically described below.
S204:将每个阶段分别对应的软件质量监控模型上传至区块链中。S204: Upload the software quality monitoring model corresponding to each stage to the blockchain.
将每个阶段阶段分别对应的软件质量监控模型上传至区块链中,即将需求分析阶段对应的第一软件质量监控模型、计划管理阶段对应的第二软件质量监控模型、开发阶段对应的第三软件质量监控模型、测试阶段对应的第四软件质量监控模型以及发布阶段对应的第五软件质量监控模型,分别上传至区块链中。Upload the software quality monitoring model corresponding to each stage to the blockchain, namely the first software quality monitoring model corresponding to the requirement analysis stage, the second software quality monitoring model corresponding to the planning management stage, and the third software quality monitoring model corresponding to the development stage. The software quality monitoring model, the fourth software quality monitoring model corresponding to the testing phase, and the fifth software quality monitoring model corresponding to the release phase are uploaded to the blockchain respectively.
在本实施例中,将每个阶段分别对应的软件质量监控模型上传至区块链中,可保证其安全性和对用户的公正透明性。且将每个阶段分别对应的软件质量监控模型上传至区块链中,借助区块链上文件无法随意篡改的特性,能够避免每个阶段分别对应的软件质量监控模型被恶意篡改,便于后续用户可直接准确地获取到每个阶段分别对应的软件质量监控模型,也便于后续用户使用每个阶段分别对应的软件质量监控模型对目标软件的开发过程进行质量监控。In this embodiment, the software quality monitoring model corresponding to each stage is uploaded to the blockchain to ensure its security and fairness and transparency to users. In addition, the software quality monitoring model corresponding to each stage is uploaded to the blockchain. With the feature that the files on the blockchain cannot be tampered with at will, the software quality monitoring model corresponding to each stage can be prevented from being maliciously tampered with, which is convenient for subsequent users. The software quality monitoring model corresponding to each stage can be directly and accurately obtained, and it is also convenient for subsequent users to use the software quality monitoring model corresponding to each stage to monitor the quality of the development process of the target software.
本示例所指区块链是分布式数据存储、点对点传输、共识机制、加密算法等计算机技术的新型应用模式。区块链(Blockchain),本质上是一个去中心化的数据库,是一串使用密码学方法相关联产生的数据块,每一个数据块中包含了一批次网络交易的信息,用于验证其信息的有效性(防伪)和生成下一个区块。区块链可以包括区块链底层平台、平台产品服务层以及应用服务层等。The blockchain referred to in this example is a new application mode of computer technology such as distributed data storage, point-to-point transmission, consensus mechanism, and encryption algorithm. Blockchain, essentially a decentralized database, is a series of data blocks associated with cryptographic methods. Each data block contains a batch of network transaction information to verify its Validity of information (anti-counterfeiting) and generation of the next block. The blockchain can include the underlying platform of the blockchain, the platform product service layer, and the application service layer.
请参见图5,图5是本申请一实施例提供的一种监控软件开发过程的装置的示意图。该装置包括的各单元用于执行图1~图4对应的实施例中的各步骤。具体请参阅图1~图4各自对应的实施例中的相关描述。为了便于说明,仅示出了与本实施例相关的部分。参见图5,包括:Please refer to FIG. 5 , which is a schematic diagram of an apparatus for monitoring a software development process provided by an embodiment of the present application. Each unit included in the apparatus is used to execute each step in the embodiment corresponding to FIG. 1 to FIG. 4 . For details, please refer to the relevant descriptions in the respective corresponding embodiments of FIG. 1 to FIG. 4 . For convenience of explanation, only the parts related to this embodiment are shown. See Figure 5, including:
获取单元310,用于获取目标软件的开发过程中每个阶段分别对应的软件质量监控模型,其中,所述每个阶段分别对应的软件质量监控模型基于每个阶段对应的预设评分指标和预设评分计算方法构建得到,所述目标软件的开发过程包括需求分析阶段、计划管理阶段、开发阶段、测试阶段以及发布阶段;The obtaining unit 310 is configured to obtain the software quality monitoring model corresponding to each stage in the development process of the target software, wherein the software quality monitoring model corresponding to each stage is based on the preset scoring index and the preset score corresponding to each stage. Suppose the scoring calculation method is constructed and obtained, and the development process of the target software includes a requirements analysis stage, a plan management stage, a development stage, a testing stage and a release stage;
质量监控单元320,用于根据每个阶段分别对应的软件质量监控模型,分别对每个阶段进行质量监控,得到每个阶段分别对应的质量评分;The quality monitoring unit 320 is configured to monitor the quality of each stage respectively according to the software quality monitoring model corresponding to each stage, and obtain the quality score corresponding to each stage;
确定单元330,用于根据每个阶段分别对应的质量评分,确定每个阶段是否需要调整。The determining unit 330 is configured to determine whether each stage needs to be adjusted according to the quality score corresponding to each stage.
可选地,所述质量监控单元320具体用于:Optionally, the quality monitoring unit 320 is specifically configured to:
采集所述目标软件在开发至第一阶段时产生的目标数据,所述第一阶段为所述每个阶段中的任一阶段;collecting target data generated when the target software is developed to the first stage, where the first stage is any one of the each stage;
基于所述第一阶段对应的软件质量监控模型中的预设评分指标和预设评分计算方法,对所述目标数据进行评分,得到所述第一阶段对应的质量评分。Based on the preset scoring index and the preset scoring calculation method in the software quality monitoring model corresponding to the first stage, the target data is scored to obtain the quality score corresponding to the first stage.
可选地,所述确定单元330具体用于:Optionally, the determining unit 330 is specifically configured to:
获取所述第一阶段对应的质量评分;obtaining the quality score corresponding to the first stage;
当检测到所述质量评分小于预设阈值时,确定所述第一阶段需要调整;或,When it is detected that the quality score is less than a preset threshold, it is determined that the first stage needs to be adjusted; or,
当检测到所述质量评分大于或等于所述预设阈值时,确定所述第一阶段不需要调整。When it is detected that the quality score is greater than or equal to the preset threshold, it is determined that the first stage does not need to be adjusted.
可选地,所述装置还包括:Optionally, the device further includes:
调整单元,用于基于预设规则对所述第一阶段进行调整;an adjustment unit, configured to adjust the first stage based on a preset rule;
评分单元,用于基于所述第一阶段对应的软件质量监控模型,对调整后的第一阶段进行质量监控,得到所述调整后的第一阶段对应的质量评分。The scoring unit is configured to perform quality monitoring on the adjusted first stage based on the software quality monitoring model corresponding to the first stage, and obtain a quality score corresponding to the adjusted first stage.
可选地,所述装置还包括:Optionally, the device further includes:
评分确定单元,用于确定每个阶段对应的最终质量评分,当所述第一阶段需要调整时,所述最终质量评分为调整后的第一阶段对应的质量评分,当所述第一阶段不需要调整时,所述最终质量评分为未调整的第一阶段对应的质量评分;The scoring determination unit is used to determine the final quality score corresponding to each stage. When the first stage needs to be adjusted, the final quality score is the quality score corresponding to the adjusted first stage. When adjustment is required, the final quality score is the quality score corresponding to the unadjusted first stage;
计算单元,用于基于每个阶段对应的最终质量评分,计算所述目标软件对应的总体质量评分;a computing unit, configured to calculate the overall quality score corresponding to the target software based on the final quality score corresponding to each stage;
第一生成单元,用于当检测到所述总体质量评分大于或等于预设质量阈值时,生成所述目标软件对应的合格报告A first generating unit, configured to generate a qualified report corresponding to the target software when it is detected that the overall quality score is greater than or equal to a preset quality threshold
可选地,所述装置还包括:Optionally, the device further includes:
第二生成单元,用于当检测到所述总体质量评分小于所述预设质量阈值时,生成邮件信息,所述邮件信息用于提醒开发人员所述目标软件的开发过程不合格。The second generating unit is configured to generate email information when it is detected that the overall quality score is less than the preset quality threshold, where the email information is used to remind the developer that the development process of the target software is unqualified.
可选地,所述装置还包括:Optionally, the device further includes:
上传单元,用于将每个阶段分别对应的软件质量监控模型上传至区块链中。The uploading unit is used to upload the software quality monitoring model corresponding to each stage to the blockchain.
请参见图6,图6是本申请另一实施例提供的一种监控软件开发过程的终端的示意图。如图6所示,该实施例的监控软件开发过程的终端4包括:处理器40、存储器41以及存储在所述存储器41中并可在所述处理器40上运行的计算机指令42。所述处理器40执行所述计算机指令42时实现上述各个监控软件开发过程的方法实施例中的步骤,例如图1所示的S101至S103。或者,所述处理器40执行所述计算机指令42时实现上述各实施例中各单元的功能,例如图5所示单元310至330功能。Please refer to FIG. 6, which is a schematic diagram of a terminal for monitoring a software development process provided by another embodiment of the present application. As shown in FIG. 6 , the terminal 4 for monitoring the software development process in this embodiment includes: a processor 40 , a memory 41 , and computer instructions 42 stored in the memory 41 and executable on the processor 40 . When the processor 40 executes the computer instructions 42 , the steps in each of the foregoing method embodiments for monitoring a software development process are implemented, for example, S101 to S103 shown in FIG. 1 . Alternatively, when the processor 40 executes the computer instructions 42, the functions of the units in the foregoing embodiments are implemented, for example, the functions of the units 310 to 330 shown in FIG. 5 .
示例性地,所述计算机指令42可以被分割成一个或多个单元,所述一个或者多个单元被存储在所述存储器41中,并由所述处理器40执行,以完成本申请。所述一个或多个单元可以是能够完成特定功能的一系列计算机指令段,该指令段用于描述所述计算机指令42在所述监控软件开发过程的终端4中的执行过程。例如,所述计算机指令42可以被分割为获取单元、质量监控单元以及确定单元,各单元具体功能如上所述。Illustratively, the computer instructions 42 may be divided into one or more units, and the one or more units are stored in the memory 41 and executed by the processor 40 to complete the present application. The one or more units may be a series of computer instruction segments capable of accomplishing specific functions, and the instruction segments are used to describe the execution process of the computer instructions 42 in the terminal 4 that monitors the software development process. For example, the computer instructions 42 can be divided into an acquisition unit, a quality monitoring unit and a determination unit, and the specific functions of each unit are as described above.
所述监控软件开发过程的终端可包括,但不仅限于,处理器40、存储器41。本领域技术人员可以理解,图6仅仅是监控软件开发过程的终端4的示例,并不构成对监控软件开发过程的终端的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件,例如所述监控软件开发过程的终端还可以包括输入输出终端、网络接入终端、总线等。The terminal for monitoring the software development process may include, but is not limited to, the processor 40 and the memory 41 . Those skilled in the art can understand that FIG. 6 is only an example of the terminal 4 monitoring the software development process, and does not constitute a limitation on the terminal monitoring the software development process, and may include more or less components than those shown in the figure, or a combination of certain Some components, or different components, for example, the terminal for monitoring the software development process may also include an input and output terminal, a network access terminal, a bus, and the like.
所称处理器40可以是中央处理单元(Central Processing Unit,CPU),还可以是其他通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现成可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。The so-called processor 40 may be a central processing unit (Central Processing Unit, CPU), or other general-purpose processors, digital signal processors (Digital Signal Processors, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), Off-the-shelf programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
所述存储器41可以是所述监控软件开发过程的终端的内部存储单元,例如监控软件开发过程的终端的硬盘或内存。所述存储器41也可以是所述监控软件开发过程的终端的外部存储终端,例如所述监控软件开发过程的终端上配备的插接式硬盘,智能存储卡(Smart Media Card,SMC),安全数字(Secure Digital,SD)卡,闪存卡(Flash Card)等。进一步地,所述存储器41还可以既包括所述监控软件开发过程的终端的内部存储单元也包括外部存储终端。所述存储器41用于存储所述计算机指令以及所述终端所需的其他程序和数据。所述存储器41还可以用于暂时地存储已经输出或者将要输出的数据。The memory 41 may be an internal storage unit of the terminal that monitors the software development process, such as a hard disk or memory of the terminal that monitors the software development process. The memory 41 can also be an external storage terminal of the terminal for monitoring the software development process, such as a plug-in hard disk equipped on the terminal for monitoring the software development process, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, flash memory card (Flash Card), etc. Further, the memory 41 may also include both an internal storage unit of the terminal for monitoring the software development process and an external storage terminal. The memory 41 is used to store the computer instructions and other programs and data required by the terminal. The memory 41 can also be used to temporarily store data that has been output or will be output.
示例性地,本申请实施例提供了一种监控软件开发过程的终端,包括存储器、处理器以及存储在存储器中并可在处理器上运行的计算机程序,该处理器执行计算机程序时实现上述各个监控软件开发过程的方法实施例中的步骤。例如,该处理器执行计算机程序时实现:获取目标软件的开发过程中每个阶段分别对应的软件质量监控模型,其中,每个阶段分别对应的软件质量监控模型基于每个阶段对应的预设评分指标和预设评分计算方法构建得到,该目标软件的开发过程包括需求分析阶段、计划管理阶段、开发阶段、测试阶段以及发布阶段;根据每个阶段分别对应的软件质量监控模型,分别对每个阶段进行质量监控,得到每个阶段分别对应的质量评分;根据每个阶段分别对应的质量评分,确定每个阶段是否需要调整。Exemplarily, an embodiment of the present application provides a terminal for monitoring a software development process, including a memory, a processor, and a computer program stored in the memory and running on the processor, and the processor implements each of the above when executing the computer program. Steps in a method embodiment of monitoring a software development process. For example, when the processor executes the computer program, it achieves: acquiring a software quality monitoring model corresponding to each stage in the development process of the target software, wherein the software quality monitoring model corresponding to each stage is based on a preset score corresponding to each stage The index and the preset score calculation method are constructed, and the development process of the target software includes the requirements analysis stage, the planning management stage, the development stage, the testing stage and the release stage; according to the software quality monitoring model corresponding to each stage, each Quality monitoring is carried out in each stage, and the corresponding quality score of each stage is obtained; according to the corresponding quality score of each stage, it is determined whether each stage needs to be adjusted.
示例性地,本申请实施例还提供了一种计算机可读存储介质,计算机可读存储介质可以是非易失性,也可以是易失性,计算机可读存储介质存储有计算机程序,该计算机程序被处理器执行时实现上述各个监控软件开发过程的方法实施例中的步骤。例如,该计算机程序被处理器执行时实现:获取目标软件的开发过程中每个阶段分别对应的软件质量监控模型,其中,每个阶段分别对应的软件质量监控模型基于每个阶段对应的预设评分指标和预设评分计算方法构建得到,该目标软件的开发过程包括需求分析阶段、计划管理阶段、开发阶段、测试阶段以及发布阶段;根据每个阶段分别对应的软件质量监控模型,分别对每个阶段进行质量监控,得到每个阶段分别对应的质量评分;根据每个阶段分别对应的质量评分,确定每个阶段是否需要调整。Exemplarily, the embodiments of the present application further provide a computer-readable storage medium, the computer-readable storage medium may be non-volatile or volatile, and the computer-readable storage medium stores a computer program, the computer program When executed by the processor, the steps in each of the foregoing method embodiments for monitoring a software development process are implemented. For example, when the computer program is executed by the processor, it realizes: acquiring the software quality monitoring model corresponding to each stage in the development process of the target software, wherein the software quality monitoring model corresponding to each stage is based on the preset corresponding to each stage The scoring index and the preset scoring calculation method are constructed. The development process of the target software includes the requirements analysis stage, the plan management stage, the development stage, the test stage and the release stage; Quality monitoring is carried out in each stage, and the corresponding quality score of each stage is obtained; according to the corresponding quality score of each stage, it is determined whether each stage needs to be adjusted.
以上所述实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的精神范围,均应包含在本申请的保护范围之内。The above-mentioned embodiments are only used to illustrate the technical solutions of the present application, but not to limit them; although the present application has been described in detail with reference to the above-mentioned embodiments, those of ordinary skill in the art should understand that: it can still be used for the above-mentioned implementations. The technical solutions recorded in the examples are modified, or some technical features thereof are equivalently replaced; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit scope of the technical solutions in the embodiments of the application, and should be included in the present application. within the scope of protection of the application.

Claims (20)

  1. 一种监控软件开发过程的方法,其中,包括:A method of monitoring a software development process, comprising:
    获取目标软件的开发过程中每个阶段分别对应的软件质量监控模型,其中,所述每个阶段分别对应的软件质量监控模型基于每个阶段对应的预设评分指标和预设评分计算方法构建得到,所述目标软件的开发过程包括需求分析阶段、计划管理阶段、开发阶段、测试阶段以及发布阶段;Obtain the software quality monitoring model corresponding to each stage in the development process of the target software, wherein the software quality monitoring model corresponding to each stage is constructed based on the preset scoring index corresponding to each stage and the preset scoring calculation method. , the development process of the target software includes a requirements analysis stage, a plan management stage, a development stage, a testing stage and a release stage;
    根据每个阶段分别对应的软件质量监控模型,分别对每个阶段进行质量监控,得到每个阶段分别对应的质量评分;According to the software quality monitoring model corresponding to each stage, the quality monitoring of each stage is carried out respectively, and the corresponding quality score of each stage is obtained;
    根据每个阶段分别对应的质量评分,确定每个阶段是否需要调整。Determine whether each stage needs to be adjusted according to the quality score corresponding to each stage.
  2. 如权利要求1所述的方法,其中,所述根据每个阶段分别对应的软件质量监控模型,分别对每个阶段进行质量监控,得到每个阶段分别对应的质量评分,包括:The method according to claim 1, wherein, according to the software quality monitoring model corresponding to each stage, the quality monitoring of each stage is carried out respectively, and the quality score corresponding to each stage is obtained, comprising:
    采集所述目标软件在开发至第一阶段时产生的目标数据,所述第一阶段为所述每个阶段中的任一阶段;collecting target data generated when the target software is developed to the first stage, where the first stage is any one of the each stage;
    基于所述第一阶段对应的软件质量监控模型中的预设评分指标和预设评分计算方法,对所述目标数据进行评分,得到所述第一阶段对应的质量评分。Based on the preset scoring index and the preset scoring calculation method in the software quality monitoring model corresponding to the first stage, the target data is scored to obtain the quality score corresponding to the first stage.
  3. 如权利要求2所述的方法,其中,所述根据每个阶段分别对应的质量评分,确定每个阶段是否需要调整,包括:The method according to claim 2, wherein determining whether each stage needs to be adjusted according to the quality score corresponding to each stage, comprising:
    获取所述第一阶段对应的质量评分;obtaining the quality score corresponding to the first stage;
    当检测到所述质量评分小于预设阈值时,确定所述第一阶段需要调整;或,When it is detected that the quality score is less than a preset threshold, it is determined that the first stage needs to be adjusted; or,
    当检测到所述质量评分大于或等于所述预设阈值时,确定所述第一阶段不需要调整。When it is detected that the quality score is greater than or equal to the preset threshold, it is determined that the first stage does not need to be adjusted.
  4. 如权利要求3所述的方法,其中,所述当检测到所述质量评分小于预设阈值时,确定所述第一阶段需要调整之后,所述方法还包括:The method according to claim 3, wherein, after it is determined that the first stage needs to be adjusted when it is detected that the quality score is less than a preset threshold, the method further comprises:
    基于预设规则对所述第一阶段进行调整;adjusting the first stage based on preset rules;
    基于所述第一阶段对应的软件质量监控模型,对调整后的第一阶段进行质量监控,得到所述调整后的第一阶段对应的质量评分。Based on the software quality monitoring model corresponding to the first stage, the quality of the adjusted first stage is monitored to obtain a quality score corresponding to the adjusted first stage.
  5. 如权利要求2至4任一项所述的方法,其中,所述方法还包括:The method of any one of claims 2 to 4, wherein the method further comprises:
    确定每个阶段对应的最终质量评分,当所述第一阶段需要调整时,所述最终质量评分为调整后的第一阶段对应的质量评分,当所述第一阶段不需要调整时,所述最终质量评分为未调整的第一阶段对应的质量评分;Determine the final quality score corresponding to each stage, when the first stage needs to be adjusted, the final quality score is the quality score corresponding to the adjusted first stage, and when the first stage does not need to be adjusted, the The final quality score is the quality score corresponding to the unadjusted first stage;
    基于每个阶段对应的最终质量评分,计算所述目标软件对应的总体质量评分;Based on the final quality score corresponding to each stage, calculate the overall quality score corresponding to the target software;
    当检测到所述总体质量评分大于或等于预设质量阈值时,生成所述目标软件对应的合格报告。When it is detected that the overall quality score is greater than or equal to a preset quality threshold, a qualified report corresponding to the target software is generated.
  6. 如权利要求5所述的方法,其中,所述基于每个阶段对应的最终质量评分,计算所述目标软件对应的总体质量评分之后,所述方法还包括:The method according to claim 5, wherein after calculating the overall quality score corresponding to the target software based on the final quality score corresponding to each stage, the method further comprises:
    当检测到所述总体质量评分小于所述预设质量阈值时,生成邮件信息,所述邮件信息用于提醒开发人员所述目标软件的开发过程不合格。When it is detected that the overall quality score is less than the preset quality threshold, email information is generated, and the email information is used to remind the developer that the development process of the target software is unqualified.
  7. 如权利要求1所述的方法,其中,所述方法还包括:The method of claim 1, wherein the method further comprises:
    将每个阶段分别对应的软件质量监控模型上传至区块链中。Upload the software quality monitoring model corresponding to each stage to the blockchain.
  8. 一种监控软件开发过程的装置,其中,包括:A device for monitoring a software development process, comprising:
    获取单元,用于获取目标软件的开发过程中每个阶段分别对应的软件质量监控模型,其中,所述每个阶段分别对应的软件质量监控模型基于每个阶段对应的预设评分指标和预设评分计算方法构建得到,所述目标软件的开发过程包括需求分析阶段、计划管理阶段、开发阶段、测试阶段以及发布阶段;The acquiring unit is used to acquire the software quality monitoring model corresponding to each stage in the development process of the target software, wherein the software quality monitoring model corresponding to each stage is based on the preset scoring index and preset corresponding to each stage The scoring calculation method is constructed and obtained, and the development process of the target software includes a requirement analysis stage, a plan management stage, a development stage, a testing stage and a release stage;
    质量监控单元,用于根据每个阶段分别对应的软件质量监控模型,分别对每个阶段进行质量监控,得到每个阶段分别对应的质量评分;The quality monitoring unit is used to monitor the quality of each stage according to the software quality monitoring model corresponding to each stage, and obtain the quality score corresponding to each stage;
    确定单元,用于根据每个阶段分别对应的质量评分,确定每个阶段是否需要调整。The determination unit is used to determine whether each stage needs to be adjusted according to the quality score corresponding to each stage.
  9. 一种监控软件开发过程的终端,其中,包括存储器、处理器以及存储在所述存储器中并可在所述处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现:A terminal for monitoring a software development process, comprising a memory, a processor, and a computer program stored in the memory and running on the processor, and the processor implements when executing the computer program:
    获取目标软件的开发过程中每个阶段分别对应的软件质量监控模型,其中,所述每个阶段分别对应的软件质量监控模型基于每个阶段对应的预设评分指标和预设评分计算方法构建得到,所述目标软件的开发过程包括需求分析阶段、计划管理阶段、开发阶段、测试阶段以及发布阶段;Obtain the software quality monitoring model corresponding to each stage in the development process of the target software, wherein the software quality monitoring model corresponding to each stage is constructed based on the preset scoring index corresponding to each stage and the preset scoring calculation method. , the development process of the target software includes a requirements analysis stage, a plan management stage, a development stage, a testing stage and a release stage;
    根据每个阶段分别对应的软件质量监控模型,分别对每个阶段进行质量监控,得到每个阶段分别对应的质量评分;According to the software quality monitoring model corresponding to each stage, the quality monitoring of each stage is carried out respectively, and the corresponding quality score of each stage is obtained;
    根据每个阶段分别对应的质量评分,确定每个阶段是否需要调整。Determine whether each stage needs to be adjusted according to the quality score corresponding to each stage.
  10. 如权利要求9所述的终端,其中,所述处理器执行所述计算机程序时还实现:The terminal according to claim 9, wherein, when the processor executes the computer program, it further implements:
    采集所述目标软件在开发至第一阶段时产生的目标数据,所述第一阶段为所述每个阶段中的任一阶段;collecting target data generated when the target software is developed to the first stage, where the first stage is any one of the each stage;
    基于所述第一阶段对应的软件质量监控模型中的预设评分指标和预设评分计算方法,对所述目标数据进行评分,得到所述第一阶段对应的质量评分。Based on the preset scoring index and the preset scoring calculation method in the software quality monitoring model corresponding to the first stage, the target data is scored to obtain the quality score corresponding to the first stage.
  11. 如权利要求10所述的终端,其中,所述处理器执行所述计算机程序时还实现:The terminal of claim 10, wherein, when the processor executes the computer program, it further implements:
    获取所述第一阶段对应的质量评分;obtaining the quality score corresponding to the first stage;
    当检测到所述质量评分小于预设阈值时,确定所述第一阶段需要调整;或,When it is detected that the quality score is less than a preset threshold, it is determined that the first stage needs to be adjusted; or,
    当检测到所述质量评分大于或等于所述预设阈值时,确定所述第一阶段不需要调整。When it is detected that the quality score is greater than or equal to the preset threshold, it is determined that the first stage does not need to be adjusted.
  12. 如权利要求11所述的终端,其中,所述处理器执行所述计算机程序时还实现:The terminal of claim 11, wherein the processor further implements when executing the computer program:
    基于预设规则对所述第一阶段进行调整;adjusting the first stage based on preset rules;
    基于所述第一阶段对应的软件质量监控模型,对调整后的第一阶段进行质量监控,得到所述调整后的第一阶段对应的质量评分。Based on the software quality monitoring model corresponding to the first stage, the quality of the adjusted first stage is monitored to obtain a quality score corresponding to the adjusted first stage.
  13. 如权利要求10至12任一项所述的终端,其中,所述处理器执行所述计算机程序时还实现:The terminal according to any one of claims 10 to 12, wherein, when the processor executes the computer program, it further implements:
    确定每个阶段对应的最终质量评分,当所述第一阶段需要调整时,所述最终质量评分为调整后的第一阶段对应的质量评分,当所述第一阶段不需要调整时,所述最终质量评分为未调整的第一阶段对应的质量评分;Determine the final quality score corresponding to each stage, when the first stage needs to be adjusted, the final quality score is the quality score corresponding to the adjusted first stage, and when the first stage does not need to be adjusted, the The final quality score is the quality score corresponding to the unadjusted first stage;
    基于每个阶段对应的最终质量评分,计算所述目标软件对应的总体质量评分;Based on the final quality score corresponding to each stage, calculate the overall quality score corresponding to the target software;
    当检测到所述总体质量评分大于或等于预设质量阈值时,生成所述目标软件对应的合格报告。When it is detected that the overall quality score is greater than or equal to a preset quality threshold, a qualified report corresponding to the target software is generated.
  14. 如权利要求13所述的终端,其中,所述处理器执行所述计算机程序时还实现:The terminal of claim 13, wherein the processor further implements when executing the computer program:
    当检测到所述总体质量评分小于所述预设质量阈值时,生成邮件信息,所述邮件信息用于提醒开发人员所述目标软件的开发过程不合格。When it is detected that the overall quality score is less than the preset quality threshold, email information is generated, and the email information is used to remind the developer that the development process of the target software is unqualified.
  15. 一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,其中,所述计算机程序被处理器执行时实现:A computer-readable storage medium storing a computer program, wherein the computer program is executed by a processor to realize:
    获取目标软件的开发过程中每个阶段分别对应的软件质量监控模型,其中,所述每个阶段分别对应的软件质量监控模型基于每个阶段对应的预设评分指标和预设评分计算方法构建得到,所述目标软件的开发过程包括需求分析阶段、计划管理阶段、开发阶段、测试阶段以及发布阶段;Obtain the software quality monitoring model corresponding to each stage in the development process of the target software, wherein the software quality monitoring model corresponding to each stage is constructed based on the preset scoring index corresponding to each stage and the preset scoring calculation method. , the development process of the target software includes a requirements analysis stage, a plan management stage, a development stage, a testing stage and a release stage;
    根据每个阶段分别对应的软件质量监控模型,分别对每个阶段进行质量监控,得到每个阶段分别对应的质量评分;According to the software quality monitoring model corresponding to each stage, the quality monitoring of each stage is carried out respectively, and the corresponding quality score of each stage is obtained;
    根据每个阶段分别对应的质量评分,确定每个阶段是否需要调整。Determine whether each stage needs to be adjusted according to the quality score corresponding to each stage.
  16. 如权利要求15所述的计算机可读存储介质,其中,所述计算机程序被处理器执行时还实现:The computer-readable storage medium of claim 15, wherein the computer program, when executed by the processor, further implements:
    采集所述目标软件在开发至第一阶段时产生的目标数据,所述第一阶段为所述每个阶段中的任一阶段;collecting target data generated when the target software is developed to the first stage, where the first stage is any one of the each stage;
    基于所述第一阶段对应的软件质量监控模型中的预设评分指标和预设评分计算方法,对所述目标数据进行评分,得到所述第一阶段对应的质量评分。Based on the preset scoring index and the preset scoring calculation method in the software quality monitoring model corresponding to the first stage, the target data is scored to obtain the quality score corresponding to the first stage.
  17. 如权利要求16所述的计算机可读存储介质,其中,所述计算机程序被处理器执行时还实现:The computer-readable storage medium of claim 16, wherein the computer program, when executed by the processor, further implements:
    获取所述第一阶段对应的质量评分;obtaining the quality score corresponding to the first stage;
    当检测到所述质量评分小于预设阈值时,确定所述第一阶段需要调整;或,When it is detected that the quality score is less than a preset threshold, it is determined that the first stage needs to be adjusted; or,
    当检测到所述质量评分大于或等于所述预设阈值时,确定所述第一阶段不需要调整。When it is detected that the quality score is greater than or equal to the preset threshold, it is determined that the first stage does not need to be adjusted.
  18. 如权利要求17所述的计算机可读存储介质,其中,所述计算机程序被处理器执行时还实现:The computer-readable storage medium of claim 17, wherein the computer program, when executed by the processor, further implements:
    基于预设规则对所述第一阶段进行调整;adjusting the first stage based on preset rules;
    基于所述第一阶段对应的软件质量监控模型,对调整后的第一阶段进行质量监控,得到所述调整后的第一阶段对应的质量评分。Based on the software quality monitoring model corresponding to the first stage, the quality of the adjusted first stage is monitored to obtain a quality score corresponding to the adjusted first stage.
  19. 如权利要求16至18任一项所述的计算机可读存储介质,其中,所述计算机程序被处理器执行时还实现:The computer-readable storage medium of any one of claims 16 to 18, wherein the computer program, when executed by the processor, further implements:
    确定每个阶段对应的最终质量评分,当所述第一阶段需要调整时,所述最终质量评分为调整后的第一阶段对应的质量评分,当所述第一阶段不需要调整时,所述最终质量评分为未调整的第一阶段对应的质量评分;Determine the final quality score corresponding to each stage, when the first stage needs to be adjusted, the final quality score is the quality score corresponding to the adjusted first stage, and when the first stage does not need to be adjusted, the The final quality score is the quality score corresponding to the unadjusted first stage;
    基于每个阶段对应的最终质量评分,计算所述目标软件对应的总体质量评分;Based on the final quality score corresponding to each stage, calculate the overall quality score corresponding to the target software;
    当检测到所述总体质量评分大于或等于预设质量阈值时,生成所述目标软件对应的合格报告。When it is detected that the overall quality score is greater than or equal to a preset quality threshold, a qualified report corresponding to the target software is generated.
  20. 如权利要求19所述的计算机可读存储介质,其中,所述计算机程序被处理器执行时还实现:The computer-readable storage medium of claim 19, wherein the computer program, when executed by the processor, further implements:
    当检测到所述总体质量评分小于所述预设质量阈值时,生成邮件信息,所述邮件信息用于提醒开发人员所述目标软件的开发过程不合格。When it is detected that the overall quality score is less than the preset quality threshold, email information is generated, and the email information is used to remind the developer that the development process of the target software is unqualified.
PCT/CN2021/083312 2020-12-25 2021-03-26 Method and apparatus for monitoring software development process, terminal, and storage medium WO2022134348A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202011560001.3 2020-12-25
CN202011560001.3A CN112668869A (en) 2020-12-25 2020-12-25 Method, device, terminal and storage medium for monitoring software development process

Publications (1)

Publication Number Publication Date
WO2022134348A1 true WO2022134348A1 (en) 2022-06-30

Family

ID=75408873

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/083312 WO2022134348A1 (en) 2020-12-25 2021-03-26 Method and apparatus for monitoring software development process, terminal, and storage medium

Country Status (2)

Country Link
CN (1) CN112668869A (en)
WO (1) WO2022134348A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116993286A (en) * 2023-07-24 2023-11-03 北京泰策科技有限公司 Test management system and method based on test progress reverse project progress

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113553096A (en) * 2021-07-23 2021-10-26 中信银行股份有限公司 Integrated approval issuing method and system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2005069902A2 (en) * 2004-01-15 2005-08-04 Topcoder, Inc. Systems and methods for software development
CN107992410A (en) * 2017-11-21 2018-05-04 平安养老保险股份有限公司 Software quality monitoring method, device, computer equipment and storage medium
CN109408359A (en) * 2018-08-03 2019-03-01 中国人民解放军63928部队 A kind of software test procedure quality metric method and system
CN111273890A (en) * 2020-01-20 2020-06-12 广东金赋科技股份有限公司 Quality monitoring method, platform and storage medium for software development process

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109829681B (en) * 2018-12-17 2024-04-30 平安健康保险股份有限公司 Software development monitoring method, device, computer equipment and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2005069902A2 (en) * 2004-01-15 2005-08-04 Topcoder, Inc. Systems and methods for software development
CN107992410A (en) * 2017-11-21 2018-05-04 平安养老保险股份有限公司 Software quality monitoring method, device, computer equipment and storage medium
CN109408359A (en) * 2018-08-03 2019-03-01 中国人民解放军63928部队 A kind of software test procedure quality metric method and system
CN111273890A (en) * 2020-01-20 2020-06-12 广东金赋科技股份有限公司 Quality monitoring method, platform and storage medium for software development process

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116993286A (en) * 2023-07-24 2023-11-03 北京泰策科技有限公司 Test management system and method based on test progress reverse project progress
CN116993286B (en) * 2023-07-24 2024-04-12 北京泰策科技有限公司 Test management system and method based on test progress reverse project progress

Also Published As

Publication number Publication date
CN112668869A (en) 2021-04-16

Similar Documents

Publication Publication Date Title
WO2021189904A1 (en) Data anomaly detection method and apparatus, and electronic device and storage medium
WO2022134348A1 (en) Method and apparatus for monitoring software development process, terminal, and storage medium
US9405662B2 (en) Process for displaying test coverage data during code reviews
CN107992410B (en) Software quality monitoring method and device, computer equipment and storage medium
WO2021208079A1 (en) Method and apparatus for obtaining power battery life data, computer device, and medium
US20180018575A1 (en) Social collaboration in probabilistic prediction
WO2020119426A1 (en) Gray scale testing method, server and computer readable storage medium
WO2019041931A1 (en) Method and device for time limit reminding of workflow data, workflow data processing method and device, and apparatus
WO2022142013A1 (en) Artificial intelligence-based ab testing method and apparatus, computer device and medium
JP2017532660A (en) Automatic tenant upgrade for multi-tenant services
CN109324959B (en) Method for automatically transferring data, server and computer readable storage medium
CN113504935A (en) Software development quality evaluation method and device, electronic equipment and readable storage medium
WO2019136915A1 (en) Fixed loss claim settlement method, server and computer readable storage medium
WO2020233021A1 (en) Test result analysis method based on intelligent decision, and related apparatus
CN111626498A (en) Equipment operation state prediction method, device, equipment and storage medium
WO2021042919A1 (en) Data allocation test method and device under high concurrency, terminal, and storage medium
CN104156312B (en) A kind of method for assessing software reliability
US20220327450A1 (en) Method for increasing or decreasing number of workers and inspectors in crowdsourcing-based project for creating artificial intelligence learning data
CN111127223A (en) Insurance product testing method and device and storage medium
CN113821443B (en) Function detection method, device, equipment and storage medium of application program
WO2019084864A1 (en) Method and apparatus for evaluating electronic medical record
CN111625720B (en) Method, device, equipment and medium for determining execution strategy of data decision item
CN107748711A (en) Method, terminal device and the storage medium of Automatic Optimal Storm degree of parallelisms
CN112560721A (en) Method and device for switching non-perception model, electronic equipment and storage medium
CN118071371A (en) Intelligent management method and device for provider admission, computer equipment and storage medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21908360

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21908360

Country of ref document: EP

Kind code of ref document: A1