CN113377649A - Method and device for constructing quality portrait of application system - Google Patents

Method and device for constructing quality portrait of application system Download PDF

Info

Publication number
CN113377649A
CN113377649A CN202110630801.6A CN202110630801A CN113377649A CN 113377649 A CN113377649 A CN 113377649A CN 202110630801 A CN202110630801 A CN 202110630801A CN 113377649 A CN113377649 A CN 113377649A
Authority
CN
China
Prior art keywords
quality
constructing
management platform
data
demand document
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
CN202110630801.6A
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.)
China Guangfa Bank Co Ltd
Original Assignee
China Guangfa Bank Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Guangfa Bank Co Ltd filed Critical China Guangfa Bank Co Ltd
Priority to CN202110630801.6A priority Critical patent/CN113377649A/en
Publication of CN113377649A publication Critical patent/CN113377649A/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/3668Software testing
    • G06F11/3672Test management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/30Semantic analysis

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Stored Programmes (AREA)

Abstract

The embodiment of the invention provides a method and a device for constructing a quality portrait of an application system, which are applied to the technical field of computers.

Description

Method and device for constructing quality portrait of application system
Technical Field
The invention relates to the technical field of computers, in particular to a method and a device for constructing a quality portrait of an application system.
Background
The existing application quality portrait generation and analysis has little combined use of test management data and test management platform code quality data, so that the existing quality portrait research lacks an objective description and evaluation on the quality of an application system from the aspects of test data and code quality. On the other hand, some quality image analysis simply starts from results, that is, the quality condition of the application system is visually judged through the running condition, fault frequency, performance condition and the like of the application system after the application system is on line, and obviously, the deep analysis related to the research and development process of the application system is also lacked.
Disclosure of Invention
The embodiment of the invention provides a method and a device for constructing a quality portrait of an application system, which are used for solving the problems that the prior art has larger dependence on a shared interface and is not beneficial to service subscription, and comprise the following steps:
a method of constructing an application system quality representation, the method comprising:
code quality data crawling is carried out on the test management platform through a webpage crawler technology;
acquiring a demand document corresponding to a webpage, performing semantic analysis on the demand document, and further extracting and storing target keywords in the demand document;
according to the target keyword, deriving defect data corresponding to the test management platform;
and constructing a quality portrait of the test management platform according to the defect data and the code quality data.
Optionally, the defect data includes a defect of the test management platform, and a functional module, test data, a test process, and a generated fault condition corresponding to the defect.
Optionally, the test management platform is a SonarQube platform.
Optionally, the acquiring a requirement document corresponding to a web page, performing semantic analysis on the requirement document, and further extracting and storing a target keyword in the requirement document includes:
acquiring a demand document corresponding to a webpage, performing semantic analysis on the demand document through a natural language processing technology, and further extracting and storing target keywords in the demand document.
Optionally, the test management platform comprises a financial application platform.
An apparatus for constructing an application system quality representation, the apparatus comprising:
the code quality data crawling module is used for crawling the code quality data of the test management platform through a webpage crawler technology;
the semantic analysis module is used for acquiring a demand document corresponding to a webpage, performing semantic analysis on the demand document, and further extracting and storing target keywords in the demand document;
the defect data export module is used for exporting the defect data corresponding to the test management platform according to the target keyword;
and the quality portrait constructing module is used for constructing the quality portrait of the test management platform according to the defect data and the code quality data.
Optionally, the defect data includes a defect of the test management platform, and a functional module, test data, a test process, and a generated fault condition corresponding to the defect.
Optionally, the test management platform is a SonarQube platform.
Optionally, the semantic analysis module includes:
and the natural language processing submodule is used for acquiring a demand document corresponding to the webpage, performing semantic analysis on the demand document through a natural language processing technology, and further extracting and storing target keywords in the demand document.
Optionally, the test management platform comprises a financial application platform.
The invention has the following advantages:
in the invention, the quality condition of the system is comprehensively depicted by combining the analysis of the requirement document, the analysis of the code quality problem and the analysis of the test problem, so as to form a quality portrait of the system. The method relates to the requirements, development and verification of the system, and is a scheme for analyzing the quality of the system by using a full link. By the scheme, the problem that in the prior art, two quality analysis platforms, namely a test (defect) platform and a test management platform, are respectively operated, data utilization is low in efficiency, and the quality analysis value cannot be highlighted is effectively solved. Meanwhile, the analysis scheme can also perform feedback on the modes of demand analysis, system development and test verification of one system according to the analysis result, and the quality of the whole link of the system development is improved in a targeted manner.
Drawings
In order to more clearly illustrate the technical solution of the present invention, the drawings needed to be used in the description of the present invention will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
Fig. 1 is a schematic structural diagram of a service subscription system according to an embodiment of the present invention;
fig. 2 is a schematic diagram of a service subscription system according to an embodiment of the present invention.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in further detail below. It is to be understood that the embodiments described are only a few embodiments of the present invention, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The test (defect) management platform is an application platform developed and used in a company, aims to uniformly manage defect problems of various application systems in a test stage, and interactively audits information related to application defects on the test management platform by all related developers, testers and managers. The management platform has a historical data export function, can screen out defect related data meeting conditions according to a plurality of selected conditions, and is used as one of references of the conditions of the duplicate disk projects such as developers, testers and the like.
SonarQube is an open platform for managing code quality that can quickly locate potential or apparent code errors in code. The SonarQube platform is used for comprehensively scanning the project codes finished by continuous integration deployment, so that the quality condition of the project can be analyzed from the code perspective. Obviously, this also lacks the application system itself, which involves a deep analysis of the development process.
The reasons for the above-mentioned deficiencies can be classified into the following three points:
1. less use of test procedure data
The test process data, i.e. the test related data on the test management platform mentioned above, is important information for inspecting the quality condition of an application system development process. However, since developers, testers, managers, and the like only use the defects in the links of submitting the defects, checking the defects, counting the current defects of the application system, arbitrating the defects, and the like, that is, the defect data are interacted in real time, the solved defects are not treated, and the value of the data is ignored.
2. Less utilization of SonarQube data
For most developers, the SonarQube scan is merely an overall situation for scanning code files during development to see if the code meets some standards and violates some tiny detail specifications. Most people do not utilize statistic and analysis data related to code quality on a SonarQube platform, and can not timely or periodically perform multi-disk analysis on the code condition of an application system in terms of modules, functions and the like through the data.
3. Less analysis of application system quality portraits
At present, most of portrait related analysis is concentrated on a user rather than an application system, and further, research on quality portrait depiction analysis of the application system is less, so that the current situation of low referential is caused. This is one of the problems that needs to be faced and overcome in the present quality of image.
Aiming at the defects of the existing test (defect) platform and SonarQube platform on the system quality analysis scheme, the invention provides a more systematic and deeper analysis scheme. Most particularly, the quality condition of the system is comprehensively depicted by combining the analysis of the requirement document, the analysis of the code quality problem and the analysis of the test problem, so that the quality portrait of the system is formed. The method relates to the requirements, development and verification of the system, and is a scheme for analyzing the quality of the system by using a full link. By the scheme, the problem that in the prior art, two quality analysis platforms, namely a test (defect) platform and a SonarQube platform, are respectively operated, data utilization is low in efficiency, and quality analysis value cannot be highlighted is effectively solved. Meanwhile, the analysis scheme can also perform feedback on the modes of demand analysis, system development and test verification of one system according to the analysis result, and the quality of the whole link of the system development is improved in a targeted manner.
In order to solve the above problem, referring to fig. 1, a flowchart of steps of a method for constructing a quality representation of an application system according to an embodiment of the present invention is shown, where the method includes the following steps:
step 101, code quality data crawling is carried out on a test management platform through a webpage crawler technology;
in an embodiment of the present application, the test management platform is a SonarQube platform.
And the webpage crawler technology carries out code quality data crawling process operation on the SonarQube platform. The reason that webpage crawlers need to be carried out on the SonarQube platform is that at present, the platform does not provide a complete code quality data export function for condition screening, and therefore for code quality historical data, analysts need to crawl webpages to obtain the code quality historical data through some specified conditions.
102, acquiring a demand document corresponding to a webpage, performing semantic analysis on the demand document, and further extracting and storing target keywords in the demand document;
a process operation requiring the generation of document analysis corpus data. Since the background of the present invention is a financial-related application system, the corresponding requirement document contains a large number of financial-industry-related terms. Through extracting financial professional linguistic data, semantic analysis is carried out on the required document, and keywords related to the financial field are extracted and stored for data use of a subsequent analysis test management platform.
103, exporting defect data corresponding to the test management platform according to the target keyword;
the test management platform makes a very detailed record of relevant conditions of the defects, so that the required data can be screened and integrated according to actual conditions so as to be used for subsequent natural language analysis.
In the present invention, the "defect description" data in the test management platform is where this natural language processing needs to be analyzed. "Defect description" is a detailed description of a test defect by a tester, including the functional modules, test data, test procedures, resulting faults, etc. to which the defect relates. Therefore, by analyzing the defect description, it can be quickly known which functional modules are the 'disaster areas' of the defect problem, and further needs to draw the attention of developers and managers.
And 104, constructing a quality portrait of the test management platform according to the defect data and the code quality data.
In an embodiment of the present application, the defect data includes a defect of the test management platform, and a functional module, test data, a test process, and a generated fault condition corresponding to the defect.
In an embodiment of the present application, the acquiring a demand document corresponding to a web page, performing semantic analysis on the demand document, and further extracting and storing a target keyword in the demand document includes:
acquiring a demand document corresponding to a webpage, performing semantic analysis on the demand document through a natural language processing technology, and further extracting and storing target keywords in the demand document.
In an embodiment of the application, the test management platform includes a financial application platform.
In the invention, the quality condition of the system is comprehensively depicted by combining the analysis of the requirement document, the analysis of the code quality problem and the analysis of the test problem, so as to form a quality portrait of the system. The method relates to the requirements, development and verification of the system, and is a scheme for analyzing the quality of the system by using a full link. By the scheme, the problem that in the prior art, two quality analysis platforms, namely a test (defect) platform and a test management platform, are respectively operated, data utilization is low in efficiency, and the quality analysis value cannot be highlighted is effectively solved. Meanwhile, the analysis scheme can also perform feedback on the modes of demand analysis, system development and test verification of one system according to the analysis result, and the quality of the whole link of the system development is improved in a targeted manner.
In order to solve the above problem, referring to fig. 2, a schematic structural diagram of an apparatus for constructing a quality representation of an application system according to an embodiment of the present invention is shown, where the apparatus includes the following modules:
the code quality data crawling module 201 is used for crawling code quality data of the test management platform through a webpage crawler technology;
the semantic analysis module 202 is configured to acquire a demand document corresponding to a web page, perform semantic analysis on the demand document, and further extract and store a target keyword in the demand document;
a defect data export module 203, configured to export defect data corresponding to the test management platform according to the target keyword;
and the quality portrait constructing module 204 is used for constructing a quality portrait of the test management platform according to the defect data and the code quality data.
In an embodiment of the present application, the defect data includes a defect of the test management platform, and a functional module, test data, a test process, and a generated fault condition corresponding to the defect.
In an embodiment of the present application, the test management platform is a SonarQube platform.
In an embodiment of the present application, the semantic analysis module includes:
and the natural language processing submodule is used for acquiring a demand document corresponding to the webpage, performing semantic analysis on the demand document through a natural language processing technology, and further extracting and storing target keywords in the demand document.
In an embodiment of the application, the test management platform includes a financial application platform.
In the invention, the quality condition of the system is comprehensively depicted by combining the analysis of the requirement document, the analysis of the code quality problem and the analysis of the test problem, so as to form a quality portrait of the system. The method relates to the requirements, development and verification of the system, and is a scheme for analyzing the quality of the system by using a full link. By the scheme, the problem that in the prior art, two quality analysis platforms, namely a test (defect) platform and a test management platform, are respectively operated, data utilization is low in efficiency, and the quality analysis value cannot be highlighted is effectively solved. Meanwhile, the analysis scheme can also perform feedback on the modes of demand analysis, system development and test verification of one system according to the analysis result, and the quality of the whole link of the system development is improved in a targeted manner.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, apparatus, or computer program product. Accordingly, embodiments of the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
Embodiments of the present invention are described with reference to flowchart illustrations and/or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing terminal to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing terminal to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing terminal to cause a series of operational steps to be performed on the computer or other programmable terminal to produce a computer implemented process such that the instructions which execute on the computer or other programmable terminal provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications of these embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the embodiments of the invention.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or terminal that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or terminal. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or terminal that comprises the element.
The method and the device for constructing the quality portrait of the application system provided by the invention are described in detail, and the principle and the implementation mode of the invention are explained by applying specific examples in the text, and the description of the above examples is only used for helping to understand the method and the core idea of the invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (10)

