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

Function calling route generating method oriented to C#

A function call path and function call technology, applied in the computer field, can solve problems such as complexity, change of C# language, difficulty in C# program understanding and testing, etc.

Inactive Publication Date: 2016-10-12
BEIJING INFORMATION SCI & TECH UNIV +1
View PDF6 Cites 12 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In view of the changeable and complicated C# language that exists in the prior art, it brings great difficulties to the understanding and testing of the C# program. The technical problem to be solved in the present invention is to provide a method for generating a C#-oriented function call path

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
  • Function calling route generating method oriented to C#
  • Function calling route generating method oriented to C#
  • Function calling route generating method oriented to C#

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0024] In order to make the technical problems, technical solutions and advantages to be solved by the present invention clearer, the following will describe in detail with reference to the drawings and specific embodiments.

[0025] After the software system is modified or expanded, in order to verify whether the modification of the software achieves the expected purpose and does not introduce new errors, the repeated testing is called regression testing. In the regression test of the actual test, because the testers do not understand the internal structure of the program, the test method used is all retesting, but the number of paths in large and medium-sized software systems increases sharply, and all retesting often brings high costs cost. Therefore, the researchers proposed the idea of ​​function call path to obtain the call path of the function, which can quickly obtain the path related to the function, so as to carry out targeted testing, which is conducive to the gener...

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 provides a function calling route generating method oriented to C# / . The method includes the steps of obtaining information related to functions in a C# program, wherein the information includes the type, the namespace, the dataset information and the parameter information; generating a function calling relation tree of each function according to the calling relation of the function, wherein each node of the function calling relation tree represents one function, a sub-node of each node represents a branch, and a brother node of each node and a father node of the node are in parallel relation; conducting combination to form a global function calling relation tree of the C# program according to the function calling relation trees of all the functions. The method includes the steps of obtaining information related to the functions in the C# program, wherein the information includes the type, the namespace, the dataset information and the parameter information; generating the function calling relation tree of each function according to the calling relation of the function, wherein each node of the function calling relation tree represents one function, the sub-node of each node represents the branch, and the brother node of each node and the father node of the node are in parallel relation; conducting combination to form the global function calling relation tree of the C# program according to the function calling relation trees of all the functions.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a method for generating a C#-oriented function calling path. Background technique [0002] As an object-oriented high-level language, C# has gradually become a commonly used language in software development because of its powerful Visual Studio environment, strong visibility, and fast update. With Microsoft's version update of Visual Studio, its functions are becoming more and more powerful. C#, as an advanced programming language equipped in an improved environment, integrates the advantages of C++ and Java, and gradually becomes an important language in the development process. Object-oriented language has the properties of encapsulation, inheritance and polymorphism. Compared with Java language, the two also have their own characteristics in syntax. Due to the powerful functions of VS, most grammatical errors have been avoided in the process of program writing, but logical ...

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/44G06F11/36
CPCG06F8/315G06F11/3604G06F11/3612
Inventor 牟永敏
Owner BEIJING INFORMATION SCI & TECH 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