CN114968813A - Defect positioning method for software warehouse excavation - Google Patents

Defect positioning method for software warehouse excavation Download PDF

Info

Publication number
CN114968813A
CN114968813A CN202210704498.4A CN202210704498A CN114968813A CN 114968813 A CN114968813 A CN 114968813A CN 202210704498 A CN202210704498 A CN 202210704498A CN 114968813 A CN114968813 A CN 114968813A
Authority
CN
China
Prior art keywords
software
data
defect
defects
warehouse
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.)
Pending
Application number
CN202210704498.4A
Other languages
Chinese (zh)
Inventor
杨帆
曲豫宾
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nantong Textile Vocational Technology College
Original Assignee
Nantong Textile Vocational Technology College
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nantong Textile Vocational Technology College filed Critical Nantong Textile Vocational Technology College
Priority to CN202210704498.4A priority Critical patent/CN114968813A/en
Publication of CN114968813A publication Critical patent/CN114968813A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/362Software debugging
    • G06F11/3628Software debugging of optimised code
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

The invention provides a defect positioning method for software warehouse excavation, which comprises the following steps: s1, collecting data; s2, performing feature extraction on the collected data; s3, comparing the extracted feature data; and S4, extracting the log data after comparison, and repeatedly identifying the defects. The defect positioning method for software warehouse excavation provided by the invention solves the problems that the existing defect positioning method for software warehouse excavation is time-consuming and labor-consuming in the positioning process, only one or single defect can be positioned, and the single defect positioning does not accord with the actual software debugging scene and is not suitable for software warehouse excavation.

Description

