Program code annotating management method and device

A technology of program code and management method, which is applied in the field of computer software, can solve the problems of increasing software cost, difficulty in handling, affecting the readability and maintainability of program code, etc., and achieve the effect of reducing software cost and improving efficiency

Inactive Publication Date: 2012-02-01
阳振庭
View PDF0 Cites 15 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Comments are an important factor for the readability and maintainability of program code. Inconsistent comments and too many comments affect the readability and maintainability of the program. However, various comments are currently embedded in program code files. Especially as the program code continues to grow, the complete coupling of program code and code comments in a whole has seriously affected the readability and maintainability of the program code, reduced the efficiency of software program code development, and increased software costs.
[0004] Code review is an important process in the development of program code. Code review means that developers check each other's code and give comments or annotations for modification prompts. However, the current program code is unformatted text, and review comments cannot be embedded in the program code. In this way, it is necessary to manually map the inspection annotations to the specified program code, which significantly reduces the efficiency of program development team cooperation, especially as the program code is modified and changed, manual correspondence is more difficult to handle

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
  • Program code annotating management method and device
  • Program code annotating management method and device
  • Program code annotating management method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0040] Embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings.

[0041] First of all, the application environment of the present invention that introduces the management method of the program code annotation, please refer to the attached figure 1 , the management method of the program code comment is implemented in the code comment management program, the code comment management program is a set of instructions for realizing the code comment management, the code comment management program is loaded in the 102 storage unit, and the 101 software processing unit is responsible for executing the code comment management program, That is, the 101 software processing unit obtains the instruction from the 102 storage unit and then executes the described instruction, the 101 software processing unit can receive input from the 104 input unit according to the instruction of the code comment management program, and the 101 softw...

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 program code annotating management method and device. The program code annotating management method comprises the following steps of: analyzing a program code and obtaining a relevant index between an annotation and the program code or obtaining the relevant index between the annotation and the program code from an annotation library; and carrying out synchronous processing on an independent annotation and the program code according to the relevant index. The program code annotating management device comprises a code input and output module, an annotation input and output module, a code annotation relevant module, a code storage module and an annotation storage module. The program code annotating management method and device of the invention solve the problem of independent management of the program code annotation and improve the efficiency of program development.

Description

technical field [0001] The invention relates to the field of computer software, in particular to a method and device for managing program code comments in the field of software development. Background technique [0002] With the development of various human applications and hardware chip technology, various application software is becoming more and more complex and large. Application software is generally composed of files that can be recognized by the hardware processing unit after the program code is transformed by a compiler. Complex software requires the development of a large number of complex program codes, so the problem of program code management has become increasingly prominent, especially in multi-person development teams. It is difficult to unify the program code format, which reduces the readability and maintainability of the program code. Difficulty viewing coordination. [0003] The program code is generally in a text format, and the program code usually incl...

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 阳振庭
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