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

Problem positioning method and device in code integration compiling

A code and problem technology, applied in the field of problem location in code integration and compilation, can solve problems such as slow code speed

Inactive Publication Date: 2017-02-22
ZHENGZHOU YUNHAI INFORMATION TECH CO LTD
View PDF7 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The purpose of the present invention is to provide a method and device for locating problems in code integration compilation, so as to solve the problem in the prior art when the code parts submitted by each person in charge are compiled as a whole and the compilation fails, the speed of locating the problem code slower 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
  • Problem positioning method and device in code integration compiling
  • Problem positioning method and device in code integration compiling
  • Problem positioning method and device in code integration compiling

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0031] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. 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.

[0032] see figure 1 , which shows a flowchart of a method for locating problems in code integration compilation provided by an embodiment of the present invention, which may include the following steps:

[0033] S11: Integrate the n code segments to be compiled into n code versions, the kth code version includes the first code segment to the kth code segment, 1≤k≤n; if the first code version is compiled successfully and If the compilation of the nth code vers...

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 problem positioning method and device in code integration compiling. The method comprises the steps that 1, if a first code version is compiled successfully and an nth code version is compiled unsuccessfully, code versions between the first code version and the nth code version are selected as the current code versions on the basis of the preset equal distribution principle; 2, the current code versions are compiled, current code versions are selected between the current code versions and the last unsuccessfully-compiled or the last successfully-compiled code version by judging whether compiling is successful or not, and the step 3 is executed; the (m+1)th code segment is determined as a problem code segment till the mth code version is compiled successfully, or the second code segment is determined as a problem code segment till the last selected current code version is compiled unsuccessfully; 3, the step 2 is executed again. Accordingly, the speed of positioning a problem code segment is greatly increased.

Description

technical field [0001] The present invention relates to the technical field of code continuous integration, and more specifically, to a method and device for locating problems in code integration and compilation. Background technique [0002] In the daily development work of the team in the field of code continuous integration technology, usually each person in charge develops part of the code that they are responsible for, and then the compiler integrates the part of the code submitted by each person in charge for overall compilation . [0003] However, in the process of overall compilation, errors in some codes developed by a person in charge may eventually lead to compilation failures. In the prior art, when such compilation failures occur, it is usually necessary to submit Part of the code is compiled one by one, and finally the code with the problem and the corresponding person in charge are determined. However, because this method needs to compile part of the code sub...

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/45
CPCG06F8/41G06F8/43
Inventor 赵阳
Owner ZHENGZHOU YUNHAI INFORMATION TECH CO LTD
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