CN108345530A - A kind of acquisition methods of software development efficiency - Google Patents

A kind of acquisition methods of software development efficiency Download PDF

Info

Publication number
CN108345530A
CN108345530A CN201810023071.1A CN201810023071A CN108345530A CN 108345530 A CN108345530 A CN 108345530A CN 201810023071 A CN201810023071 A CN 201810023071A CN 108345530 A CN108345530 A CN 108345530A
Authority
CN
China
Prior art keywords
time
development
exploitation
software
test
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201810023071.1A
Other languages
Chinese (zh)
Other versions
CN108345530B (en
Inventor
吕冬冬
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai liankun Technology Co., Ltd
Original Assignee
Lianjia Beijing Technology Co Ltd
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 Lianjia Beijing Technology Co Ltd filed Critical Lianjia Beijing Technology Co Ltd
Priority to CN201810023071.1A priority Critical patent/CN108345530B/en
Publication of CN108345530A publication Critical patent/CN108345530A/en
Application granted granted Critical
Publication of CN108345530B publication Critical patent/CN108345530B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/34Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
    • G06F11/3409Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment for performance assessment
    • G06F11/3419Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment for performance assessment by assessing time

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The present invention provides a kind of acquisition methods of software development efficiency, including:When research and development of software starts, label is created;The label stage residing for logging software research and development;Wherein, the stage residing for research and development of software includes at least development phase and test phase;When stage residing for the research and development of software changes, modification label, and the modification moment of recording mark;According to the modification moment of record, exploitation used time and the test used time of research and development of software are obtained, and according to exploitation used time and test used time, development time accounting is obtained, using development time accounting as software development efficiency.A kind of acquisition methods of software development efficiency provided by the invention, by obtaining exploitation used time and test used time automatically, to obtain exploitation used time accounting, used time accounting will be developed as software development efficiency, it is high degree of automation, efficient, without manually counting, calculating, substantially save human input, ensure data accuracy, obtains accurate software development efficiency.

Description

A kind of acquisition methods of software development efficiency
Technical field
The present invention relates to computer software technical fields, more particularly, to a kind of acquisition methods of software development efficiency.
Background technology
In research and development of software flow, each demand card has multiple links to need to circulate, as demand, exploitation, test, on Line.Efficiency that is how correct, objective, efficiently assessing these processes is that each research staff pays special attention to, for example, exploitation is used When, the test used time, exploitation testing time ratio etc..
When the exploitation of existing scheme statistics, testing time and exploitation testing time ratio, hand-kept exploitation is generally used to start Moment, finish time and test starting moment, test finish time etc., then manual calculations go out the duration of each link, root Software development efficiency is obtained according to the duration of each link.Statistic processes is time-consuming and laborious and be easy to cause data inaccuracy.Therefore, In the presence of researching and developing, each link time is not statistical uncertainty really, manual statistical measures data are time-consuming takes the existing method for obtaining software development efficiency Power, process data show the disadvantages such as not intuitive, the degree of automation is low.
Invention content
Existing low by manually obtaining the degree of automation existing for software development efficiency to overcome the shortcomings of, the present invention provides A kind of acquisition methods of software development efficiency.
The present invention provides a kind of acquisition methods of software development efficiency, including:
S1, when research and development of software starts, create label;The label stage residing for logging software research and development;
Wherein, the stage residing for research and development of software includes at least development phase and test phase;
When S2, the stage residing for the research and development of software change, the label, and the modification moment of recording mark are changed;
S3, the modification moment according to record obtain exploitation used time and the test used time of research and development of software, and according to described Used time and test used time are developed, development time accounting is obtained, using the development time accounting as software development efficiency.
Preferably, the modification moment according to record obtains the exploitation used time of research and development of software and tests the used time Specific steps include:
According to the modification moment of record, the first exploitation used time and the first test used time are obtained, and/or obtains second and opens When hair and second tests the used time;
The first exploitation used time is the time used in the development phase of research and development of software broad sense;
The first test used time is the time used in the test phase of research and development of software broad sense;
The second exploitation used time is the time used in the development phase of research and development of software narrow sense;
The second test used time is the time used in the test phase of research and development of software narrow sense;
Correspondingly, described according to the exploitation used time and test used time, it obtains development time accounting and specifically includes:
Used time and the first test used time are developed according to described first, obtains the first development time accounting;And/or according to described Second exploitation used time and the second test used time, obtain the second development time accounting.
Preferably, used time and the first test used time are developed according to described first, obtains the specific of the first development time accounting Step includes:
By described first develop the used time with described first test the sum of used time as the first used time and, acquisition described first is opened When hair with first used time and ratio, using the ratio as the first development time accounting.
Preferably, used time and the second test used time are developed according to described second, obtains the specific of the second development time accounting Step includes:
By described second develop the used time with described second test the sum of used time as the second used time and, acquisition described second is opened When hair with second used time and ratio, using the ratio as the second development time accounting.
Preferably, the modification moment according to record, the specific steps for obtaining the first exploitation used time include:
From all modification moment, obtains the label and be modified to the first Startup time leaved for development and changed For the first finish time to be tested;
The first exploitation used time is obtained according to first Startup time and first finish time.
Preferably, described that the first exploitation used time is obtained according to first Startup time and first finish time Specific steps include:
When first Startup time and first finish time being one, by first finish time and institute The time difference of the first Startup time is stated as the first exploitation used time;
It is last by time sequencing when first Startup time is one and first finish time is multiple The first a finish time and the time difference of first Startup time develop the used time as described first;
When first Startup time and first finish time are multiple, when starting for any described first It carves, is the first finish time of the last one as the using time sequencing before adjacent next first Startup time of time sequencing One intermediate finish time, using the described first intermediate finish time and the time difference of any first Startup time as first The intermediate used time;All the sum of described first intermediate used times are developed into the used time as described first;
When first Startup time is one and is had not been obtained to the first finish time, by current time and described first The time difference of Startup time is as the first exploitation used time.
Preferably, the modification moment according to record, the specific steps for obtaining the first test used time include:
Using first finish time as the second Startup time;
From all modification moment, obtains the label and be modified to the second finish time to be reached the standard grade;
Using second finish time and the time difference of second Startup time as the first test used time.
Preferably, the modification moment according to record, the specific steps for obtaining the second exploitation used time include:
From all modification moment, the third Startup time and changed that the label is modified in exploitation are obtained For third finish time to be tested;
The second exploitation used time is obtained according to the third Startup time and first finish time.
Preferably, described that the second exploitation used time is obtained according to the third Startup time and the third finish time Specific steps include:
When the third Startup time and the third finish time being one, by the third finish time and institute The time difference of third Startup time is stated as the second exploitation used time;
It is last by time sequencing when the third Startup time is one and the third finish time is multiple A third finish time and the time difference of the third Startup time develop the used time as described second;
When the third Startup time and the third finish time are multiple, when starting for any third It carves, is the third finish time of the last one as the using time sequencing before the adjacent next third Startup time of time sequencing Two intermediate finish times, using the described second intermediate finish time and the time difference of any third Startup time as second The intermediate used time;All the sum of described second intermediate used times are developed into the used time as described second;
When the third Startup time is one and third finish time has not been obtained, by current time and the third The time difference of Startup time is as the second exploitation used time.
Preferably, the modification moment according to record, the specific steps for obtaining the second test used time include:
From all modification moment, the 4th Startup time and changed that the label is modified in test are obtained For the 4th finish time to be reached the standard grade;
Using the 4th finish time and the time difference of the 4th Startup time as the second test used time.
A kind of acquisition methods of software development efficiency provided by the invention are used by obtaining exploitation used time and test automatically When, to obtain exploitation used time accounting, using exploitation used time accounting as software development efficiency, high degree of automation, efficient, nothing It need to manually count, calculate, substantially save human input, ensure data accuracy, obtain accurate software development efficiency, it can High efficiency is embodied as the summary of program member's offer development efficiency, project problem is found and implements to improve offer data support.
Description of the drawings
Fig. 1 is a kind of flow chart of the acquisition methods of software development efficiency of the embodiment of the present invention;
Fig. 2 is the signal for the first exploitation used time that a kind of acquisition methods of software development efficiency of the embodiment of the present invention obtain Figure;
Fig. 3 is the signal for the second exploitation used time that a kind of acquisition methods of software development efficiency of the embodiment of the present invention obtain Figure;
Fig. 4 is the signal for the first test used time that a kind of acquisition methods of software development efficiency of the embodiment of the present invention obtain Figure;
Fig. 5 is the signal for the second test used time that a kind of acquisition methods of software development efficiency of the embodiment of the present invention obtain Figure;
Fig. 6 is showing for the first development time accounting that a kind of acquisition methods of software development efficiency of the embodiment of the present invention obtain It is intended to.
Specific implementation mode
With reference to the accompanying drawings and examples, the specific implementation mode of the present invention is described in further detail.Implement below Example is not limited to the scope of the present invention for illustrating the present invention.
In the description of the present invention, it should be noted that unless otherwise indicated, term " first ", " second ", " third " etc. It is used for description purposes only, is not understood to indicate or imply relative importance.
First to the present embodiments relate to noun illustrate.
Logically sequentially, the stage residing for complete research and development of software includes:Demand stage, development phase, test phase With the stage of reaching the standard grade.
Logically sequentially, the stage residing for the research and development of software of subdivision was followed successively by with the next stage:Demand pond, it is to be developed, open In hair, in joint debugging, it is to be tested, test in, wait reaching the standard grade.
Demand stage, i.e. demand pond stage.
In research and development of software, the development phase includes the development phase of broad sense and the development phase of narrow sense.Correspondingly, rank is tested Section includes the test phase of the test phase and narrow sense of broad sense.
The development phase of broad sense includes stage in stage and joint debugging in stage to be developed, exploitation.The development phase of narrow sense wraps Include in exploitation the stage in stage and joint debugging.The test phase of broad sense includes the stage in stage to be tested and test.The test of narrow sense Stage only includes the stage in test.
It reaches the standard grade the stage, that is, the stage to be reached the standard grade.
The demand pond stage indicates that research and development of software still in demand stage, does not have the condition developed also.
Stage to be developed indicates that the demand pond stage has terminated, and research and development of software has had a condition developed, but also not into Row exploitation.
Stage in exploitation indicates that the stage to be developed has terminated, and research and development of software is in the stage being developed.
Stage in joint debugging indicates that the stage has terminated in exploitation, and software development is completed, and is carrying out joint debugging.
Stage to be tested indicates that the stage has terminated in joint debugging, and software joint debugging is completed, and waits for testing.
Stage in test indicates that the stage to be tested has terminated, and research and development of software is in the stage tested.
Stage to be reached the standard grade indicates to have terminated in test, and software is by test, the loitering phase before reaching the standard grade.
In research and development of software, since there may be problems in exploitation, joint debugging, cause research and development of software that can be returned from the stage to be tested Return in stage to be developed, exploitation the stage in stage or joint debugging.
Development phase and test phase together constitute the production phase of software.Therefore, the production phase of broad sense is by broad sense Development phase and broad sense test phase constitute, the production phase of narrow sense is by the development phase of narrow sense and the test phase of narrow sense It constitutes.
By the ratio of the used time and entire production phase or the used time of test phase of development phase, it can reflect exploitation rank The relativity of section and the used time of test phase, to reflect the development efficiency of software.
Fig. 1 is a kind of flow chart of the acquisition methods of software development efficiency of the embodiment of the present invention.As shown in Figure 1, a kind of soft The acquisition methods of part development efficiency include:Step S1, when research and development of software starts, label is created;Label is ground for logging software The hair residing stage;Wherein, the stage residing for research and development of software includes at least development phase and test phase;Step S2, work as software When the research and development residing stage changes, the value of label, and the modification moment of recording mark and modified value are changed;Step S3, the modification moment according to record and modified value obtain exploitation used time and the test used time of research and development of software, and according to exploitation Used time and test used time, development time accounting is obtained, using development time accounting as software development efficiency.
It should be noted that carrying out process control to research and development of software by software development systems.Software provided by the invention The acquisition methods of development efficiency are realized based on software development systems.
Specifically, step S1, when research and development of software starts, software development systems create label, by label and research and development of software Document, data for generating in the process etc. circulate in software development systems.
The stage for marking logging software research and development residing.The different value of label respectively represent demand pond, it is to be developed, exploitation in, In joint debugging, it is to be tested, test in, the stage to be reached the standard grade.The name in the stage residing for research and development of software can be referred to as the value marked.Example Such as, when research and development of software is in the stage in exploitation, the value of label is in exploitation.
Step S2, when the stage residing for the research and development of software changes, modification label.
Stage residing for research and development of software, label be correspondingly modified for demand pond, it is to be developed, exploitation in, in joint debugging, wait for In test, test, wait reaching the standard grade.
At the end of Current software development phase, software development systems will be marked from the title of the current generation of research and development of software and be repaiied It is changed to the title of next stage, and the research staff by label from the research staff of current generation circulation to next stage.
When changing label, the modification moment of software development systems recording mark.
It, can be using the state of the demand card of software as label in actual research and development of software.Demand card can be anti- Reflect the demand type of software, scene, description, reason, acceptance criteria, demand life cycle, demand association etc..Demand card is soft Part researches and develops the foundation that each stage research staff carries out corresponding R&D work, can circulate between research staff in each stage.Therefore, may be used Using by demand card as label, the stage being in by the state response research and development of software of demand card.
Therefore, the modification moment of label reflects quarter and finish time at the beginning of each stage residing for research and development of software.
Step S3, by the modification moment of label, software development systems can obtain opening for the development phase of research and development of software Begin moment and finish time, carved at the beginning of obtaining test phase and finish time, and by the development phase at the beginning of carve and Finish time obtain the development phase expend time, that is, develop the used time, by test phase at the beginning of carve and finish time obtain The time that the development phase is expended is taken, that is, tests the used time.
After software development systems obtain exploitation used time and test used time, according to exploitation used time and test used time, it can obtain Development time accounting.By development time accounting, the relativity of reflection exploitation used time and test used time are opened to obtain software Send out efficiency.
Under normal conditions, wish that the test used time is relatively fewer in research and development of software, and it is more to develop the used time.Because in this feelings Under condition, the more time is not expended in test, the more time is expended in exploitation, illustrates software development efficiency higher.
The embodiment of the present invention, to obtain exploitation used time accounting, will be opened by obtaining exploitation used time and test used time automatically Accounting is as software development efficiency when hair, high degree of automation, efficient, without manually counting, calculating, substantially saves Human input, ensure data accuracy, obtain accurate software development efficiency, can high efficiency be embodied as program member provide exploitation Efficiency, which is summarized, project problem is found and implements improvement offer data supports.Further, by marking the research and development of software obtained The beginning and ending time point in each stage, is stored in software development systems, and customary daily obtain may be implemented and develop the used time, test and use When and software development efficiency, acquisition process full automation, be not necessarily to manual intervention.
It obtains the exploitation used time of research and development of software according to the modification moment of record based on above-described embodiment and tests the used time Specific steps include:According to the modification moment of record, the first exploitation used time and the first test used time are obtained, and/or obtain second Develop used time and the second test used time;First exploitation used time was the time used in the development phase of research and development of software broad sense;First surveys The time used in test phase when on probation for research and development of software broad sense;Second exploitation used time was the development phase of research and development of software narrow sense Time used;Second test used time was the time used in the test phase of research and development of software narrow sense;Correspondingly, according to the exploitation used time With the test used time, obtains development time accounting and specifically include:According to the first exploitation used time and the first test used time, obtains first and open Send out time accounting;And/or according to the second exploitation used time and the second test used time, obtain the second development time accounting.
Specifically, the used time of the used time of the development phase of broad sense and the test phase of broad sense can be obtained by step S1, I.e. first exploitation used time td1 and the first test used time tt1;The used time of the development phase of narrow sense and the test of narrow sense can also be obtained The used time in stage, i.e., the second exploitation used time td2 and the second test used time tt2;Can also obtain simultaneously the first exploitation used time td1 and First test used time tt1 and the second exploitation used time td2 and the second test used time tt2.
First exploitation used time td1 indicated the time used in the development phase of broad sense, be the stage to be developed, in exploitation the stage and The sum of the time in joint debugging used in the stage.
First test used time tt1 indicated the time used in the test phase of broad sense, was the stage in stage to be tested and test The sum of time used.
Second exploitation used time td2 indicated the time used in the development phase of narrow sense, for the stage in stage in exploitation and joint debugging The sum of time used.
Second test used time tt2 indicated the time used in the test phase of narrow sense, for the time used in the stage in test.
Correspondingly, when obtaining the first exploitation used time td1 and the first test used time tt1 by step S1, step S2 is specific Including:When by the first exploitation used time td1 and the first test used time tt1, the first development time accounting is obtained.First development time Accounting reflects the relativity of the used time of the development phase of broad sense and the used time of the test phase of broad sense, soft to reflect Part development efficiency.
When obtaining the second exploitation used time td2 and the second test used time tt2 by step S1, step S2 is specifically included:It is logical When crossing the second exploitation used time td2 and the second test used time tt2, the second development time accounting is obtained.Second development time accounting, instead The relativity for having reflected the used time of the development phase of narrow sense and the used time of the test phase of narrow sense, to reflect software development effect Rate.
Based on above-described embodiment, obtained according to the first exploitation used time and the first test used time as a kind of alternative embodiment The specific steps of first development time accounting include:It regard the sum of the first exploitation used time and the first test used time as the first used time With, obtain the first exploitation used time and the first used time and ratio, using ratio as the first development time accounting.
Specifically, after obtaining the first exploitation used time td1 and the first test used time tt1, the first exploitation used time and first is calculated Test the sum of used time, i.e. the first used time and tp1.First used time and tp1 are the used time of the production phase of broad sense.
Tp1=td1+tt1
According to the first exploitation used time td1 and the first used time and tp1, the first development time accounting tr1 is obtained.
The used time for the development phase that first development time accounting tr1 directly reflects broad sense accounts for the use of the production phase of broad sense When ratio, reflect the relativity of the used time of the development phase of broad sense and the used time of the test phase of broad sense indirectly, directly Reflect software development efficiency.
As another alternative embodiment, the ratio of the first exploitation used time td1 and the first test used time tt1 can also be made For the first development time accounting tr1.
At this point, the first development time accounting tr1 directly reflects the test rank of the used time and broad sense of the development phase of broad sense Section used time relativity, reflect indirectly the development phase of broad sense used time account for broad sense production phase used time ratio Example, reflects software development efficiency indirectly.
Based on above-described embodiment, obtained according to the second exploitation used time and the second test used time as a kind of alternative embodiment The specific steps of second development time accounting include:It regard the sum of the second exploitation used time and the second test used time as the second used time With, obtain the second exploitation used time and the second used time and ratio, using ratio as the second development time accounting.
Specifically, after obtaining the second exploitation used time td2 and the second test used time tt2, the second exploitation used time and second is calculated Test the sum of used time, i.e. the second used time and tp2.Second used time and tp2 are the used time of the production phase of narrow sense.
Tp2=td2+tt2
According to the second exploitation used time td2 and the second used time and tp2, the second development time accounting tr2 is obtained.
The used time for the development phase that second development time accounting tr2 directly reflects narrow sense accounts for the use of the production phase of narrow sense When ratio, reflect the relativity of the used time of the development phase of narrow sense and the used time of the test phase of narrow sense indirectly, directly Reflect software development efficiency.
As another two kinds of alternative embodiments, the ratio of the second exploitation used time td2 and the second test used time tt2 can also be made For the second development time accounting tr2.
At this point, the second development time accounting tr2 directly reflects the test rank of the used time and narrow sense of the development phase of narrow sense Section used time relativity, reflect indirectly the development phase of narrow sense used time account for narrow sense production phase used time ratio Example, reflects software development efficiency indirectly.
Based on above-described embodiment, according to the modification moment of record, the specific steps for obtaining for the first exploitation used time include:From repairing Change in the moment, obtains label and be modified to the first Startup time leaved for development and be modified to the first finish time to be tested; Obtained for the first exploitation used time according to the first Startup time and the first finish time.
Specifically, according to the modification moment of label, quarter and finish time at the beginning of the development phase for obtaining broad sense.Broad sense Development phase at the beginning of carve, i.e. the first Startup time ts1;The finish time of the development phase of broad sense, i.e., at the end of first Carve tf1.According to the first Startup time ts1 and the first finish time tf1, the used time of the development phase of broad sense is obtained, i.e., first opens Td1 when hair.
The specific steps for obtaining the first Startup time ts1 include:From all changing in the moment, obtains label and be modified to wait for The modification moment of exploitation, using each modification moment as the first Startup time ts1, i.e., at the beginning of the development phase of broad sense It carves.
The specific steps for obtaining the first finish time tf1 include:From all changing in the moment, obtains label and be modified to wait for The modification moment of test, using each modification moment as the first finish time tf1, i.e., at the end of the development phase of broad sense It carves.
Based on above-described embodiment, the specific step of the first exploitation used time is obtained according to the first Startup time and the first finish time Suddenly include:When the first Startup time and the first finish time being one, by the first finish time and the first Startup time Time difference is as the first exploitation used time;When the first Startup time is one and the first finish time was multiple, by time sequencing It is the first finish time of the last one and the time difference of the first Startup time to develop the used time as first;When the first Startup time When with the first finish time being multiple, for any first Startup time, by time sequencing it is adjacent next first start when Before quarter time sequencing be the first finish time of the last one as the first intermediate finish time, by the first intermediate finish time Time difference with any first Startup time is as the first intermediate used time;All the sum of first intermediate used times are opened as first When hair;When the first Startup time is one and is had not been obtained to the first finish time, by current time and the first Startup time Time difference as first exploitation the used time.
It should be noted that due in research and development of software, research and development of software may return to be developed from the stage to be tested Stage in stage or joint debugging in stage, exploitation, accordingly, it is possible to be carved at the beginning of there are the development phase of multiple broad sense or broad sense The finish time of development phase.In addition, when obtaining software development efficiency, research and development of software is likely to be at stage to be developed, exploitation The development phase in stage in middle stage or joint debugging, broad sense is not over, and does not enter into the stage to be tested, thus obtains less than entrance The time in stage to be tested, i.e. the first finish time.
It needs to be directed to the above situation, according to the first Startup time ts1 and the first finish time tf1, obtain under different situations First exploitation used time td1.
Under normal circumstances, the first Startup time ts1 and the first finish time tf1 is one, at this point, the first exploitation used time Td1 is the time difference of the first finish time tf1 and the first Startup time ts1, i.e. the first finish time tf1 and the first Startup time The difference of ts1.
Td1=tf1-ts1
When research and development of software stage from stage in stage to be tested return exploitation or joint debugging, can change labeled as in exploitation Or in joint debugging, when the stage is again introduced into the stage to be tested from stage in exploitation or joint debugging, label can be revised as again to be measured Examination, to generate a first finish time tf1 again.If repeatedly returning to stage or joint debugging scala media in exploitation from the stage to be tested Section, and correspondingly will produce at the end of multiple first repeatedly from stage in exploitation or joint debugging when stage into the stage to be tested Carve tf1.
At this point, the first Startup time ts1 is one and the first finish time tf1 is multiple, from multiple first finish times In tf1, it is the first finish time tf1 of the last one to take time sequencing, at the end of being the last one first by time sequencing The time difference of tf1 and the first Startup time ts1 is carved as the first exploitation used time td1.
When research and development of software is from that when returning to the stage to be developed in the stage to be tested, can change labeled as to be developed, to generate again One the first Startup time ts1;It, can be again by modification labeled as to be measured when being again introduced into the stage to be tested from the stage to be developed Examination, to generate a first finish time tf1 again.If repeatedly returning to the stage to be developed from the stage to be tested, and correspondingly When repeatedly the stage enters the stage to be tested from joint debugging, multiple first finish times tf1 and multiple first finish times are will produce tf1。
At this point, the first Startup time ts1 and the first finish time tf1 are multiple.It therefore, can will be each to be developed Stage enters the process in stage to be tested as a broad sense sub- development phase, to the development phase of broad sense is divided into multiple wide Foster son's development phase.Each broad sense sub- development phase corresponds to an a first Startup time ts1 and first finish time tf1, According to the first Startup time ts1 and the first finish time tf1 of broad sense sub- development phase, it can obtain for the first intermediate used time.It is right All the first intermediate used time summations, summation is the first exploitation used time td1 with value.
Since in chronological order, the first Startup time ts1 of next broad sense sub- development phase develops rank in current broad sense After first finish time tf1 of section, therefore, for any first Startup time ts1 of acquisition, first Startup time is obtained All the first finish time tf1 before the adjacent next first Startup time ts1 of ts1 time sequencings, when by first startup Time sequencing is most in all the first finish time tf1 before carving the adjacent next first Startup time ts1 of ts1 time sequencings The first finish time tf1 of the latter is as the first intermediate finish time, i.e. any first Startup time ts1 corresponding first Finish time tf1.By the above process, the corresponding first finish time tf1 of every 1 first Startup time ts1 can be obtained, from And the first intermediate used time of each broad sense sub- development phase is obtained, it then sums to all the first intermediate used times, obtains first and open Td1 when hair.
When being not over the development phase of the broad sense of research and development of software, the stage to be tested is not entered into, is obtained less than first Finish time tf1.At this point, using current time when obtaining software development efficiency as the first finish time tf1, it is current to obtain this The time difference at moment and the first Startup time ts1, using the time difference as the first exploitation used time td1.
Based on above-described embodiment, the specific steps for obtaining for the first test used time according to the modification moment of label include:By One finish time is as the second Startup time;From all changing in the moment, obtains label and be modified to the end of reach the standard grade second Moment;Using the second finish time and the time difference of the second Startup time as the first test used time.
Specifically, according to the modification moment of record, quarter and finish time at the beginning of the test phase of broad sense are obtained.Broad sense Test phase at the beginning of carve, i.e. the second Startup time ts2;The finish time of the test phase of broad sense, i.e., at the end of second Carve tf2.According to the second Startup time ts2 and the second finish time tf2, the used time of the development phase of broad sense is obtained, i.e., first opens Tt1 when hair.
The specific steps for obtaining the second Startup time ts2 include:First finish time tf1 is the beginning of state to be tested It is carved at the beginning of the test phase of the finish time and broad sense of moment and the development phase of broad sense, the first of acquisition is terminated Moment tf1 is as the second Startup time ts2.
The specific steps for obtaining the second finish time tf2 include:From all changing in the moment, obtains label and be modified to wait for The modification moment reached the standard grade, using the modification moment as the second finish time tf2, the i.e. finish time of the test phase of broad sense.
Second Startup time ts2 and the second finish time tf2 is one, obtains the second finish time tf2 and is opened with second It the time difference at dynamic moment ts2, the i.e. difference of the second finish time tf2 and the second Startup time ts2, is surveyed the time difference as first Tt1 when on probation.
Tt1=tf2-ts2
Based on above-described embodiment, the specific steps for obtaining for the second exploitation used time according to the modification moment of record include:From complete Portion was changed in the moment, was obtained at the end of marking the third Startup time being modified in exploitation and being modified to third to be tested It carves;Obtained for the second exploitation used time according to third Startup time and the first finish time.
Specifically, according to the modification moment of label, quarter and finish time at the beginning of the development phase for obtaining narrow sense.Narrow sense Development phase at the beginning of carve, i.e. third Startup time ts3;The finish time of the development phase of narrow sense, i.e., at the end of third Carve tf3.According to third Startup time ts3 and third finish time tf3, the used time of the development phase of narrow sense is obtained, i.e., second opens Td2 when hair.
The specific steps for obtaining third Startup time ts3 include:From all changing in the moment, obtains label and be modified to out The modification moment in hair, using each modification moment as third Startup time ts3, i.e., at the beginning of the development phase of narrow sense It carves.
The specific steps for obtaining third finish time tf3 include:From all changing in the moment, obtains label and be modified to wait for The modification moment of test, using each modification moment as third finish time tf3, i.e., at the end of the development phase of narrow sense It carves.
Based on above-described embodiment, the specific step of the second exploitation used time is obtained according to third Startup time and third finish time Suddenly include:When third Startup time and third finish time being one, by third finish time and third Startup time Time difference is as the second exploitation used time;
It is the third of the last one by time sequencing when third Startup time is one and third finish time is multiple Finish time and the time difference of third Startup time develop the used time as second;
It is for any third Startup time, the time is suitable when third Startup time and third finish time are multiple Time sequencing is the third finish time of the last one as terminating among second before the adjacent next third Startup time of sequence Moment, using the second intermediate finish time and the time difference of any third Startup time as the second intermediate used time;It will all the The sum of two intermediate used times are as the second exploitation used time;
When third Startup time is one and third finish time has not been obtained, by current time and third Startup time Time difference as second exploitation the used time.
It should be noted that due in research and development of software, research and development of software may return to be developed from the stage to be tested Stage in stage or joint debugging in stage, exploitation, accordingly, it is possible to be carved at the beginning of there are the development phase of multiple narrow senses or narrow sense The finish time of development phase.In addition, when obtaining software development efficiency, research and development of software is likely to be at stage to be developed, exploitation The development phase in stage in middle stage or joint debugging, narrow sense is not over, and does not enter into the stage to be tested, thus obtains less than entrance The time in stage to be tested, i.e. the first finish time.
It needs to be directed to the above situation, according to third Startup time ts3 and third finish time tf3, obtain under different situations Second exploitation used time td2.
Under normal circumstances, third Startup time ts3 and third finish time tf3 is one, at this point, the second exploitation used time Td2 is the time difference of third finish time tf3 and third Startup time ts3, i.e. third finish time tf3 and third Startup time The difference of ts3.
Td2=tf3-ts3
When research and development of software is from when returning to the stage in joint debugging in the stage to be tested, can change labeled as in joint debugging, from joint debugging scala media Section is when being again introduced into the stage to be tested, label can be revised as again it is to be tested, to generate a third finish time again tf3.If repeatedly returning to the stage in joint debugging from the stage to be tested, and correspondingly repeatedly the stage enters the stage to be tested from joint debugging When, it will produce multiple third finish time tf3.
At this point, third Startup time ts3 is one and third finish time tf3 is multiple, from multiple third finish times In tf3, it is the third finish time tf3 of the last one to take time sequencing, at the end of being the third of the last one by time sequencing The time difference of tf3 and third Startup time ts3 is carved as the second exploitation used time td2.
When research and development of software stage from stage to be tested return exploitation, in changing labeled as developing, to and generate One third Startup time ts3;It, can be again by modification labeled as to be measured when the stage is again introduced into the stage to be tested from exploitation Examination, to generate a third finish time tf3 again.If repeatedly returning to the stage in exploitation from the stage to be tested, and correspondingly When repeatedly the stage enters the stage to be tested from exploitation, multiple third finish times tf3 and multiple third finish times are will produce tf3。
At this point, third Startup time ts3 and third finish time tf3 are multiple.It therefore, can will be each from exploitation Stage enters the process in stage to be tested as a narrow sense sub- development phase, to the development phase of narrow sense is divided into multiple narrow Foster son's development phase.Each narrow sense sub- development phase corresponds to an a third Startup time ts3 and third finish time tf3, According to the third Startup time ts3 of narrow sense sub- development phase and third finish time tf3, it can obtain for the second intermediate used time.It is right All the second intermediate used time summations, summation is the second exploitation used time td2 with value.
Since in chronological order, the third Startup time ts3 of next narrow sense sub- development phase develops rank in current narrow sense After the third finish time tf3 of section, therefore, for any third Startup time ts3 of acquisition, the third Startup time is obtained Whole third finish time tf3 before the adjacent next third Startup time ts3 of ts3 time sequencings, when which is started Time sequencing is most in whole third finish time tf3 before carving the adjacent next third Startup time ts3 of ts3 time sequencings The third finish time tf3 of the latter is as the second intermediate finish time, i.e. corresponding thirds of any third Startup time ts3 Finish time tf3.By the above process, the corresponding third finish time tf3 of each third Startup time ts3 can be obtained, from And the second intermediate used time of each narrow sense sub- development phase is obtained, it then sums to all the second intermediate used times, obtains second and open Td2 when hair.
When being not over the development phase of the narrow sense of research and development of software, the stage to be tested is not entered into, is obtained less than third Finish time tf3.At this point, using current time when obtaining software development efficiency as third finish time tf3, it is current to obtain this The time difference at moment and third Startup time ts3, using the time difference as the second exploitation used time td2.
Based on above-described embodiment, the specific steps for obtaining for the second test used time according to the modification moment of label include:From complete Portion was changed in the moment, was obtained at the end of marking the 4th Startup time being modified in test and being modified to be reached the standard grade the 4th It carves;Using the 4th finish time and the time difference of the 4th Startup time as the second test used time.
Specifically, according to the modification moment of label, quarter and finish time at the beginning of the test phase of narrow sense are obtained.Narrow sense Test phase at the beginning of carve, i.e. the 4th Startup time ts4;The finish time of the test phase of narrow sense, i.e., at the end of the 4th Carve tf4.According to the 4th Startup time ts4 and the 4th finish time tf4, the used time of the development phase of narrow sense is obtained, i.e., first opens Tt2 when hair.
The specific steps for obtaining the 4th Startup time ts4 include:From all changing in the moment, obtains label and be modified to survey The modification moment in examination carves using the modification moment as the 4th Startup time ts4 at the beginning of the test phase of broad sense.
The specific steps for obtaining the 4th finish time tf4 include:From all changing in the moment, obtains label and be modified to wait for The modification moment reached the standard grade, using the modification moment as the 4th finish time tf4, the i.e. finish time of the test phase of broad sense.
4th Startup time ts4 and the 4th finish time tf4 is one, obtains the 4th finish time tf4 and is opened with the 4th It the time difference at dynamic moment ts4, the i.e. difference of the 4th finish time tf4 and the 4th Startup time ts4, is opened the time difference as second Tt2 when hair.
Tt2=tf4-ts4
Illustrate a kind of effect of the acquisition methods of software development efficiency provided by the invention below by an example.Fig. 2 For the schematic diagram for the first exploitation used time that a kind of acquisition methods of software development efficiency of the embodiment of the present invention obtain.Fig. 3 is this hair The schematic diagram for the second exploitation used time that a kind of acquisition methods of bright software development efficiency of embodiment obtain.Fig. 4 is that the present invention is implemented The schematic diagram for the first test used time that a kind of acquisition methods of software development efficiency of example obtain.Fig. 5 is that the embodiment of the present invention is a kind of The schematic diagram for the second test used time that the acquisition methods of software development efficiency obtain.Fig. 6 is that a kind of software of the embodiment of the present invention is opened Send out the schematic diagram of the first development time accounting of the acquisition methods acquisition of efficiency.
The the first exploitation used time obtained customary daily, the second exploitation in one week (from November 22nd, 2017 to November 30) Used time, the first test used time and the second test used time difference are as shown in Figures 2 to 5.In Fig. 2 to Fig. 5, abscissa indicates to obtain soft The time of part development efficiency, point indicates one day each of on axis of abscissas;Ordinate indicates the used time, and unit is the second.According to reality It needs, abscissa can refine.Such as:Point indicates one hour each of on axis of abscissas, but not limited to this.According to practical need It wants, the unit of ordinate may be point, hour or day, but not limited to this.
It is opened according to the first exploitation used time obtained customary daily a period of time (September in 2017 20 days to September 29 days), second When hair, first test the used time and second test the used time, the software development efficiency in this period can be obtained.As shown in fig. 6, Daily corresponding four column figures from left to right indicate the first exploitation used time of same day acquisition, the second exploitation successively on abscissa Used time, the first test used time and the second test used time, curve are the first development time accounting, reflect software development efficiency.Fig. 6 In, abscissa indicates to obtain the time of software development efficiency, and point indicates one day each of on axis of abscissas;The ordinate table in left side Show that used time, unit are the second;The ordinate on right side indicates percentage.According to actual needs, abscissa can refine.Such as:Horizontal seat Point indicates one hour each of on parameter, but not limited to this.According to actual needs, the unit of left side ordinate may be point, Hour or day, but not limited to this.
Fig. 6 can by the first of acquisition the exploitation used time, the second exploitation used time, the first test used time, the second test used time and The software development efficiency displaying obtained according to the first exploitation used time, the second exploitation used time, the first test used time, the second test used time On a width figure, intuitively reflect software development efficiency.
The embodiment of the present invention develops used time, the second exploitation used time, the first test used time, the second survey by will obtain first It is intuitively shown automatically with software development efficiency when on probation, convenient for grasping software development efficiency, control software research and development in time Process, improve the quality and efficiency of research and development of software.
Finally, the above embodiment of the present invention is only preferable embodiment, is not intended to limit the protection model of the present invention It encloses.All within the spirits and principles of the present invention, any modification, equivalent replacement, improvement and so on should be included in the present invention Protection domain within.

Claims (10)

1. a kind of acquisition methods of software development efficiency, which is characterized in that including:
S1, when research and development of software starts, create label;The label stage residing for logging software research and development;
Wherein, the stage residing for research and development of software includes at least development phase and test phase;
When S2, the stage residing for the research and development of software change, the label, and the modification moment of recording mark are changed;
S3, the modification moment according to record obtain exploitation used time and the test used time of research and development of software, and according to the exploitation Used time and test used time, development time accounting is obtained, using the development time accounting as software development efficiency.
2. the acquisition methods of software development efficiency according to claim 1, which is characterized in that described according to described in record The moment is changed, the specific steps of the exploitation used time and test used time that obtain research and development of software include:
According to the modification moment of record, the first exploitation used time and the first test used time are obtained, and/or obtains the second exploitation and uses When and second test the used time;
The first exploitation used time is the time used in the development phase of research and development of software broad sense;
The first test used time is the time used in the test phase of research and development of software broad sense;
The second exploitation used time is the time used in the development phase of research and development of software narrow sense;
The second test used time is the time used in the test phase of research and development of software narrow sense;
Correspondingly, described according to the exploitation used time and test used time, it obtains development time accounting and specifically includes:
Used time and the first test used time are developed according to described first, obtains the first development time accounting;And/or according to described second Used time and the second test used time are developed, the second development time accounting is obtained.
3. the acquisition methods of software development efficiency according to claim 2, which is characterized in that used according to first exploitation When and first test the used time, obtain the first development time accounting specific steps include:
By described first develop the used time with described first test the sum of used time as the first used time and, obtain the first exploitation use When with first used time and ratio, using the ratio as the first development time accounting.
4. the acquisition methods of software development efficiency according to claim 2, which is characterized in that used according to second exploitation When and second test the used time, obtain the second development time accounting specific steps include:
By described second develop the used time with described second test the sum of used time as the second used time and, obtain the second exploitation use When with second used time and ratio, using the ratio as the second development time accounting.
5. the acquisition methods of software development efficiency according to claim 2, which is characterized in that described according to described in record The moment is changed, the specific steps for obtaining the first exploitation used time include:
From all modification moment, obtains the label and be modified to the first Startup time leaved for development and be modified to wait for First finish time of test;
The first exploitation used time is obtained according to first Startup time and first finish time.
6. the acquisition methods of software development efficiency according to claim 5, which is characterized in that described to be opened according to described first Dynamic moment and first finish time obtain the specific steps that described first develops the used time:
When first Startup time and first finish time being one, by first finish time and described the The time difference of one Startup time is as the first exploitation used time;
It is the last one by time sequencing when first Startup time is one and first finish time is multiple First finish time and the time difference of first Startup time develop the used time as described first;
When first Startup time and first finish time are multiple, for any first Startup time, Using time sequencing before adjacent next first Startup time of time sequencing be the first finish time of the last one as first Intermediate finish time, using the time difference of the described first intermediate finish time and any first Startup time as in first Between the used time;All the sum of described first intermediate used times are developed into the used time as described first;
When first Startup time is one and is had not been obtained to the first finish time, current time and described first are started The time difference at moment is as the first exploitation used time.
7. the acquisition methods of software development efficiency according to claim 5, which is characterized in that described according to described in record The moment is changed, the specific steps for obtaining the first test used time include:
Using first finish time as the second Startup time;
From all modification moment, obtains the label and be modified to the second finish time to be reached the standard grade;
Using second finish time and the time difference of second Startup time as the first test used time.
8. the acquisition methods of software development efficiency according to claim 2, which is characterized in that described according to described in record The moment is changed, the specific steps for obtaining the second exploitation used time include:
From all modification moment, the third Startup time and be modified to wait for that the label is modified in exploitation are obtained The third finish time of test;
The second exploitation used time is obtained according to the third Startup time and first finish time.
9. the acquisition methods of software development efficiency according to claim 8, which is characterized in that described to be opened according to the third Dynamic moment and the third finish time obtain the specific steps that described second develops the used time:
When the third Startup time and the third finish time being one, by the third finish time and described the The time difference of three Startup times is as the second exploitation used time;
It is the last one by time sequencing when the third Startup time is one and the third finish time is multiple Third finish time and the time difference of the third Startup time develop the used time as described second;
When the third Startup time and the third finish time are multiple, for any third Startup time, Using time sequencing before the adjacent next third Startup time of time sequencing be the third finish time of the last one as second Intermediate finish time, using the time difference of the described second intermediate finish time and any third Startup time as in second Between the used time;All the sum of described second intermediate used times are developed into the used time as described second;
When the third Startup time is one and third finish time has not been obtained, current time and the third are started The time difference at moment is as the second exploitation used time.
10. the acquisition methods of software development efficiency according to claim 8, which is characterized in that the institute according to record The modification moment is stated, the specific steps for obtaining the second test used time include:
From all modification moment, the 4th Startup time and be modified to wait for that the label is modified in test are obtained The 4th finish time reached the standard grade;
Using the 4th finish time and the time difference of the 4th Startup time as the second test used time.
CN201810023071.1A 2018-01-10 2018-01-10 Method for acquiring software development efficiency Active CN108345530B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810023071.1A CN108345530B (en) 2018-01-10 2018-01-10 Method for acquiring software development efficiency

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810023071.1A CN108345530B (en) 2018-01-10 2018-01-10 Method for acquiring software development efficiency

Publications (2)

Publication Number Publication Date
CN108345530A true CN108345530A (en) 2018-07-31
CN108345530B CN108345530B (en) 2020-02-28

Family

ID=62961300

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810023071.1A Active CN108345530B (en) 2018-01-10 2018-01-10 Method for acquiring software development efficiency

Country Status (1)

Country Link
CN (1) CN108345530B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113222300A (en) * 2021-06-15 2021-08-06 中国银行股份有限公司 Method and device for processing product modification data, readable medium and equipment
CN113792189A (en) * 2021-09-30 2021-12-14 中国人民解放军国防科技大学 Crowd-sourcing software development contribution efficiency evaluation method, device, equipment and medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102346663A (en) * 2010-08-06 2012-02-08 苏州巴米特信息科技有限公司 Quality control method for software development phase
CN104021071A (en) * 2013-03-01 2014-09-03 腾讯科技(深圳)有限公司 Method and system for obtaining process lifecycles
CN105095086A (en) * 2015-08-27 2015-11-25 浪潮电子信息产业股份有限公司 Improved software test model and improved software test method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102346663A (en) * 2010-08-06 2012-02-08 苏州巴米特信息科技有限公司 Quality control method for software development phase
CN104021071A (en) * 2013-03-01 2014-09-03 腾讯科技(深圳)有限公司 Method and system for obtaining process lifecycles
CN105095086A (en) * 2015-08-27 2015-11-25 浪潮电子信息产业股份有限公司 Improved software test model and improved software test method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
冯博琴: "《软件技术基础》", 31 July 2000, 人民邮电出版社 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113222300A (en) * 2021-06-15 2021-08-06 中国银行股份有限公司 Method and device for processing product modification data, readable medium and equipment
CN113792189A (en) * 2021-09-30 2021-12-14 中国人民解放军国防科技大学 Crowd-sourcing software development contribution efficiency evaluation method, device, equipment and medium
CN113792189B (en) * 2021-09-30 2024-05-14 中国人民解放军国防科技大学 Method, device, equipment and medium for evaluating contribution efficiency of crowd-sourced software development

Also Published As

Publication number Publication date
CN108345530B (en) 2020-02-28

Similar Documents

Publication Publication Date Title
Luque Diving behaviour analysis in R
CN104965886B (en) Data dimension processing method
CN102777370B (en) Realization method of LabVIEW-based high-pressure pump performance testing system
Zhang et al. Information retrieval evaluation as search simulation: A general formal framework for ir evaluation
CN104375934B (en) Method for testing reliability of Android mobile phone software
CN108345530A (en) A kind of acquisition methods of software development efficiency
US8589133B1 (en) Dynamic simulation of a system of interdependent systems
CN107103400A (en) Quality management device and method for quality control
CN103810094B (en) Execution method, device and the testing tool of a kind of test cases
CN102110012B (en) Relational modeling for performance analysis of multi-core processors using virtual tasks
CN114897296A (en) RPA flow labeling method, execution process playback method and storage medium
JP2009134468A (en) Supply chain simulation system and optimum design program
CN104571094A (en) Detection device for engine fuel supply control system
CN109871321A (en) A kind of method and test case management platform of test case Code automatic build
CN101673233A (en) Scheduling method of test items and scheduling system thereof
Englund et al. A crowdsourcing system for integrated and reproducible evaluation in scientific visualization
CN105955918A (en) Experimental multi-instrument system
CN101587511A (en) Appraising method for short answer questions in computer auxiliary test system
CN107608838A (en) A kind of storage device method of testing, system, equipment and computer-readable storage medium
CN107729305A (en) Conference materials automatic generation method based on database and front end Display Technique
CN117032665B (en) Visual construction method and system for investment factors
CN114328495A (en) Enterprise material cleaning service system and data cleaning method thereof
CN107885648A (en) A kind of method and apparatus for generating test report
CN106730844B (en) A kind of scene runing time test method and device
CN106155878A (en) For the method and apparatus being created for the test environment of software test in data base

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 100085 Floor 101 102-1, No. 35 Building, No. 2 Hospital, Xierqi West Road, Haidian District, Beijing

Applicant after: Seashell Housing (Beijing) Technology Co., Ltd.

Address before: 100085 Floor 101 102-1, No. 35 Building, No. 2 Hospital, Xierqi West Road, Haidian District, Beijing

Applicant before: Chain home network (Beijing) Technology Co., Ltd.

GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20200824

Address after: No.3 building, No.101 Beicun Road, Fengxian District, Shanghai

Patentee after: Shanghai liankun Technology Co., Ltd

Address before: 100085 Floor 102-1, Building No. 35, West Second Banner Road, Haidian District, Beijing

Patentee before: Seashell Housing (Beijing) Technology Co.,Ltd.