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.
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.