Method for analyzing software function change and influence thereof by using function diagram

A software function and software analysis technology, which is applied in the analysis of software function changes and their impact fields using function diagrams, can solve problems such as complex software functions, software codes and functions are not simple correspondences, and affect the efficiency of regression testing, and achieve code analysis. Moderate granularity, ease of use, intuitive effect of changes affecting analysis results

Active Publication Date: 2015-02-11
中国软件评测中心(工业和信息化部软件与集成电路促进中心)
View PDF4 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] Since the 1980s, GUI (Graphical User Interface) technology has been widely used. GUI software not only brings users intuitive and simple, but also has its own graphical input / output, event-driven, event-triggered randomness, Features such as multitasking and message passing make software functions more and more complex
Using these methods, it is possible to find out the domain affected by code changes. However, since software codes and functions are not in a simple correspondence, even if the codes affected by the changes are known, the affected functions cannot be known.
In order to cover the source code affected by the change, testers also need to spend a certain amount of energy reading the code in order to design regression test cases that cover the domain affected by the change, thus affecting the efficiency of regression testing
[0011] Software functions are the essence of software. Users complete specified tasks through the functions provided by the software. Compared with codes, software functions are more intuitive. Therefore, analyzing the impact domain of software changes from the functional level will be more intuitive and convenient. Existing methods It is difficult to effectively solve this problem

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
  • Method for analyzing software function change and influence thereof by using function diagram
  • Method for analyzing software function change and influence thereof by using function diagram
  • Method for analyzing software function change and influence thereof by using function diagram

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0052] Aiming at the problems existing in the existing methods, the present invention analyzes the software function change impact domain from the perspective of software function, and mainly solves how to find out the software function affected by the code change in the software, thereby improving the intuition, adequacy and accuracy of the change impact domain analysis. efficiency.

[0053]For GUI software, software function changes come from two aspects, one is the interface control change, and the other is the underlying code change. Interface control changes will explicitly affect the existing functions of the software, and underlying code changes will implicitly affect the existing functions of the software. According to the two kinds of changes, the present invention analyzes the impact domain of function changes.

[0054] The technical solution of the present invention will be described in detail below with reference to the accompanying drawings and preferred embodime...

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 method for analyzing a software function change and the influence thereof by using a function diagram, which comprises the following steps of: analyzing software to be tested, and constructing a software function diagram; analyzing a control change and a code change influence; mapping the control to codes, finding out the software function corresponding to change codes by using the code and interface control mapping method through analyzing source program codes, and converting the code change to a function change; and analyzing the domain of function change influence according to the software function condition influenced by the function change and the code change, and finding out all functions passing by the function change point. In the method, the code dependency relation is described by using a dependency diagram, and the influence on the software by the code change can be accurately reflected; the influence on the software function by the code change and the control change is fully considered, and comprehensive analysis is influenced; and the code change is converted into the function change according to the association relation between the control and the codes, and the analysis result of the change influence is visualized.

Description

technical field [0001] The invention relates to a software testing method, in particular to a method for analyzing software function change and its influence by using a function diagram. Background technique [0002] Software change is an unavoidable and very frequent behavior in the software life cycle. After software change, the original software will be affected to varying degrees. Recognition from the surface is called implicit influence. Software change impact analysis is to determine the explicit and especially implicit impact of these changes on the software, and provide technical support for software testing and maintenance. [0003] Since the 1980s, GUI (Graphical User Interface) technology has been widely used. GUI software not only brings users intuitive and simple, but also has its own graphical input / output, event-driven, event-triggered randomness, Features such as multitasking and message passing make software functions more and more complex. In addition, m...

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 Patents(China)
IPC IPC(8): G06F11/36
Inventor 于秀山于长钺田旭王建伟许峰刘然宋炎淼董昕
Owner 中国软件评测中心(工业和信息化部软件与集成电路促进中心)
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products