Software evolution-oriented code replaceability assessment method

A software and code-oriented technology, applied in code refactoring, software maintenance/management, software testing/debugging, etc., can solve the problems of not being able to provide replaceable change information, no code replaceability, etc.
CN105867906AInactive Publication Date: 2016-08-17SOUTHEAST UNIV +1

Patent Information

Authority / Receiving Office
CN ยท China
Current Assignee / Owner
SOUTHEAST UNIV
Publication Date
2016-08-17
Estimated Expiration
Not applicable ยท inactive patent

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

Abstract

The invention discloses a software evolution-oriented code replaceability assessment method, and the method is used for analyzing and positioning evolution reasons. The method comprises the following steps: constructing a corresponding abstract syntax tree according to a source code; extracting edges which express dependency on the abstract syntax tree, so as to construct a code coupling relationship graph; defining a measurement code replaceability index on the basis of a program coupling relationship so as to calculate the replaceability of a mode in the code; analyzing the packages, the replaceability of which is changed, of the code in the evolution version, so as to recognize the elements which cause the code replaceability change. According to the assessment method disclosed in the invention, the replaceability of the original code and the measurement code can be automatically analyzed to point out core frameworks in the codes, and the change reasons in the evolution process can be analyzed and positioned to realize the automation of the evolution assessment.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The invention proposes a code replaceability evaluation method oriented to software evolution, which mainly uses the coupling relationship in the code to identify the cause of the replaceability evolution of the code, and belongs to the field of software maintenance and evolution. Background technique

[0002] In the software life cycle, the software is constantly upgraded and changed to meet new requirements. Changes to software are often made under some external pressure, such as customers or industry competition. These changes will inevitably destroy the original structure of the program, increase the complexity of the program, and reduce the quality of the code. As a result, the maintenance cost of the software is significantly increased, and it becomes more difficult to upgrade the software. Any software development method and tool cannot avoid this problem. The later the software repair work is carried out, the higher the software maintenance c...

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