Defect positioning method for software warehouse excavation
Technical Field
The invention relates to the technical field of software engineering, in particular to a defect positioning method for software warehouse excavation.
Background
Software warehouse mining is an important field in software engineering research in recent years, in the field of software warehouse mining, software engineering tasks are generally converted into data mining problems, the field characteristics serve as key contents for linking software engineering task data with data mining algorithms, the solution effect of the software tasks is seriously influenced, nowadays, software systems have penetrated into various aspects of human production and life, meanwhile, problems caused by software defects also bring great harm to cause casualties and economic losses, the software defects refer to some faults or problems occurring in software systems or programs and are inevitable problems in the software development and maintenance process, along with the wide and rapid use of software, the software defects become one of main causes of system failures, on one hand, the software defects are hidden in software source codes, the traditional fault repairing strategies such as restarting and backup cannot achieve the repairing effect, so that the positioning and repairing work of software defects is very complex, a large amount of manpower and material resources are consumed, on the other hand, along with the expansion of the scale and the distributed characteristic of the current software, the incidence rate of the software defects is higher and higher, and the complexity degree is gradually increased.
At present, the existing defect positioning method for software warehouse excavation not only wastes time and labor in the positioning process, but also can only position one or single defect, and the single defect positioning does not accord with the actual software debugging scene, is not suitable for the software warehouse excavation, and can not meet the defect positioning requirement at the present stage.
Therefore, there is a need to provide a method for locating defects in software warehouse mining to solve the above technical problems.
Disclosure of Invention
In order to solve the technical problem, the invention provides a software warehouse excavation-oriented defect positioning method capable of positioning a plurality of defects.
The invention provides a defect positioning method for software warehouse excavation, which comprises the following steps:
s1, collecting data;
s2, performing feature extraction on the collected data;
s3, comparing the extracted feature data;
and S4, extracting the log data after comparison, and repeatedly identifying the defects.
In order to achieve the effect of conveniently collecting and processing various types of software data in the software warehouse, step S1 includes collecting various types of software data in the software warehouse, and collecting search data of the user.
In order to achieve the effects of conveniently collecting various types of software data logs in the software warehouse and conveniently further processing the collected logs, step S1 further includes collecting various types of software data logs from the software warehouse, and screening, filtering and storing the collected logs.
In order to achieve the effect of conveniently collecting log data searched by a user, the various software data logs comprise log data in various software defect libraries and search log data of the user.
In order to achieve the effect of conveniently processing log data searched by a user, after the search data of the user is collected, the user search log is processed, including screening, sorting and storing.
In order to achieve the effect of extracting the features of the various types of software data logs of the software warehouse, the step S2 includes extracting the features of the various types of software data logs of the software warehouse, and extracting the features of the user search log data.
In order to achieve the effect of classifying the extracted feature data and establishing a similarity matching module, in step S2, the extracted feature data is classified and the similarity matching module is established.
In order to achieve the effect of comparing the classified data with the feature data in the similarity matching module and further conveniently positioning the defects in the software warehouse, the similarity matching module compares the classified data with the feature data in the similarity matching module and finds out the defects in the software warehouse.
In order to achieve the effects of conveniently obtaining the log segments and classifying the log segments, the step S4 further includes log segments, the log segments are obtained by identifying defects, and the log segments include software defect fault segments, non-software defect fault segments and normal log segments.
In order to conveniently further identify the log segments, the identified defects can be positioned and repaired, after a single defect is positioned and repaired, all tests are repeatedly executed to collect coverage information and execution results until all defect information is positioned, the collected log segments and the comparison results can further identify the log segments, the identified defects can be positioned and repaired, and after a single defect is positioned and repaired, all tests are repeatedly executed to collect coverage information and execution results until all defect information is positioned.
Compared with the related art, the method for positioning the defects of the software warehouse excavation has the following beneficial effects:
1. the invention collects data, which comprises collecting various software data in a software warehouse and collecting user search data, can conveniently collect the software data and the user search data in the software warehouse, conveniently carry out subsequent comparison processing, conveniently locate software defects, and collect various software data logs from the software warehouse, and screen, filter and store the collected logs, can process various software data logs, conveniently carry out subsequent location operation, various software data logs comprise log data in various software defect libraries and search log data of users, and after the user search data is collected, the user search logs are processed, including screening, sorting and storing, and the user search logs can be further processed, the collected data is convenient to be extracted by the characteristics, wherein the data can be extracted by the characteristics of various software data logs of a software warehouse and the search log data of a user, the software data and the search log data of the user can be extracted by the characteristics, the comparison can be carried out conveniently, the defects of various software can be positioned conveniently, the positioning is more accurate, the accuracy and the efficiency of the defect positioning are improved, the extracted characteristic data can be classified before the comparison by comparing the extracted characteristic data, a similarity matching module can be established, the comparison can be carried out conveniently by the similarity matching module, the classified data and the characteristic data in the similarity matching module are compared by the similarity matching module to find out the defects in the software warehouse, and finally the compared log data are extracted, the defects are repeatedly identified, the log segments comprise software defect fault segments, non-software defect fault segments and normal log segments, the collected log segments and the comparison result can be used for further identifying the log segments, the identified defects can be positioned and repaired, after the single defect is positioned and repaired, all tests are repeatedly executed to collect the coverage information and the execution result until all defect information is determined, the various defects of various types of software can be conveniently positioned and processed, and the problem that the existing defect positioning method facing to software warehouse mining is time-consuming and labor-consuming in the positioning process, only one or single defect can be positioned, the single defect positioning does not accord with the actual software debugging scene, and the existing defect positioning method facing to software warehouse mining is not suitable for software warehouse mining.
Drawings
FIG. 1 is a flowchart of a method of a preferred embodiment of the method for locating defects in a software warehouse according to the present invention;
Detailed Description
The invention is further described with reference to the following figures and embodiments.
Referring to fig. 1, fig. 1 is a flowchart illustrating a method of a defect location method for software warehouse mining according to a preferred embodiment of the present invention. The defect positioning method for software warehouse excavation comprises the following steps:
s1, collecting data;
s2, performing feature extraction on the collected data;
s3, comparing the extracted feature data;
and S4, extracting the log data after comparison, and repeatedly identifying the defects.
In the implementation process, as shown in fig. 1, step S1 includes collecting various types of software data in the software warehouse, and collecting search data of the user.
Step S1 also includes collecting various types of software data logs from the software repository, and screening, filtering and storing the collected logs.
The various types of software data logs include log data in various types of software defect libraries, and include search log data of users.
After the search data of the user is collected, the user search logs are processed, including screening, sorting and storing.
It should be noted that: the method is characterized in that the method collects data, which comprises collecting various software data in a software warehouse and collecting user search data, can conveniently collect the software data and the user search data in the software warehouse, conveniently carry out subsequent comparison processing, conveniently locate software defects, and filter, filter and store the collected logs, can process various software data logs, and conveniently carry out subsequent location operation, wherein various software data logs comprise log data in various software defect libraries and search log data of users, and the user search logs are processed after the user search data is collected, including filtering, sorting and storing, can further process the user search logs, and is convenient for carrying out feature extraction on the collected data, the characteristic extraction of the data can extract the characteristics of various software data logs of a software warehouse and extract the characteristics of user search log data, the characteristic extraction of the software data and the user search log data is convenient, the comparison is convenient, the defects of various types of software can be conveniently positioned, the positioning is more accurate, the accuracy and the efficiency of the defect positioning are improved, the extracted characteristic data can be classified before the comparison through the comparison of the extracted characteristic data, a similarity matching module is established, the similarity matching module can conveniently perform the comparison, the similarity matching module finds the defects in the software warehouse through the comparison of the classified data and the characteristic data in the similarity matching module, the compared log data is finally extracted, the defects are repeatedly identified, and the log segments comprise software defect fault segments, The method comprises the steps of collecting log fragments and comparison results, identifying the log fragments further, locating and repairing identified defects, repeatedly executing all tests to collect coverage information and execution results after the single defects are located and repaired until all defect information is located, conveniently locating and processing various defects of various types of software, and solving the problems that the existing defect locating method for software warehouse excavation is time-consuming and labor-consuming in the locating process, only one or single defect can be located, single defect locating does not accord with an actual software debugging scene, and is not suitable for software warehouse excavation.
Referring to fig. 1, step S2 includes performing feature extraction on various types of software data logs of the software repository, and performing feature extraction on user search log data.
In step S2, the extracted feature data is classified, and a similarity matching module is established.
The similarity matching module compares the classified data with the characteristic data in the similarity matching module and finds out the defects in the software warehouse.
It should be noted that: through carrying out the feature extraction to user search log data, conveniently carry out the feature extraction to software data and user search log data, conveniently compare, and then can conveniently carry out location processing to the defect of all kinds of software, make the location more accurate, the accuracy and the efficiency of defect location have been improved, and through comparing the feature data who extracts, can classify the feature data who extracts before comparing, and establish similarity matching module, similarity matching module can conveniently compare, similarity matching module is through comparing classified data and the feature data in the similarity matching module, and find out the defect in the software warehouse.
Referring to fig. 1, step S4 further includes log segments obtained by identifying defects, where the log segments include software defect failure segments, non-software defect failure segments, and normal log segments.
The collected log segments and the comparison results can be used for further identifying the log segments, positioning and repairing the identified defects, and after the positioning and repairing of a single defect are finished, all tests are repeatedly executed to collect coverage information and execution results until all defect information is positioned.
It should be noted that: by extracting the compared log data and repeatedly identifying the defects, the log segments comprise software defect fault segments, non-software defect fault segments and normal log segments, the log segments and the comparison results can be further identified, the identified defects can be positioned and repaired, after the single defect is positioned and repaired, all tests are repeatedly executed to collect coverage information and execution results until all defect information is determined, and various defects of various types of software can be conveniently positioned and processed.
The working principle of the software warehouse mining-oriented defect positioning method provided by the invention is as follows:
the method is characterized in that the method collects data, which comprises collecting various software data in a software warehouse and collecting user search data, can conveniently collect the software data and the user search data in the software warehouse, conveniently carry out subsequent comparison processing, conveniently locate software defects, and filter, filter and store the collected logs, can process various software data logs, and conveniently carry out subsequent location operation, wherein various software data logs comprise log data in various software defect libraries and search log data of users, and the user search logs are processed after the user search data is collected, including filtering, sorting and storing, can further process the user search logs, and is convenient for carrying out feature extraction on the collected data, the characteristic extraction of the data can extract the characteristics of various software data logs of a software warehouse and extract the characteristics of user search log data, the characteristic extraction of the software data and the user search log data is convenient, the comparison is convenient, the defects of various types of software can be conveniently positioned, the positioning is more accurate, the accuracy and the efficiency of the defect positioning are improved, the extracted characteristic data can be classified before the comparison through the comparison of the extracted characteristic data, a similarity matching module is established, the similarity matching module can conveniently perform the comparison, the similarity matching module finds the defects in the software warehouse through the comparison of the classified data and the characteristic data in the similarity matching module, the compared log data is finally extracted, the defects are repeatedly identified, and the log segments comprise software defect fault segments, The method comprises the steps of collecting log fragments and comparison results, identifying the log fragments further, locating and repairing identified defects, repeatedly executing all tests to collect coverage information and execution results after the single defects are located and repaired until all defect information is located, conveniently locating and processing various defects of various types of software, and solving the problems that the existing defect locating method for software warehouse excavation is time-consuming and labor-consuming in the locating process, only one or single defect can be located, single defect locating does not accord with an actual software debugging scene, and is not suitable for software warehouse excavation.
In the description of the present invention, it should be noted that the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc. indicate orientations or positional relationships based on the orientations or positional relationships shown in the drawings, and are only for convenience of description and simplification of description, but do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and thus, should not be construed as limiting the present invention.
The above description is only an embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. A defect positioning method for software warehouse excavation is characterized by comprising the following steps:
s1, collecting data;
s2, performing feature extraction on the collected data;
s3, comparing the extracted feature data;
and S4, extracting the log data after comparison, and repeatedly identifying the defects.
2. The method for locating defects in software warehouse mining according to claim 1, wherein the step S1 includes collecting various types of software data in the software warehouse and collecting search data of users.
3. The method for locating defects in software warehouse mining-oriented according to claim 1, wherein the step S1 further includes collecting various types of software data logs from the software warehouse, and screening, filtering and storing the collected logs.
4. The software warehouse mining-oriented defect locating method of claim 3, wherein the types of software data logs comprise log data in a types of software defect libraries and search log data of users.
5. The software warehouse mining-oriented defect locating method as claimed in claim 2, wherein after the user search data is collected, the user search logs are processed, including screening, sorting and storing.
6. The method for locating defects in a software warehouse, as claimed in claim 1, wherein step S2 includes performing feature extraction on various types of software data logs of the software warehouse, and performing feature extraction on user search log data.
7. The method for locating defects in software warehouse mining-oriented according to claim 6, wherein the extracted feature data is classified and a similarity matching module is established in step S2.
8. The software warehouse mining-oriented defect locating method as claimed in claim 7, wherein the similarity matching module finds the defects in the software warehouse by comparing the classified data with the feature data in the similarity matching module.
9. The method for locating defects in a software warehouse, as claimed in claim 1, wherein the step S4 further includes log segments, the log segments are obtained by identifying defects, and the log segments include software defect fault segments, non-software defect fault segments, and normal log segments.
10. The method for locating defects in a software warehouse as claimed in claim 9, wherein the collected log segments and the comparison result are further used for identifying log segments, locating and repairing identified defects, and when a single defect is located and repaired, all tests are repeatedly performed to collect coverage information and perform results until all defect information is located.
CN202210704498.4A 2022-06-21 2022-06-21 Defect positioning method for software warehouse excavation Pending CN114968813A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210704498.4A CN114968813A (en) 2022-06-21 2022-06-21 Defect positioning method for software warehouse excavation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210704498.4A CN114968813A (en) 2022-06-21 2022-06-21 Defect positioning method for software warehouse excavation

