Method, device and system for generating code documents in continuous integration

A document generation and continuous integration technology, applied in program control devices, program files, software maintenance/management, etc., can solve problems such as reduced work efficiency and accuracy of code documents, waste of human resources, and untimely update of code documents. The effect of ensuring consistency, improving work efficiency and saving human resources

Inactive Publication Date: 2017-10-17
ZHENGZHOU YUNHAI INFORMATION TECH CO LTD
View PDF4 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] Before the code document is published, the corresponding code document needs to be generated. In the prior art, the staff manually edits the relevant information to form the code document, and when the corresponding changes are made

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, device and system for generating code documents in continuous integration
  • Method, device and system for generating code documents in continuous integration

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0029] Embodiments of the present invention provide a method, device and system for generating code documents in continuous integration, which realize automatic generation and timely updating of code documents during use, save human resources to a certain extent, and improve work efficiency and the accuracy of code documentation.

[0030] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0031] Pl...

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

Embodiments of the invention disclose a method, device and system for generating code documents in continuous integration. The method comprises the following steps of: obtaining a code and a code annotation submitted by a user; judging whether the code annotation is correct or not according to the code; if the judging result is positive, storing the code and the code annotation into a code library and executing the next step; if the judging result is negative, returning prompt information; obtaining a code structure and the code annotation, and recording the code structure and the code annotation into a source file; and generating the source file into a code document according to a preset configuration file. According to the method, the code and the code annotation submitted by the users are verified to ensure the consistency between the code annotation and the code; after the verification passes, the source file is generated according to the code structure and the code annotation, submitted by a worker, of the code; and the source file is generated into the code document according to the preset configuration information. According to the method, device and system disclosed by the invention, the automatic generation and timely updating of code documents are realized, so that the manpower resources are saved, and the working efficiency and the correctness of the code documents are improved.

Description

technical field [0001] The embodiments of the present invention relate to the technical field of continuous integration, in particular to a method, device and system for generating code documents in continuous integration. Background technique [0002] Continuous integration plays a very important role in the process of system development, and the output of code documentation is the last step in the continuous integration process, that is, the release of code documentation. The code documentation includes the function of each method or interface, descriptions of input and output parameters, and so on. In the process of system development, code documentation is very important. Perfect and detailed code documentation can not only facilitate communication between developers of upstream and downstream modules, but also provide testers with detailed test instructions to reduce unnecessary discussions, thereby Increase work efficiency. [0003] Before the code document is publis...

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
IPC IPC(8): G06F9/44
CPCG06F8/73
Inventor 薛昊原姜文涛赵祯龙樊云龙
Owner ZHENGZHOU YUNHAI INFORMATION TECH CO LTD
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