1. A method of constructing an application system quality representation, the method comprising:
code quality data crawling is carried out on the test management platform through a webpage crawler technology;
acquiring a demand document corresponding to a webpage, performing semantic analysis on the demand document, and further extracting and storing target keywords in the demand document;
according to the target keyword, deriving defect data corresponding to the test management platform;
and constructing a quality portrait of the test management platform according to the defect data and the code quality data.
2. The method for constructing an application system quality image according to claim 1, wherein the defect data comprises defects of the test management platform, and functional modules, test data, test procedures and generated fault conditions corresponding to the defects.
3. The method for constructing an application system quality image according to claim 1, wherein the test management platform is a SonarQube platform.
4. The method for constructing the quality image of the application system according to claim 1, wherein the acquiring a demand document corresponding to a web page, performing semantic analysis on the demand document, and further extracting and storing a target keyword in the demand document comprises:
acquiring a demand document corresponding to a webpage, performing semantic analysis on the demand document through a natural language processing technology, and further extracting and storing target keywords in the demand document.
5. The method of constructing an application system quality representation according to claim 1, wherein the test management platform comprises a financial application platform.
6. An apparatus for constructing an application system quality representation, the apparatus comprising:
the code quality data crawling module is used for crawling the code quality data of the test management platform through a webpage crawler technology;
the semantic analysis module is used for acquiring a demand document corresponding to a webpage, performing semantic analysis on the demand document, and further extracting and storing target keywords in the demand document;
the defect data export module is used for exporting the defect data corresponding to the test management platform according to the target keyword;
and the quality portrait constructing module is used for constructing the quality portrait of the test management platform according to the defect data and the code quality data.
7. The apparatus of claim 6, wherein the defect data comprises defects of the test management platform, and corresponding functional modules, test data, test procedures, and resulting failure conditions of the defects.
8. The apparatus for constructing a quality representation of an application system of claim 6, wherein the test management platform is a SonarQube platform.
9. The apparatus for constructing an application system quality representation as claimed in claim 6, wherein said semantic module comprises:
and the natural language processing submodule is used for acquiring a demand document corresponding to the webpage, performing semantic analysis on the demand document through a natural language processing technology, and further extracting and storing target keywords in the demand document.
10. The apparatus for constructing an application system quality representation as recited in claim 6, wherein the test management platform comprises a financial application platform.
CN202110630801.6A 2021-06-07 2021-06-07 Method and device for constructing quality portrait of application system Pending CN113377649A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110630801.6A CN113377649A (en) 2021-06-07 2021-06-07 Method and device for constructing quality portrait of application system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110630801.6A CN113377649A (en) 2021-06-07 2021-06-07 Method and device for constructing quality portrait of application system

Publications (1)

Publication Number Publication Date
CN113377649A true CN113377649A (en) 2021-09-10

Family

ID=77576013

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110630801.6A Pending CN113377649A (en) 2021-06-07 2021-06-07 Method and device for constructing quality portrait of application system

Country Status (1)

Country Link
CN (1) CN113377649A (en)

Similar Documents

Publication Publication Date Title
US11226892B2 (en) Analyzing software test failures using natural language processing and machine learning
Nayrolles et al. Clever: Combining code metrics with clone detection for just-in-time fault prevention and resolution in large industrial projects
Knab et al. Predicting defect densities in source code files with decision tree learners
Herzig et al. The impact of tangled code changes on defect prediction models
Liu et al. Code churn: A neglected metric in effort-aware just-in-time defect prediction
Wang et al. Towards effectively test report classification to assist crowdsourced testing
CN111459799B (en) Software defect detection model establishing and detecting method and system based on Github
Barbour et al. An empirical study of faults in late propagation clone genealogies
CN109871688B (en) Vulnerability threat degree evaluation method
DE102021133809A1 (en) METHOD AND DEVICE FOR AUTOMATIC DETECTION OF SOFTWARE ERRORS
Li et al. Classification of software defect detected by black-box testing: An empirical study
Levin et al. The co-evolution of test maintenance and code maintenance through the lens of fine-grained semantic changes
Wagner et al. Analyzing text in software projects
Eldh et al. A framework for comparing efficiency, effectiveness and applicability of software testing techniques
Caglayan et al. Usage of multiple prediction models based on defect categories
CN112328499A (en) Test data generation method, device, equipment and medium
Barbour et al. An investigation of the fault-proneness of clone evolutionary patterns
Li et al. Characteristics of multiple-component defects and architectural hotspots: a large system case study
Velasco-Elizondo et al. Towards detecting MVC architectural smells
Morovati et al. Bug characterization in machine learning-based systems
US8850407B2 (en) Test script generation
Khattar et al. Sarathi: Characterization study on regression bugs and identification of regression bug inducing changes: A case-study on google chromium project
Gkatziaki et al. easIE: Easy-to-use information extraction for constructing CSR databases from the web
CN113377649A (en) Method and device for constructing quality portrait of application system
Nabuco et al. Inferring user interface patterns from execution traces of web applications

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