CN108829580A - Multi version test data processing method, device, equipment and storage medium - Google Patents
Multi version test data processing method, device, equipment and storage medium Download PDFInfo
- Publication number
- CN108829580A CN108829580A CN201810425235.3A CN201810425235A CN108829580A CN 108829580 A CN108829580 A CN 108829580A CN 201810425235 A CN201810425235 A CN 201810425235A CN 108829580 A CN108829580 A CN 108829580A
- Authority
- CN
- China
- Prior art keywords
- code
- edition
- edition code
- version
- source code
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/3668—Software testing
- G06F11/3672—Test management
- G06F11/3688—Test management for test execution, e.g. scheduling of test suites
Abstract
The present invention proposes a kind of multi version test data processing method, device, equipment and storage medium, and wherein method includes:The different information between the corresponding coverage data of each edition code of target application and each edition code is obtained, wherein different information, the structural information including variance codes;According to the structural information of variance codes, target coverage rate fusion mode is determined;According to target coverage rate fusion mode, the corresponding coverage data of each edition code is subjected to fusion treatment, determines total coverage data of target application.The method achieve according to the structural information between each edition code of application, the corresponding coverage data of each edition code is merged, so that user is after the coverage rate test for completing each edition code of application, it quickly can comprehensively get total covering state using latest edition code, to facilitate user to measure the quality of application latest edition code, user experience is greatly improved.
Description
Technical field
The present invention relates to technical field of data processing, in particular to a kind of multi version test data processing method, is set device
Standby and storage medium.
Background technique
With the fast development of the communication technology, the value volume and range of product of application is more and more abundant, and faces the difference of user
Demand, each application is also in the update for constantly carrying out version.
In practical application, when application updates, developer needs to carry out the source file of exploitation various tests, test at
User's use can be just distributed to after function.Wherein, coverage rate test is important one in code tester, and user can be according to this
Coverage data, determines which code line current version code specifically performs in test.
However, being only capable of a certain specific version for application since current application code carries out the tool of coverage rate test
This code carries out coverage rate test, and to obtain the coverage data of the version, this allows for the code coverage when the version
When lower, user can not measure the particular state of the edition code, so that generation directly according to the code coverage data of the version
The result practicability of code coverage rate test is poor.
Summary of the invention
The present invention is directed to solve at least some of the technical problems in related technologies.
For this purpose, the first purpose of this invention is to propose that a kind of multi version test data processing method, this method are realized
According to the structural information between each edition code of application, the corresponding coverage data of each edition code merged, with
Make user after the coverage rate test for completing each edition code of application, quickly can comprehensively get using latest edition code
Total covering state, thus facilitate user to application latest edition code quality measure, greatly improve user experience.
Second object of the present invention is to propose a kind of multi version test data processing unit.
Third object of the present invention is to propose a kind of computer equipment.
Fourth object of the present invention is to propose a kind of computer readable storage medium.
In order to achieve the above object, first aspect present invention embodiment proposes a kind of multi version test data processing method, it should
Method includes:Obtain the difference letter between the corresponding coverage data of each edition code of target application and each edition code
Breath, wherein the different information, the structural information including variance codes;According to the structural information of the variance codes, mesh is determined
Mark coverage rate fusion mode;According to the target coverage rate fusion mode, by the corresponding coverage rate of each edition code
Data carry out fusion treatment, determine total coverage data of the target application.
Multi version test data processing method provided in an embodiment of the present invention, first by obtaining target application each version generation
Different information between the corresponding coverage data of code and each edition code, wherein different information includes the structure of variance codes
Information determines target coverage rate fusion mode then according to the structural information of variance codes, to merge mould according to target coverage rate
The corresponding coverage data of each edition code is carried out fusion treatment, determines total coverage data of target application by formula.By
This, realizes according to the structural information between each edition code of application, the corresponding coverage data of each edition code is carried out
Fusion, so that user after the coverage rate test for completing each edition code of application, quickly can comprehensively get using newest
Total covering state of edition code greatly improves so that user be facilitated to measure the quality of application latest edition code
User experience.
In addition, the multi version test data processing method that the above embodiment of the present invention proposes can also have it is following additional
Technical characteristic:
Optionally, in one embodiment of the invention, the different information further includes variance codes source code and the difference
Line number of the different code source code in each version;The structural information that code is believed according to the difference, determines that target coverage rate is melted
Syntype includes:According to the structural information of the variance codes, judge in the variance codes whether to include branch code section;If
Nothing, then the line number according to the variance codes source code and the variance codes source code in each edition code, determines the difference
The identical source code for including in code in each edition code with the mapping relations of line number;According to the identical source code in each version generation
Mapping relations and the corresponding coverage data of the identical source code in code with line number, by the covering of the identical source code
Rate merges processing.
Optionally, in another embodiment of the present invention, the coverage data includes code line number and covering state
Mapping relations;It is described whether to judge in the variance codes including further including after branch code section:If including judging
Whether the branch code section includes the identical source code of function in each edition code;If so, judging each edition code
Whether the numbers of branches separately included in the identical source code of middle function is identical;If they are the same, then according to the identical source code of the function
The corresponding covering state in each edition code determines the corresponding maximal cover state of the identical source code of the function,
Described in maximal cover state indicate that the code line quantity executed in the identical source code of the function is most;Utilize the function
The corresponding maximal cover state of identical source code carries out more the covering state of the identical source code of function described in remaining each version
Newly.
Optionally, in another embodiment of the present invention, the coverage data includes code line number and covering state
Mapping relations;The coverage rate by the same code merges processing, including:According to preset covering state prior
Grade sequence, by the covering state of the corresponding high priority of the same code, replaces the covering state of low priority.
Optionally, in another embodiment of the present invention, described by the corresponding coverage rate of each edition code
Before data carry out fusion treatment, further include:According to system type belonging to each edition code, determine that subject fusion is handled
Mode.
Optionally, in another embodiment of the present invention, if system type belonging to each edition code is default
System type;It is described obtain the corresponding coverage data of each edition code before, further include:Obtain each edition code
The second file generated when the first file generated respectively in compiling and operation.
Optionally, in another embodiment of the present invention, each edition code of the acquisition target application is corresponding
Before different information between coverage data and each edition code, further include:Target application multi version test data is obtained to melt
Processing is closed to request, in the fusion treatment request, path and fusion target including each edition code;According to each version
The path of this code obtains the source code of each edition code;According to the fusion target, to the source code of each edition code
Dissection process is carried out, determines the different information between each edition code.
It optionally, in another embodiment of the present invention, further include fusion treatment frequency in the fusion treatment request;
It is described that the corresponding coverage data of each edition code is subjected to fusion treatment, including:According to the fusion treatment frequency
Rate periodically acquires the coverage data of each edition code;By covering for each edition code periodically acquired
Lid rate data carry out fusion treatment.
In order to achieve the above object, second aspect of the present invention embodiment proposes a kind of multi version test data processing unit, it should
Device includes:Module is obtained, for obtaining the corresponding coverage data of each edition code of target application and each edition code
Between different information, wherein the different information, the structural information including variance codes;Determining module, for according to
The structural information of variance codes determines target coverage rate fusion mode;Processing module, for being merged according to the target coverage rate
The corresponding coverage data of each edition code is carried out fusion treatment, determines always covering for the target application by mode
Lid rate data.
Multi version test data processing unit provided in an embodiment of the present invention, first by obtaining target application each version generation
Different information between the corresponding coverage data of code and each edition code, wherein different information includes the structure of variance codes
Information determines target coverage rate fusion mode then according to the structural information of variance codes, to merge mould according to target coverage rate
The corresponding coverage data of each edition code is carried out fusion treatment, determines total coverage data of target application by formula.By
This, realizes according to the structural information between each edition code of application, the corresponding coverage data of each edition code is carried out
Fusion, so that user after the coverage rate test for completing each edition code of application, quickly can comprehensively get using newest
Total covering state of edition code greatly improves so that user be facilitated to measure the quality of application latest edition code
User experience.
In order to achieve the above object, third aspect present invention embodiment proposes a kind of computer equipment, including memory, processing
Device and storage on a memory and the computer program that can run on a processor, when the processor execution described program, with
Realize multi version test data processing method described in first aspect embodiment.
Computer equipment provided in an embodiment of the present invention, it is corresponding by obtaining each edition code of target application first
Different information between coverage data and each edition code, wherein different information includes the structural information of variance codes, then root
According to the structural information of variance codes, target coverage rate fusion mode is determined, with according to target coverage rate fusion mode, by each version
The corresponding coverage data of code carries out fusion treatment, determines total coverage data of target application.Hereby it is achieved that root
According to the structural information between each edition code of application, the corresponding coverage data of each edition code is merged, to use
Family quickly can comprehensively be got after the coverage rate test for completing each edition code of application using the total of latest edition code
Covering state greatly improves user experience so that user be facilitated to measure the quality of application latest edition code.
In order to achieve the above object, the fourth aspect of the present invention embodiment proposes a kind of computer readable storage medium, thereon
It is stored with computer program, when which is executed by processor, to realize that multi version described in first aspect embodiment tests number
According to processing method.
The additional aspect of the present invention and advantage will be set forth in part in the description, and will partially become from the following description
Obviously, or practice through the invention is recognized.
Detailed description of the invention
Above-mentioned and/or additional aspect and advantage of the invention will become from the following description of the accompanying drawings of embodiments
Obviously and it is readily appreciated that, wherein:
Fig. 1 is the flow diagram of the multi version test data processing method of one embodiment of the invention;
Fig. 2 (a) is that the fusion treatment that the user of one embodiment of the invention sends requests schematic diagram;
Fig. 2 (b) is the signal in the path setting access time limit of each edition code to application of one embodiment of the invention
Figure;
After Fig. 2 (c) is being merged the corresponding coverage data of each edition code of one embodiment of the invention,
The schematic diagram of the total coverage data of target application;
Fig. 3 is the flow diagram of the multi version test data processing method of another embodiment of the present invention;
Fig. 4 be one embodiment of the invention by do not include in variance codes branch code section each edition code in, phase
The schematic diagram of processing is merged with the coverage rate of source code;
Fig. 5 is the flow diagram of the multi version test data processing method of another embodiment of the invention;
Fig. 6 is the structural schematic diagram of the multi version test data processing unit of one embodiment of the invention
Fig. 7 is the structural schematic diagram of the computer equipment of one embodiment of the invention;
Fig. 8 is the structural schematic diagram of the computer equipment of another embodiment of the present invention.
Specific embodiment
The embodiment of the present invention is described below in detail, examples of the embodiments are shown in the accompanying drawings, wherein from beginning to end
Same or similar label indicates same or similar element or element with the same or similar functions.Below with reference to attached
The embodiment of figure description is exemplary, it is intended to is used to explain the present invention, and is not considered as limiting the invention.
Each embodiment when application code carries out coverage rate test, is only capable of needle mainly in the prior art in the present invention
Coverage rate test is carried out to the code of a certain specific version of application, to obtain the coverage data of the version, this allows for working as
When the code coverage of the version is lower, user can not measure the version directly according to the code coverage data of the version
Particular state proposes at a kind of multi version test data so that the poor problem of result practicability of code coverage test
Reason method.
Multi version test data processing method proposed by the present invention is respectively corresponded by obtaining each edition code of target application
Coverage data and each edition code between different information, wherein the different information between each edition code, including:Variance codes
Structural information, target coverage rate fusion mode is determined, then according to target coverage rate according to the structural information of variance codes
The corresponding coverage data of each edition code is carried out fusion treatment, to determine total covering of target application by fusion mode
Rate data.Hereby it is achieved that according to the structural information between each edition code of application, by the corresponding coverage rate of each edition code
Data are merged, so that user quickly can comprehensively get after the coverage rate test for completing each edition code of application
Using total covering state of latest edition code, so that user is facilitated to measure the quality of application latest edition code, pole
User experience is improved greatly.
Below with reference to the accompanying drawings multi version test data processing method, device, equipment and the storage of the embodiment of the present invention are described
Medium.
First in conjunction with attached drawing 1, multi version test data processing method provided in an embodiment of the present invention is specifically described.
Fig. 1 is the flow diagram of the multi version test data processing method of one embodiment of the invention.
As shown in Figure 1, multi version test data processing method of the invention may comprise steps of:
Step 101, it obtains between the corresponding coverage data of each edition code of target application and each edition code
Different information.
Wherein, in the present embodiment, different information may include the structural information of variance codes.The knot of above-mentioned variance codes
Structure information is used to indicate the specific structure of variance codes, for example variance codes are sequential organization or branched structure etc., are not made herein
It is specific to limit.
Specifically, multi version test data processing method provided in an embodiment of the present invention, can be mentioned by the embodiment of the present invention
The computer equipment of confession executes.Wherein, multi version test data processing unit is provided in computer equipment, for target
It is handled using the corresponding coverage data of each edition code.The present embodiment computer equipment can be any with number
According to hardware device of processing function, such as smart phone, tablet computer, personal digital assistant etc..
When specific implementation, the corresponding coverage data of each edition code of target application can be obtained in several ways
And the different information between each edition code, it illustrates:
Mode one:
User can by the way that the source code of each edition code of target application is sent to multi version test data processing unit, with
It is analyzed and processed multi version test data processing unit by the source code to each edition code of above-mentioned target application, to obtain
Different information between the corresponding coverage data of each edition code of target application and each edition code.
Mode two:
The path of each edition code of target application can also be sent to multi version test data processing unit by user, so that
Multi version test data processing unit it is corresponding can to obtain each edition code according to the path of each edition code of above-mentioned target application
Source code, then the corresponding source code of each edition code of acquisition is analyzed and processed, to get target application each version generation
Different information between the corresponding coverage data of code and each edition code.
It is corresponding to each edition code of target application is obtained in the present embodiment below by taking above-mentioned implementation two as an example
Different information between coverage data and each edition code is illustrated:
For example, the monitor that the present embodiment can be arranged in a device first, with by monitor in real time to user whether
Triggering target application multi version test data fusion treatment request is monitored.If monitoring, user triggers target application more editions
The request of this test data fusion treatment, then multi version test data processing unit receives the fusion treatment request that user sends, and
The request of above-mentioned fusion treatment is parsed, to obtain the path for each edition code for including in fusion treatment request, thus root
The source code that each version corresponds to code is obtained according to the path of each edition code, and the source code of each edition code is parsed, with true
Make the different information between each edition code.
Due in practical application, different user carries out fusion treatment to the corresponding coverage data of each edition code
Requirement it is different, therefore user sends the test of target application multi version to multi version test data processing unit in the present embodiment
When Data Fusion is requested, fusion target can be carried in the request, so that multi version test data processing unit can be with
Corresponding fusion treatment is carried out to the corresponding coverage data of each edition code according to fusion target.
Wherein, in the present embodiment, fusion target may include:Row fusion, section fusion, function fusion etc., do not make herein
It is specific to limit.
For example, it as shown in Fig. 2 (a), is requested for the fusion treatment that user sends, wherein fusion target is section fusion,
And the entitled master of section.
I.e. step 101 may include:Obtain the request of target application multi version test data fusion treatment, the fusion treatment
In request, path and fusion target including each edition code;
The source code of each edition code is obtained according to the path of each edition code;
According to the fusion target, dissection process is carried out to the source code of each edition code, determines each version generation
Different information between code.
In actual use, most of application codes are all open source codes, this allow for user can freely use and
Contact the source code of application.Although this mode, which obtains application source code to user, brings convenience, also asked with some
Topic.For example, situations such as voluntarily modifying to application source code, distributing again, can cause unfavorable shadow to the safety of application source code
It rings.In this regard, user can set the path of each edition code in the present embodiment in order to which the safety of application source code is effectively ensured
It sets the access time limit, or the modes such as setting key, to protect the safety of application source code.
Wherein, the path setting key of each edition code can be and is realized by SSH, such as:Utilize unsymmetrical key
A public-key cryptography (publickey) and private cipher key (privatekey) etc. is arranged in cryptographic system, does not make to it herein specific
It limits.
Alternatively, the access time limit can also be arranged to the path of each edition code, the length for accessing the time limit can be according to user
Demand carries out adaptability setting, such as 10 minutes (min), 30min, 1 hour (h) etc..
For example, as shown in Fig. 2 (b), the access time limit that user can be arranged the path of each edition code of application A, than
For example 1 day (day), then when multi version test data processing unit receive fusion treatment request when, can in 1d basis
Using the path of each edition code of A, the source code of each edition code of A is applied in access.When the time being more than 1d, then multi version is surveyed
The path for trying each edition code using A that data processing equipment can not then be provided according to user, to each edition code of application A
Source code access operation.
Step 102, according to the structural information of variance codes, target coverage rate fusion mode is determined.
Specifically, after getting the different information between each edition code of target application, at multi version test data
Target coverage rate fusion mode can be carried out true according to the structural information for the variance codes for including in different information by managing device
It is fixed.
When specific implementation, it can first determine whether that the structural information of variance codes is sequential organization or branched structure, then root
It is judged that as a result, searching coverage rate fusion mode corresponding with judging result from preset coverage rate fusion mode.Wherein,
May include in preset coverage rate fusion mode:The corresponding coverage rate fusion mode of sequential organization and branched structure is corresponding covers
Lid rate fusion mode.
Step 103, according to target coverage rate fusion mode, the corresponding coverage data of each edition code is melted
Conjunction processing, determines total coverage data of target application.
Specifically, multi version test data processing unit can be according to true after determining target coverage rate fusion mode
The corresponding coverage data of each edition code is carried out fusion treatment, to obtain mesh by fixed target coverage rate fusion mode
Mark total coverage data of application.
It is understood that being affected when due to code structure difference to coverage rate state, therefore the present embodiment is logical
The structural information according to variance codes is crossed, the corresponding coverage data of each edition code is merged, to not only increase
The accuracy of fused total coverage data, and user is allowed intuitively to recognize the state of latest edition code, expire
Foot user demand.
For example, as shown in Fig. 2 (c), after the corresponding coverage data of each edition code is merged, target application
The schematic diagram of total coverage data.
Further, if being to periodically update using each edition code, then user goes back when sending fusion treatment request
The fusion treatment frequency of multi version test data processing unit can be set according to the renewal frequency of application, so that multi version is surveyed
Examination data processing equipment can periodically obtain the coverage data of each edition code according to fusion treatment frequency, thus will
The coverage data of each edition code periodically acquired carries out fusion treatment, so that user, which can be convenient, efficiently obtains target
The concrete condition of code.
Wherein, in the present embodiment, the fusion treatment frequency of setting can carry out adaptability setting according to user demand,
It is not especially limited herein.For example, 24 hours, 1 week, one month etc..
Multi version test data processing method provided in an embodiment of the present invention, first by obtaining target application each version generation
Different information between the corresponding coverage data of code and each edition code, wherein different information includes the structure of variance codes
Information determines target coverage rate fusion mode then according to the structural information of variance codes, to merge mould according to target coverage rate
The corresponding coverage data of each edition code is carried out fusion treatment, determines total coverage data of target application by formula.By
This, realizes the structural information according to variance codes, the corresponding coverage data of each edition code is merged, thus not only
The accuracy of fused total coverage data is improved, and user is allowed intuitively to recognize the shape of latest edition code
State meets user demand.
By above-mentioned analysis it is found that the present invention is by obtaining the different information between each edition code of target application, with root
According to the structural information for the variance codes for including in different information, target coverage rate fusion mode is determined, thus according to target coverage
Rate fusion mode merges the corresponding coverage data of each edition code, to determine total coverage rate of target application
Data.In specific implementation, different information can also include:The row of variance codes source code and variance codes source code in each version
Number etc..Below with reference to Fig. 3, multi version test data processing method of the invention is further detailed.
Fig. 3 is the flow diagram of the multi version test data processing method of another embodiment of the present invention.
As shown in figure 3, the multi version test data processing method of the embodiment of the present invention may comprise steps of:
Step 301, it obtains between the corresponding coverage data of each edition code of target application and each edition code
Different information.
Wherein, different information may include the structural information of variance codes, and variance codes source code and variance codes source code exist
Line number in each version.
Step 302, according to the structural information of variance codes, judge in variance codes whether to include branch code section, if not
Including thening follow the steps 303, otherwise, step 305 is executed.
Specifically, in actual use, the branched structure for including in application code typically refers to include if in application code
Sentence or switch sentence.Therefore, the present embodiment the structural information for getting the variance codes between each edition code it
Afterwards, multi version test data processing unit can by analyzing variance codes, with determine the variance codes in whether include
If sentence or switch sentence, to judge in variance codes whether to include branch code section.
For example, including if sentence or switch sentence in the variance codes when determining, it is determined that wrapped in the variance codes
Include branch code section;It does not include if sentence or switch sentence when determining in the variance codes, it is determined that in the variance codes
It does not include branch code section.
Step 303, the line number according to variance codes source code and variance codes source code in each edition code determines difference generation
Code in include identical source code in each edition code with the mapping relations of line number.
Step 304, it is respectively corresponded in each edition code with the mapping relations of line number and identical source code according to identical source code
Coverage data, the coverage rate of identical source code is merged into processing.
Specifically, when determining in variance codes does not include branch code, multi version test data processing unit can be according to
It is secondary that the line number of variance codes source code and variance codes in each edition code is analyzed, include to determine in variance codes
Mapping relations of the identical source code in each version between line number.
It for example, included 13 row generations in Y version as shown in figure 4, including 8 line codes in the X version of target application
Code, and X version and the variance codes source code of Y version are:6 rows-the eighth row of X version, the 6th row-the of Y version
13 rows are determined by comparing the source code of the 6 rows-eighth row of X version and the 6th the-the 13 line code content of row of Y version
6 rows-the eighth row of X version, source code identical as the 11st the-the 13 behavior of row of Y version.Therefore, available X version
In the 11st row source code is there are mapping relations in the 6th row source code and Y version, in X version in the 7th row source code and Y version
12 row source codes are there are mapping relations, and there are mapping relations for the 13rd row source code in eighth row source code and Y version in X version.By
This, multi version test data processing unit can be according to above-mentioned mapping relations, will be in X version in 6 rows-eighth row and Y version
The corresponding coverage data of the identical source code of 11st the-the 13 row of row, merges processing, due to the 6th row-the in Y version
10 behaviors increase code newly, then do not deal with to its coverage rate, thus by by X version and Y version is corresponding covers
Lid rate carries out fusion treatment, obtains total coverage data of target application.
Step 305, judge whether branch code section includes the identical source code of function in each edition code, if so, holding
Otherwise row step 306 executes step 309.
Wherein, coverage data includes code line number and the mapping relations for covering state in the present embodiment.
Above-mentioned covering state, specifically includes whether every line code in variance codes is all covered (fc), alternatively, part is covered
It covers (pc), alternatively, not covering (nc).Wherein, when determining in variance codes includes branch code section, above-mentioned covering state may be used also
To include:All covering (bfc), component covering (bpc), branch do not cover (bnc) for branch.
It is understood that when variance codes are in branch code section, the covering state of every line code then may include:
"fc bfc","pc bfc","pc bpc","pc bnc","nc bnc".Wherein, preceding part represents line code itself and covers shape
State partially represents the covering state of branch code section afterwards.
Such as:Fc bfc indicates that current line code is all standing, and branch code section where current line code is that branch is covered entirely
Lid.
Specifically, when determine variance codes in include branch code section after, multi version test data processing unit can to point
Branch code segment is analyzed and processed, to determine whether in the branch code section include the identical source of function in each edition code
Code.If including further judging whether the numbers of branches separately included in the identical source code of function in each edition code is identical;
The end operation if not including.
For example, if obtain multi version be version 1 and version 3, then by the source code to version 1 and version 3 code into
It include to event a in the source code for determining version 1 and version 3 code after row analysis>1 is judged and is executed corresponding
When operation, then above-mentioned event a can be determined>1 branch code section includes identical with the function in version 3 code in version 1
Source code.
For another example, if obtain multi version be version 5 and version 6, then by the source code to 6 code of version 5 and version into
Row analysis after, in the source code for determining 5 code of version, including be to event a<1 is judged and is executed corresponding operating, and
In the source code of 6 code of version, including be to event a>1 is judged and is executed corresponding operating, then can determine above-mentioned
Event a<1, event a>1 does not include source code identical with the function in 6 code of version in version 5.
Step 306, judge whether the numbers of branches separately included in the identical source code of function in each edition code is identical, if
It is identical, 307 are thened follow the steps, otherwise, executes step 309.
Specifically, then multi version is tested when determining that branch code section includes the identical source code of function in each edition code
Whether data processing equipment is identical to the numbers of branches separately included in the identical source code of function in each edition code to judge,
To determine whether that the covering state to the identical source code of function in each version is updated according to judging result.
For example, if the identical source code of function obtained corresponds respectively to version 1 and version 2, and point that version 1 includes
Number is 3 branch statements, such as:a<0;0<a<1;a>1, the numbers of branches that version 2 includes is 4 branch statements, such as a
<0;0<a<1;a>1;1<a<3, then illustrating the numbers of branches separately included in the identical source code of function in each edition code not phase
Together.
For another example, if the identical source code of function obtained corresponds respectively to version 1 and version 2, and branch's number that version 1 includes
Amount is 3 branch statements, and the numbers of branches that version 2 includes is 3 branch statements, then illustrating that function is identical in each edition code
Source code in the numbers of branches that separately includes it is identical.
Step 307, according to the identical source code of function in each edition code corresponding covering state, determine function phase
The same corresponding maximal cover state of source code.
Wherein, maximal cover state indicates that the code line quantity executed in the identical source code of function is most.
Step 308, identical to function in remaining each version using the corresponding maximal cover state of the identical source code of function
The covering state of source code is updated.
For example, being covered in version B-code if the identical source code of function covers sentence 6 and sentence 7 in version A code
Sentence 12 has been covered, then can determine that the covering state of version A is greater than the covering state of version B, has then utilized the covering shape of version A
State is updated the covering state of version B.
Step 309, covering state is not executed updates operation.
Further, it when the coverage rate of identical source code is merged processing by the present embodiment, can also be covered according to preset
The covering state of the corresponding high priority of same code is replaced the covering state of low priority by cover shape state priority orders.
Wherein, coverage data includes the mapping relations of code line number and covering state.
In the present embodiment, preset covering priority of status sequence can be fc>pc>nc;Similarly, bfc>bpc>bnc.
Specifically, the present embodiment can be according to default after determining variance codes corresponding coverage rate fusion mode
Covering priority of status sequence, by the covering state of the corresponding high priority of same code, replace the covering shape of low priority
State.
For example, when the covering state of the sentence 6 in version A is fc, and the sentence 6 in the version B with same sentence
Covering state is pc, then can be according to fc>pc>The covering state fc of sentence 6 in version A is replaced sentence 6 in version B by nc
Covering state pc, be updated to covering state fc.
Multi version test data processing method provided in an embodiment of the present invention is getting each edition code of target application point
After different information between not corresponding coverage data and each version, sentenced according to variance codes structural information in different information
It whether include branch code section in disconnected variance codes, according to variance codes source code and variance codes source code in each version if not including
Line number in this code, determine the identical source code for including in variance codes in each edition code with the mapping relations of line number, so
Afterwards according to mapping relations and the corresponding coverage data of identical source code, the coverage rate of identical source code is merged into processing.
If judging whether branch code section includes the identical source code of function in each edition code including if, if further judgement is each
Whether the numbers of branches separately included in the identical source code of function in edition code is identical, if they are the same then according to the identical source of function
Code corresponding covering state in each edition code, determines the corresponding maximal cover state of the identical source code of function, then
Using the corresponding maximal cover state of the identical source code of function, the covering of the identical source code of function in remaining each version is carried out more
Newly, and according to preset covering priority of status sequence by the covering state of the corresponding high priority of same code it replaces low excellent
The covering state of first grade.As a result, by including according to whether including in branch code section and branch code section in variance codes
Numbers of branches situation, to not only increase the accuracy of fused total coverage data, and allow user it is intuitive,
The state for quickly understanding latest edition code, meets user demand.
By above-mentioned analysis it is found that the present invention by the variance codes between each version of target application whether include point
Branch code is judged, according to the corresponding coverage rate fusion mode of structure determination is judged, each edition code to be respectively corresponded
Coverage data merged, determine total coverage data of target application.In specific implementation, due to each edition code
Institute's said system type has differences, and the code coverage data meaning without homologous ray type is different, thus merged
Mode is also different, therefore in the embodiment of the present application, when determining subject fusion tupe, it is also necessary to first determine each edition code
Affiliated system type, the then system type according to belonging to each edition code, then determining subject fusion tupe.It ties below
Fig. 5 is closed, the above situation of multi version test data processing method of the invention is described in detail.
Fig. 5 is the flow diagram of the multi version test data processing method of another embodiment of the invention.
As shown in figure 5, the multi version test data processing method of the embodiment of the present invention may comprise steps of:
Step 501, it obtains between the corresponding coverage data of each edition code of target application and each edition code
Different information.
Wherein, the different information, the structural information including variance codes.
Step 502, according to system type belonging to the structural information of variance codes and each edition code, determine that target is covered
Lid rate fusion mode.
Wherein, in the present embodiment, system type belonging to each edition code can be:Android (Android) system, or
Person, apple (IOS) system.
That is, when the system type belonging to each edition code is Android, determining target coverage rate fusion mode
It can be and merged according to covering priority of status;When the system type belonging to each edition code is IOS, determining target
Coverage rate fusion mode can execute number according to code and be merged.For example, if code executes number and is equal to 0, covering time
Number is 0.
Step 503, according to target coverage rate fusion mode, the corresponding coverage data of each edition code is melted
Conjunction processing, determines total coverage data of target application.
When specific implementation, however, it is determined that when system type belonging to each edition code is predetermined system type, then step 501 obtains
Before taking the corresponding coverage data of each edition code of target application, the production in compiling respectively of each edition code is obtained first
The second file generated when the first raw file and operation.It should be noted that in the present embodiment, predetermined system type is
IOS system.
Wherein, the first file can refer to, Gcno file, and this document is generated in compiling, contain and rebuild basic block figure
With the information of the line number of the source code of corresponding block;Second file can refer to, Gcda file, this document running paper after compiling
Shi Shengcheng contains the number and other summary infos of arc jump, and the Gcda file can only be after program be run
It could generate.
Due in practical applications, when user sends each edition code corresponding coverage data using IOS system,
Multi version test data processing unit can not get the coverage rate state of every a line in each edition code, and Gcno file and
Gcda file is original document, can usually be transmitted directly to multi version test data processing unit, therefore in order to improve processing effect
Rate, when the present embodiment can send the request of multi version test data fusion treatment to equipment, directly by Gcno file and Gcda text
Part is also sent to equipment.
It is understood that the present embodiment, which passes through, first determines system type belonging to each edition code, according to each version
System type belonging to code takes different modes to determine target coverage rate fusion mode, so that realizing can be according to each version
System type belonging to code targetedly carries out acquisition fusion mode, allows users to more acurrate reliably get
Total coverage data of application.
The multi version test data processing unit of proposition of the embodiment of the present invention is described with reference to the accompanying drawings.
Fig. 6 is the structural schematic diagram of the multi version test data processing unit of one embodiment of the invention.
As shown in fig. 6, the multi version test data processing unit includes:Obtain module 11, determining module 12 and processing mould
Block 13.
Wherein, module 11 is obtained for obtaining the corresponding coverage data of each edition code of target application and each version
Different information between code, wherein the different information, the structural information including variance codes;
Determining module 12 is used for the structural information according to the variance codes, determines target coverage rate fusion mode;
Processing module 13 is used for according to the target coverage rate fusion mode, is covered each edition code is corresponding
Lid rate data carry out fusion treatment, determine total coverage data of the target application.
It should be noted that the implementation process and technical principle of the multi version test data processing unit of the present embodiment referring to
The explanation of the aforementioned multi version test data processing method to first aspect embodiment, details are not described herein again.
Multi version test data processing unit provided in an embodiment of the present invention, first by obtaining target application each version generation
Different information between the corresponding coverage data of code and each edition code, wherein different information includes the structure of variance codes
Information determines target coverage rate fusion mode then according to the structural information of variance codes, to merge mould according to target coverage rate
The corresponding coverage data of each edition code is carried out fusion treatment, determines total coverage data of target application by formula.By
This, realizes according to the structural information between each edition code of application, the corresponding coverage data of each edition code is carried out
Fusion, so that user after the coverage rate test for completing each edition code of application, quickly can comprehensively get using newest
Total covering state of edition code greatly improves so that user be facilitated to measure the quality of application latest edition code
User experience.
In order to realize above-described embodiment, the present invention also proposes a kind of computer equipment.
Fig. 7 is the structural schematic diagram of the computer equipment of one embodiment of the invention.The computer equipment that Fig. 7 is shown is only
An example, should not function to the embodiment of the present invention and use scope bring any restrictions.
As shown in fig. 7, above-mentioned computer equipment 200 includes:Memory 210, processor 220 and it is stored in memory 210
Computer program that is upper and can running on processor 220, when the processor 220 executes described program, realizes first aspect
Multi version test data processing method described in embodiment.
In a kind of optional way of realization, as shown in figure 8, the computer equipment 200 can also include:Memory 210
And processor 220, the bus 230 of different components (including memory 210 and processor 220) is connected, memory 210 is stored with meter
Calculation machine program realizes multi version test data processing side described in the embodiment of the present invention when processor 220 executes described program
Method.
Bus 230 indicates one of a few class bus structures or a variety of, including memory bus or Memory Controller,
Peripheral bus, graphics acceleration port, processor or the local bus using any bus structures in a variety of bus structures.It lifts
For example, these architectures include but is not limited to industry standard architecture (ISA) bus, microchannel architecture (MAC)
Bus, enhanced isa bus, Video Electronics Standards Association (VESA) local bus and peripheral component interconnection (PCI) bus.
Computer equipment 200 typically comprises a variety of computer equipment readable mediums.These media can be it is any can
The usable medium accessed by computer equipment 200, including volatile and non-volatile media, moveable and immovable Jie
Matter.
Memory 210 can also include the computer system readable media of form of volatile memory, such as arbitrary access
Memory (RAM) 240 and/or cache memory 250.Computer equipment 200 may further include it is other it is removable/no
Movably, volatile/non-volatile computer system storage medium.Only as an example, storage system 260 can be used for reading and writing
Immovable, non-volatile magnetic media (Fig. 8 do not show, commonly referred to as " hard disk drive ").It, can although being not shown in Fig. 8
To provide the disc driver for reading and writing to removable non-volatile magnetic disk (such as " floppy disk "), and it is non-volatile to moving
Property CD (such as CD-ROM, DVD-ROM or other optical mediums) read and write CD drive.In these cases, each drive
Dynamic device can be connected by one or more data media interfaces with bus 230.Memory 210 may include at least one journey
Sequence product, the program product have one group of (for example, at least one) program module, these program modules are configured to perform this hair
The function of bright each embodiment.
Program/utility 280 with one group of (at least one) program module 270, can store in such as memory
In 210, such program module 270 includes --- but being not limited to --- operating system, one or more application program, other
It may include the realization of network environment in program module and program data, each of these examples or certain combination.Journey
Sequence module 270 usually executes function and/or method in embodiment described in the invention.
Computer equipment 200 can also be with one or more external equipments 290 (such as keyboard, sensing equipment, display
291 etc.) it communicates, the equipment interacted with the computer equipment 200 communication can be also enabled a user to one or more, and/or
(such as network interface card is adjusted with any equipment for enabling the computer equipment 200 to be communicated with one or more of the other calculating equipment
Modulator-demodulator etc.) communication.This communication can be carried out by input/output (I/O) interface 292.Also, computer equipment
200 can also by network adapter 293 and one or more network (such as local area network (LAN), wide area network (WAN) and/or
Public network, such as internet) communication.As shown, network adapter 293 passes through its of bus 230 and computer equipment 200
The communication of its module.It should be understood that although not shown in the drawings, other hardware and/or software can be used in conjunction with computer equipment 200
Module, including but not limited to:Microcode, device driver, redundant processing unit, external disk drive array, RAID system, magnetic
Tape drive and data backup storage system etc..
It should be noted that the implementation process and technical principle of the computer equipment of the present embodiment are referring to aforementioned to first party
The explanation of the multi version test data processing method of face embodiment, details are not described herein again.
Computer equipment provided in an embodiment of the present invention, it is corresponding by obtaining each edition code of target application first
Different information between coverage data and each edition code, wherein different information includes the structural information of variance codes, then root
According to the structural information of variance codes, target coverage rate fusion mode is determined, with according to target coverage rate fusion mode, by each version
The corresponding coverage data of code carries out fusion treatment, determines total coverage data of target application.Hereby it is achieved that root
According to the structural information between each edition code of application, the corresponding coverage data of each edition code is merged, to use
Family quickly can comprehensively be got after the coverage rate test for completing each edition code of application using the total of latest edition code
Covering state greatly improves user experience so that user be facilitated to measure the quality of application latest edition code.
To achieve the above object, the present invention also proposes a kind of computer readable storage medium.
The wherein computer readable storage medium, is stored thereon with computer program, when which is executed by processor, with
Realize the processing of multi version test data described in first aspect embodiment.
In a kind of optional way of realization, the present embodiment can be using any group of one or more computer-readable media
It closes.Computer-readable medium can be computer-readable signal media or computer readable storage medium.It is computer-readable to deposit
Storage media for example may be-but not limited to-system, device or the device of electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor
Part, or any above combination.The more specific example (non exhaustive list) of computer readable storage medium includes:Have
The electrical connection of one or more conducting wires, portable computer diskette, hard disk, random access memory (RAM), read-only memory
(ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disc read-only memory (CD-
ROM), light storage device, magnetic memory device or above-mentioned any appropriate combination.In this document, computer-readable storage
Medium can be any tangible medium for including or store program, which can be commanded execution system, device or device
Using or it is in connection.
Computer-readable signal media may include in a base band or as carrier wave a part propagate data-signal,
Wherein carry computer-readable program code.The data-signal of this propagation can take various forms, including --- but
It is not limited to --- electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be
Any computer-readable medium other than computer readable storage medium, which can send, propagate or
Transmission is for by the use of instruction execution system, device or device or program in connection.
The program code for including on computer-readable medium can transmit with any suitable medium, including --- but it is unlimited
In --- wireless, electric wire, optical cable, RF etc. or above-mentioned any appropriate combination.
The computer for executing operation of the present invention can be write with one or more programming languages or combinations thereof
Program code, described program design language include object oriented program language-such as Java, Smalltalk, C++,
Further include conventional procedural programming language-such as " C " language or similar programming language.Program code can be with
It fully executes, partly execute on the user computer on the user computer, being executed as an independent software package, portion
Divide and partially executes or executed on a remote computer or server completely on the remote computer on the user computer.?
Be related in the situation of remote computer, remote computer can pass through the network of any kind --- including local area network (LAN) or
Wide area network (WAN)-be connected to subscriber computer, or, it may be connected to outer computer (such as mentioned using Internet service
It is connected for quotient by internet).
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show
The description of example " or " some examples " etc. means specific features, structure, material or spy described in conjunction with this embodiment or example
Point is included at least one embodiment or example of the invention.
In addition, term " first ", " second " are used for descriptive purposes only and cannot be understood as indicating or suggesting relative importance
Or implicitly indicate the quantity of indicated technical characteristic.Define " first " as a result, the feature of " second " can be expressed or
Implicitly include at least one this feature.
Any process described otherwise above or method description are construed as in flow chart or herein, and expression includes
It is one or more for realizing specific logical function or process the step of executable instruction code module, segment or portion
Point, and the range of the preferred embodiment of the present invention includes other realization, wherein can not press shown or discussed suitable
Sequence, including according to related function by it is basic simultaneously in the way of or in the opposite order, to execute function, this should be of the invention
Embodiment person of ordinary skill in the field understood.
It should be appreciated that each section of the invention can be realized with hardware, software, firmware or their combination.Above-mentioned
In embodiment, software that multiple steps or method can be executed in memory and by suitable instruction execution system with storage
Or firmware is realized.It, and in another embodiment, can be under well known in the art for example, if realized with hardware
Any one of column technology or their combination are realized:With for realizing the logic gates of logic function to data-signal
Discrete logic, with suitable combinational logic gate circuit specific integrated circuit, programmable gate array (PGA), scene
Programmable gate array (FPGA) etc..
Those skilled in the art are understood that realize all or part of step that above-described embodiment method carries
It suddenly is that relevant hardware can be instructed to complete by program, the program can store in a kind of computer-readable storage medium
In matter, which when being executed, includes the steps that one or a combination set of embodiment of the method.
Storage medium mentioned above can be read-only memory, disk or CD etc..Although having been shown and retouching above
The embodiment of the present invention is stated, it is to be understood that above-described embodiment is exemplary, and should not be understood as to limit of the invention
System, those skilled in the art can be changed above-described embodiment, modify, replace and become within the scope of the invention
Type.
Claims (11)
1. a kind of multi version test data processing method, which is characterized in that including:
The different information between the corresponding coverage data of each edition code of target application and each edition code is obtained,
In, the different information, the structural information including variance codes;
According to the structural information of the variance codes, target coverage rate fusion mode is determined;
According to the target coverage rate fusion mode, the corresponding coverage data of each edition code is carried out at fusion
Reason, determines total coverage data of the target application.
2. the method as described in claim 1, which is characterized in that the different information further includes variance codes source code and the difference
Line number of the different code source code in each version;
The structural information according to the different information code determines that target coverage rate fusion mode includes:
According to the structural information of the variance codes, judge in the variance codes whether to include branch code section;
If nothing, according to the line number of the variance codes source code and the variance codes source code in each edition code, institute is determined
State the identical source code for including in variance codes in each edition code with the mapping relations of line number;
According to the identical source code in each edition code with mapping relations of the line number and identical source code is corresponding covers
The coverage rate of the identical source code is merged processing by lid rate data.
3. method according to claim 2, which is characterized in that the coverage data includes code line number and covering state
Mapping relations;
It is described whether to judge in the variance codes including further including after branch code section:
If including judging whether the branch code section includes the identical source code of function in each edition code;
If so, judging whether the numbers of branches separately included in the identical source code of function in each edition code is identical;
If they are the same, then according to the identical source code of the function in each edition code corresponding covering state, determine described in
The corresponding maximal cover state of the identical source code of function, wherein the maximal cover state indicates in the identical source code of the function
The code line quantity executed is most;
Using the corresponding maximal cover state of the identical source code of the function, to the identical source code of function described in remaining each version
Covering state be updated.
4. method as claimed in claim 2 or claim 3, which is characterized in that the coverage data includes code line number and covering shape
The mapping relations of state;
The coverage rate by the same code merges processing, including:
According to preset covering priority of status sequence, by the covering state of the corresponding high priority of the same code, replacement
The covering state of low priority.
5. method a method according to any one of claims 1-3, which is characterized in that described to cover each edition code is corresponding
Before lid rate data carry out fusion treatment, further include:
According to system type belonging to each edition code, subject fusion tupe is determined.
6. method as claimed in claim 5, which is characterized in that if system type belonging to each edition code is default system
System type;
It is described obtain the corresponding coverage data of each edition code before, further include:
The second file generated when obtaining the first file and operation that each edition code is generated in compiling respectively.
7. method a method according to any one of claims 1-3, which is characterized in that each edition code of the acquisition target application is right respectively
Before the different information between coverage data and each edition code answered, further include:
Target application multi version test data fusion treatment is obtained to request, in the fusion treatment request, including each version
The path of code and fusion target;
The source code of each edition code is obtained according to the path of each edition code;
According to the fusion target, dissection process is carried out to the source code of each edition code, determine each edition code it
Between different information.
8. the method for claim 7, which is characterized in that further include fusion treatment frequency in the fusion treatment request;
It is described that the corresponding coverage data of each edition code is subjected to fusion treatment, including:
According to the fusion treatment frequency, the coverage data of each edition code is periodically acquired;
The coverage data of each edition code periodically acquired is subjected to fusion treatment.
9. a kind of multi version test data processing unit, which is characterized in that including:
Module is obtained, for obtaining between the corresponding coverage data of each edition code of target application and each edition code
Different information, wherein the different information, the structural information including variance codes;
Determining module determines target coverage rate fusion mode for the structural information according to the variance codes;
Processing module, for according to the target coverage rate fusion mode, by the corresponding coverage rate of each edition code
Data carry out fusion treatment, determine total coverage data of the target application.
10. a kind of computer equipment, which is characterized in that including memory, processor and store on a memory and can handle
The computer program run on device is a method as claimed in any one of claims 1-8 more to realize when the processor executes described program
Version test data processing method.
11. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is by processor
When execution, multi version test data processing method a method as claimed in any one of claims 1-8 is realized.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810425235.3A CN108829580B (en) | 2018-05-07 | 2018-05-07 | Multi-version test data processing method, device, equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810425235.3A CN108829580B (en) | 2018-05-07 | 2018-05-07 | Multi-version test data processing method, device, equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108829580A true CN108829580A (en) | 2018-11-16 |
CN108829580B CN108829580B (en) | 2022-09-23 |
Family
ID=64147559
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810425235.3A Active CN108829580B (en) | 2018-05-07 | 2018-05-07 | Multi-version test data processing method, device, equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108829580B (en) |
Cited By (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109766261A (en) * | 2018-12-14 | 2019-05-17 | 中国平安财产保险股份有限公司 | Coverage test method, device, computer equipment and storage medium |
CN110413532A (en) * | 2019-08-08 | 2019-11-05 | 上海新炬网络技术有限公司 | More process version change code coverage acquisition methods suitable for agility test |
CN110716901A (en) * | 2019-09-25 | 2020-01-21 | 苏宁云计算有限公司 | Performance test data processing method and device, computer equipment and storage medium |
CN110781071A (en) * | 2019-09-09 | 2020-02-11 | 中国平安财产保险股份有限公司 | Method and device for testing application program upgrade version and computer equipment |
CN110990265A (en) * | 2019-11-12 | 2020-04-10 | 苏州洞察云信息技术有限公司 | Coverage rate determining method and device and storage medium |
CN111008138A (en) * | 2019-12-06 | 2020-04-14 | 广州品唯软件有限公司 | Code coverage rate processing method and device and computer equipment |
CN111078549A (en) * | 2019-12-06 | 2020-04-28 | 广州品唯软件有限公司 | Code coverage rate processing method and device and computer equipment |
CN111078563A (en) * | 2019-12-18 | 2020-04-28 | 上海品顺信息科技有限公司 | Coverage rate data processing method, terminal device and computer readable storage medium |
CN111124894A (en) * | 2019-12-06 | 2020-05-08 | 广州品唯软件有限公司 | Code coverage rate processing method and device and computer equipment |
CN111444087A (en) * | 2020-03-03 | 2020-07-24 | 北京齐尔布莱特科技有限公司 | Coverage rate data processing method and device, computing equipment and readable storage medium |
WO2020199789A1 (en) * | 2019-03-29 | 2020-10-08 | 深圳前海微众银行股份有限公司 | Information processing method and apparatus |
WO2020244445A1 (en) * | 2019-06-03 | 2020-12-10 | 深圳前海微众银行股份有限公司 | Coverage information obtaining method and device |
CN112597041A (en) * | 2020-12-28 | 2021-04-02 | 上海品顺信息科技有限公司 | Cross-branch merging method, system, equipment and storage medium for code coverage rate |
CN112612716A (en) * | 2020-12-28 | 2021-04-06 | 上海品顺信息科技有限公司 | Method, system, equipment and storage medium for enhancing marking of coverage rate of difference line codes |
CN113535533A (en) * | 2020-04-15 | 2021-10-22 | 百度在线网络技术(北京)有限公司 | Method, apparatus, device and storage medium for testing code |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105608011A (en) * | 2016-03-01 | 2016-05-25 | 网易(杭州)网络有限公司 | Determination method and device for code testing coverage rate statistical results |
CN105988926A (en) * | 2015-02-13 | 2016-10-05 | 腾讯科技(深圳)有限公司 | Method and device for processing multi-version test data |
CN106547680A (en) * | 2015-09-17 | 2017-03-29 | 腾讯科技(深圳)有限公司 | Data processing method and device in coverage rate test |
-
2018
- 2018-05-07 CN CN201810425235.3A patent/CN108829580B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105988926A (en) * | 2015-02-13 | 2016-10-05 | 腾讯科技(深圳)有限公司 | Method and device for processing multi-version test data |
CN106547680A (en) * | 2015-09-17 | 2017-03-29 | 腾讯科技(深圳)有限公司 | Data processing method and device in coverage rate test |
CN105608011A (en) * | 2016-03-01 | 2016-05-25 | 网易(杭州)网络有限公司 | Determination method and device for code testing coverage rate statistical results |
Cited By (24)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109766261A (en) * | 2018-12-14 | 2019-05-17 | 中国平安财产保险股份有限公司 | Coverage test method, device, computer equipment and storage medium |
WO2020199789A1 (en) * | 2019-03-29 | 2020-10-08 | 深圳前海微众银行股份有限公司 | Information processing method and apparatus |
WO2020244445A1 (en) * | 2019-06-03 | 2020-12-10 | 深圳前海微众银行股份有限公司 | Coverage information obtaining method and device |
CN110413532A (en) * | 2019-08-08 | 2019-11-05 | 上海新炬网络技术有限公司 | More process version change code coverage acquisition methods suitable for agility test |
CN110781071A (en) * | 2019-09-09 | 2020-02-11 | 中国平安财产保险股份有限公司 | Method and device for testing application program upgrade version and computer equipment |
CN110781071B (en) * | 2019-09-09 | 2022-10-14 | 中国平安财产保险股份有限公司 | Method and device for testing application program upgrade version and computer equipment |
CN110716901A (en) * | 2019-09-25 | 2020-01-21 | 苏宁云计算有限公司 | Performance test data processing method and device, computer equipment and storage medium |
CN110990265A (en) * | 2019-11-12 | 2020-04-10 | 苏州洞察云信息技术有限公司 | Coverage rate determining method and device and storage medium |
CN110990265B (en) * | 2019-11-12 | 2023-10-03 | 苏州洞察云信息技术有限公司 | Coverage rate determining method, coverage rate determining device and storage medium |
CN111078549B (en) * | 2019-12-06 | 2023-03-17 | 广州品唯软件有限公司 | Code coverage rate processing method and device and computer equipment |
CN111124894B (en) * | 2019-12-06 | 2023-04-28 | 广州品唯软件有限公司 | Code coverage rate processing method and device and computer equipment |
CN111124894A (en) * | 2019-12-06 | 2020-05-08 | 广州品唯软件有限公司 | Code coverage rate processing method and device and computer equipment |
CN111008138A (en) * | 2019-12-06 | 2020-04-14 | 广州品唯软件有限公司 | Code coverage rate processing method and device and computer equipment |
CN111078549A (en) * | 2019-12-06 | 2020-04-28 | 广州品唯软件有限公司 | Code coverage rate processing method and device and computer equipment |
CN111008138B (en) * | 2019-12-06 | 2023-03-17 | 广州品唯软件有限公司 | Method and device for processing code coverage rate and computer equipment |
CN111078563A (en) * | 2019-12-18 | 2020-04-28 | 上海品顺信息科技有限公司 | Coverage rate data processing method, terminal device and computer readable storage medium |
CN111444087A (en) * | 2020-03-03 | 2020-07-24 | 北京齐尔布莱特科技有限公司 | Coverage rate data processing method and device, computing equipment and readable storage medium |
CN111444087B (en) * | 2020-03-03 | 2023-12-01 | 北京齐尔布莱特科技有限公司 | Coverage rate data processing method and device, computing equipment and readable storage medium |
CN113535533B (en) * | 2020-04-15 | 2024-04-05 | 百度在线网络技术(北京)有限公司 | Method, apparatus, device and storage medium for testing code |
CN113535533A (en) * | 2020-04-15 | 2021-10-22 | 百度在线网络技术(北京)有限公司 | Method, apparatus, device and storage medium for testing code |
CN112612716A (en) * | 2020-12-28 | 2021-04-06 | 上海品顺信息科技有限公司 | Method, system, equipment and storage medium for enhancing marking of coverage rate of difference line codes |
CN112597041B (en) * | 2020-12-28 | 2023-01-20 | 上海品顺信息科技有限公司 | Cross-branch merging method, system, equipment and storage medium for code coverage rate |
CN112612716B (en) * | 2020-12-28 | 2023-01-20 | 上海品顺信息科技有限公司 | Method, system, equipment and storage medium for enhancing marking of coverage rate of difference line codes |
CN112597041A (en) * | 2020-12-28 | 2021-04-02 | 上海品顺信息科技有限公司 | Cross-branch merging method, system, equipment and storage medium for code coverage rate |
Also Published As
Publication number | Publication date |
---|---|
CN108829580B (en) | 2022-09-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108829580A (en) | Multi version test data processing method, device, equipment and storage medium | |
US10452821B2 (en) | Tiered code obfuscation in a development environment | |
CN103793324B (en) | The test device and test method and test scene combined method of embedded software | |
CN110166276A (en) | A kind of localization method, device, terminal device and the medium of frame synchronization exception | |
CN105893853B (en) | The method and delegation system of one of multiple hardware security modules are assigned to guest system | |
CN110176990A (en) | Vehicle assembly replaces recognition methods, device, computer equipment and storage medium | |
CN108268211B (en) | Data processing method and device | |
CN105338550B (en) | A kind of management method and device of the connection for wireless network | |
US10929491B2 (en) | Social sharing path user interface insights | |
US20220326820A1 (en) | Information display method and apparatus, device and storage medium | |
US11386663B1 (en) | Reference-free system for determining quality of video data | |
CN107580013A (en) | The method and device of cross-domain request data | |
CN107102950A (en) | A kind of applied program testing method and device | |
CN110515899A (en) | File location method and device | |
CN107861848B (en) | Gesture password testing method and device, readable storage medium and electronic equipment | |
EP4290803A1 (en) | Electronic test device and optional function configuring method | |
CN111930736B (en) | Data verification method and device | |
US20210021898A1 (en) | Rating and an overall viewership value determined based on user engagement | |
CN112346992A (en) | Game testing method, device, system, electronic equipment and storage medium | |
CN107239712A (en) | The hidden method and device of user profile based on application program | |
CN110177371A (en) | The method and device of generating device identification information | |
CN110262856A (en) | A kind of application data acquisition method, device, terminal and storage medium | |
KR101093019B1 (en) | System for restoring transmission data using main memory direct control of mobile communications terminal and method provide therefor | |
CN111026800A (en) | Data export method and device, electronic equipment and storage medium | |
CN110458743A (en) | Community governance method, apparatus, equipment and storage medium based on big data analysis |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |