Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Software maintenance oriented method for re-customizing modification request

A software-oriented, modification request technology, applied in the direction of program control devices, etc., can solve problems such as poor static code search technology, difficult user judgment results, not very large, etc., to solve the problem of synonym expansion, reduce the possibility, and narrow the scope Effect

Inactive Publication Date: 2014-11-26
YANGZHOU UNIV
View PDF4 Cites 10 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Existing static code search techniques using natural language queries are not very helpful to maintainers, especially when a maintainer cannot accurately write a change request about the source code, these static code search techniques appear to be terrible
Because the traditional static code search technology simply matches all the words entered by the user with the source code. As long as a word appears in a certain identifier, the result will be returned to the user. If the query statement entered by the user has a large If the redundancy is too high, many useless results may be fed back to the user, making it difficult for the user to judge whether the result is relevant; if the query statement entered by the user cannot be matched in the source code, no result will be returned to the user. And allowing users to formulate their own query statements has caused a lot of trouble to users.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Software maintenance oriented method for re-customizing modification request
  • Software maintenance oriented method for re-customizing modification request
  • Software maintenance oriented method for re-customizing modification request

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0032] 1. Definition of method-related parameters

[0033] 1. Create a part-of-speech judgment table named character;

[0034] 2. The query statement entered by the user is stored in the set str;

[0035] 3. The preprocessed query statement is stored in the set words, each word in words is stored in the word array, and the part of speech of each word is stored in the property array;

[0036] 4. Establish the keyword library table keywordLibrary of the programming language used in the database;

[0037] 5. The synonyms corresponding to each word are stored in the arrays synonym1, synonym2, ....synonymn;

[0038] 6. Create the source code table code in the database and import the code table;

[0039] 7. Useful identifiers extracted from the source code are stored in vector tokens, these identifiers are segmented, and the phrases obtained after segmentation are stored in vector identifiers;

[0040] 8. Store the matched phrases that reach the threshold value into the vector k...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a software maintenance oriented method for re-customizing a modification request in the field of software engineering. The software maintenance oriented method for re-customizing the modification request comprises the following steps of pretreatment, synonym expansion, identifier segmentation, matching and sorting. By means of the software maintenance oriented method for re-customizing the modification request, a developer can be effectively helped to formulate good inquire statements, accordingly the modification request is accurately positioned to a code segment to be maintained to improve the software maintenance efficiency, and the method can be used for software maintenance.

Description

technical field [0001] The invention relates to a software maintenance method, in particular to a software modification request recustomization method. Background technique [0002] After the software is released, users may put forward new modification requests due to adding new requirements, discovering new software faults, adapting to new environments, etc. At this time, the developed software needs to be maintained and upgraded. As software systems continue to evolve, it becomes increasingly difficult to locate code in order to perform software maintenance tasks. The language of the modification request written by the maintainer is usually different from the vocabulary used by the developer, so it takes a lot of time and effort to formulate accurate queries, which reduces the efficiency of maintaining the software. Existing static code search techniques using natural language queries are not very helpful to maintainers, especially when a maintainer cannot accurately writ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/44
Inventor 孙小兵陆美莉
Owner YANGZHOU UNIV
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products