Publications (1)

Publication Number Publication Date
CN114968813A true CN114968813A (en) 2022-08-30

Family

ID=82965963

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210704498.4A Pending CN114968813A (en) 2022-06-21 2022-06-21 Defect positioning method for software warehouse excavation

Country Status (1)

Country Link
CN (1) CN114968813A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105653444A (en) * 2015-12-23 2016-06-08 北京大学 Internet log data-based software defect failure recognition method and system
CN107862327A (en) * 2017-10-26 2018-03-30 华中科技大学 A kind of safety defect identifying system and method based on multiple features
EP3392780A2 (en) * 2017-04-19 2018-10-24 Tata Consultancy Services Limited Systems and methods for classification of software defect reports
CN114416573A (en) * 2022-01-21 2022-04-29 中国农业银行股份有限公司 Defect analysis method, device, equipment and medium for application program

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105653444A (en) * 2015-12-23 2016-06-08 北京大学 Internet log data-based software defect failure recognition method and system
EP3392780A2 (en) * 2017-04-19 2018-10-24 Tata Consultancy Services Limited Systems and methods for classification of software defect reports
CN107862327A (en) * 2017-10-26 2018-03-30 华中科技大学 A kind of safety defect identifying system and method based on multiple features
CN114416573A (en) * 2022-01-21 2022-04-29 中国农业银行股份有限公司 Defect analysis method, device, equipment and medium for application program

Similar Documents

Publication Publication Date Title
CN107145445B (en) Automatic analysis method and system for error log of software automation test
CN107608732B (en) Bug searching and positioning method based on bug knowledge graph
CN107729258B (en) Program fault positioning method for software version problem
CN111782532B (en) Software fault positioning method and system based on network abnormal node analysis
CN112257740B (en) Knowledge graph-based image hidden danger identification method and system
CN103473172A (en) System and method for checking leak of background program memories and positioning leak memory points
CN103744788B (en) The characteristic positioning method analyzed based on multi-source software data
CN111831634A (en) Cloud platform processing system and method based on big data
US20120323506A1 (en) Semiconductor Defect Signal Capturing and Statistical System and Method
CN112068981B (en) Knowledge base-based fault scanning recovery method and system in Linux operating system
CN112598142B (en) Wind turbine maintenance working quality inspection auxiliary method and system
CN112347464B (en) Android intelligent device root method based on case matching and tool dynamic calling
CN114968813A (en) Defect positioning method for software warehouse excavation
CN105677723A (en) Method for establishing and searching data labels for industrial signal source
CN110427316B (en) Embedded software defect repairing method based on access behavior perception
CN112416732A (en) Hidden Markov model-based data acquisition operation anomaly detection method
CN110990282A (en) Automatic unit testing method
CN116088796A (en) Software development data acquisition and analysis system
CN109902012A (en) A kind of automation generates the method and device of server test report
CN113868035B (en) Automatic LTP performance test method and device
CN109754159B (en) Method and system for extracting information of power grid operation log
CN114722960A (en) Method and system for detecting incomplete track of event log in business process
CN114139853A (en) Steel structure product list processing method and device based on big data
CN114253909A (en) Simulation result analysis method and system, computer equipment and storage medium
CN112488479A (en) Method and system for analyzing natural gas data

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