CN108089984A - Implementation method, device, storage medium and the electronic equipment of code review - Google Patents

Implementation method, device, storage medium and the electronic equipment of code review Download PDF

Info

Publication number
CN108089984A
CN108089984A CN201711342788.4A CN201711342788A CN108089984A CN 108089984 A CN108089984 A CN 108089984A CN 201711342788 A CN201711342788 A CN 201711342788A CN 108089984 A CN108089984 A CN 108089984A
Authority
CN
China
Prior art keywords
code
code review
review
information
workflow
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201711342788.4A
Other languages
Chinese (zh)
Inventor
逯燕芳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Taikang Insurance Group Co Ltd
Original Assignee
Taikang Insurance Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Taikang Insurance Group Co Ltd filed Critical Taikang Insurance Group Co Ltd
Priority to CN201711342788.4A priority Critical patent/CN108089984A/en
Publication of CN108089984A publication Critical patent/CN108089984A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3604Software analysis for verifying properties of programs

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The embodiment of the present invention provides a kind of implementation method of code review, device, storage medium and electronic equipment.This method includes:Daily record is submitted according to the code of version management server, obtains code review object;According to the code review object, the code review workflow to circulate between two roles is created;Described two roles perform the code review workflow for code authors and code review personnel, until meeting preset condition, terminate the code review workflow.The embodiment of the present invention is implemented by the way that code review work is included workflow, and two roles are introduced in code review workflow, and carries out flow of work between two roles, realizes the unified management to code review.

Description

Implementation method, device, storage medium and the electronic equipment of code review
Technical field
The present embodiments relate to field of computer technology more particularly to a kind of implementation method of code review, device, deposit Storage media and electronic equipment.
Background technology
Code review refers to by checking the accordance of source code and coding standard and the activity of code quality.Pass through generation Code evaluation is it can be found that the problem of coding criterion, code effect, function realize the even each side such as Performance tuning.Therefore, pass through Code review can improve code quality, and can minimize loss in the early detection defect of project.Code review Process be also to comb the process of thinking again, developer can deepen the understanding to system, promote team communication, promote to know Know shared, common improve.
Existing code review process is realized usually in the following way:Developer carries out manually code walkthrough, hands over Fork evaluation, participant can be that any two exploitation group member or exploitation group leader develop the peering progress of group member with each respectively.It is peering When carrying out code review, code authors explain code realization principle, reviewer proposes problem and suggestion.Each code review is asked Topic is recorded in code review document.Finally, when exploitation proceeds to a certain stage, can summarize to common problem, to good Way refined and promoted.
Therefore, among the above process, code review requirements of process developer management takes time and effort very much.
The content of the invention
The embodiment of the present invention provides a kind of implementation method of code review, device, storage medium and electronic equipment, for solving The technical issues of certainly prior-art code Review Workflow needs developer to manage, takes time and effort very much.
In a first aspect, the embodiment of the present invention provides a kind of implementation method of code review, including:
Daily record is submitted according to the code of version management server, obtains code review object;
According to the code review object, the code review workflow to circulate between two roles is created;Institute Two roles are stated as code authors and code review personnel;
The code review workflow is performed, until meeting preset condition, terminates the code review workflow.
Optionally, daily record is submitted according to the code of version management server, obtains code review object, specifically include:
Daily record is submitted according to the code, parses the log information that the code submits daily record;The log information includes: Submitter, submission time and submission content;
The code review object is obtained according to the log information.
Optionally, the code review workflow is performed, is specifically included:
Evaluation notice is sent to the code review personnel;The evaluation notice is used to indicate to the code review object It is evaluated;
Obtain the problem of code review personnel submit comment information.
Optionally, after obtaining the problem of code review personnel submit comment information, further include:
It is sent to the code authors and replys notice;The notice of replying is used to indicate to the progress of described problem comment information It replys;
Obtain the return information that the code review personnel submit.
Optionally, after obtaining the return information that the code review personnel submit, further include:
Acknowledgement notification is sent to the code review personnel;The acknowledgement notification, which is used to indicate, carries out the return information Confirm;
Obtain the confirmation instruction that the code review personnel submit;It is described to confirm that instruction is used to indicate whether to terminate the generation Code evaluation flow.
Optionally, after the code review personnel send evaluation notice, further include:
If the problem of code review personnel submit comment information is not got in the first preset time, to institute Code review personnel are stated periodically to be reminded.
Optionally, send after replying notice, further include to the code authors:
If not getting the return information that the code authors submit in the second preset time, the code is made Person is periodically reminded.
Optionally, further include:
Obtain the problem of in the code review workflow comment information and corresponding with described problem comment information The submission daily record of return information;
Described problem comment information, the return information, the submission daily record and described problem comment information are corresponded to Lines of code information stored.
Optionally, by described problem comment information, the return information, the submission daily record and described problem comment letter It ceases corresponding lines of code information to be stored, specifically include:
Using the key assignments key-value storage modes of memory database redis, to described problem comment information, described time Complex information, the submission daily record and the corresponding lines of code information of described problem comment information are stored.
Optionally, further include:
According to described problem comment information, the return information, the submission daily record and described problem comment information pair The number of the problem of lines of code information answered, calculates the code review coverage rate in default time range, submission comment information The problem of measuring and being pointed out by evaluation quantity;
Daily record is submitted according to the code, calculates the size of code that the code authors submit.
Second aspect, the embodiment of the present invention provide a kind of realization device of code review, including:
Code analysis module for submitting daily record according to the code of version management server, obtains code review object;
Code review workflow module, for according to the code review object, creating and being flowed between two roles The code review workflow turned;Described two roles are code authors and code review personnel;
The code review workflow module is additionally operable to perform the code review workflow, until meeting default item Part terminates the code review workflow.
The third aspect, the embodiment of the present invention provide a kind of computer readable storage medium, are stored thereon with computer program, The method any one of first aspect is realized when the computer program is executed by processor.
Fourth aspect, the embodiment of the present invention provide a kind of electronic equipment, including:
Processor;And
Memory, for storing the executable instruction of the processor;
Wherein, the processor is configured to perform any one of first aspect via the executable instruction is performed Method.
Implementation method, device, storage medium and the electronic equipment of code review provided in an embodiment of the present invention, according to version The code of management server submits daily record, obtains code review object;According to the code review object, create in two roles Between the code review workflow that circulates;Described two roles are code authors and code review personnel;Described in execution Code review workflow until meeting preset condition, terminates the code review workflow, by the way that code review is worked It includes workflow to be implemented, two roles is introduced in code review workflow, and are carried out between two roles Flow of work realizes the unified management to code review.
Description of the drawings
It in order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing There is attached drawing needed in technology description to be briefly described, it should be apparent that, the accompanying drawings in the following description is this hair Some bright embodiments, for those of ordinary skill in the art, without having to pay creative labor, can be with Other attached drawings are obtained according to these attached drawings.
Fig. 1 is the flow diagram of one embodiment of implementation method of code review provided by the invention;
Fig. 2 a are the flow diagram of another embodiment of implementation method of code review provided by the invention;
Fig. 2 b are the flow diagram of the another embodiment of implementation method of code review provided by the invention;
Fig. 3 is the structure chart of server example provided by the invention;
Fig. 4 is the structure chart of electronic equipment embodiment provided by the invention.
Specific embodiment
To make the purpose, technical scheme and advantage of the embodiment of the present invention clearer, below in conjunction with the embodiment of the present invention In attached drawing, the technical solution in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is Part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art All other embodiments obtained without making creative work belong to the scope of protection of the invention.
First, to this application involves to noun explain:
Code review refers to by checking the accordance of source code and coding standard and the activity of code quality.
The user equipment arrived involved in the embodiment of the present invention, such as including computer, tablet computer etc..
Technical scheme is described in detail with specifically embodiment below.These specific implementations below Example can be combined with each other, and may be repeated no more for the same or similar concept or process in some embodiments.
Fig. 1 is the flow diagram of one embodiment of implementation method of code review provided by the invention.As shown in Figure 1, this The method of inventive embodiments can be applied in the code review process management system of based role, such as application on the server, The method may include:
Step 101 submits daily record according to the code of version management server, obtains code review object.
In this step, code development personnel can be by a certain section of source generation after the completion of written in code using the first user equipment Code is submitted to version management server.
The source code of specific submission several times can be chosen to create evaluation flow, acquiescence as code review object Code authors in evaluation flow are code development personnel.
Wherein, step 101 can specifically be realized in the following way:
Daily record is submitted according to the code, parses the log information that the code submits daily record;The log information includes: Submitter, submission time and submission content;
The code review object is obtained according to the log information.
Version control system svn (Subversion, abbreviation svn) or distributed version control system git can be passed through The submission daily record of version management server is obtained, parses submitter, submission time and submission content.
Step 102, according to the code review object, create the code review work to circulate between two roles Flow;Described two roles are code authors and code review personnel.
Specifically, at least one code review personnel can be selected.Can be randomly choosed in code development personnel (can be with Remove the code authors of code review object) or select successively according to certain order.
The code review workflow to circulate between two roles is created, i.e., in code authors and code review people The code review workflow to circulate between member.
The code can specifically be created and commented by workflow engine (Business Process Suite, abbreviation BPS) Examine workflow;
By the BPS, the code review workflow is performed, until meeting preset condition, terminates the code and comments Examine workflow.
Step 103 performs the code review workflow, until meeting preset condition, terminates the code review work Make flow.
In this step, by performing the code review workflow of above-mentioned foundation, workflow is included into code review work Cheng Jinhang is enforced, and realizes the unified management to code review work.
In said program, it is managed collectively consulting in code and code review working set on one system.
In method provided in an embodiment of the present invention, daily record is submitted according to the code of version management server, code is obtained and comments Examine object;According to the code review object, the code review workflow to circulate between two roles is created;It is described Two roles are code authors and code review personnel;The code review workflow is performed, until meeting preset condition, is tied Shu Suoshu code review workflows are implemented by the way that code review work is included workflow, worked in code review Two roles are introduced in flow, and flow of work is carried out between two roles, realize the unified management to code review.
Fig. 2 a are the flow diagram of another embodiment of implementation method of code review provided by the invention.Above-described embodiment On the basis of, as shown in Figure 2 a, the execution code review workflow in step 103 specifically includes:
Step 1031 sends evaluation notice to the code review personnel;The evaluation notice was used to indicate to the generation Code evaluation object is evaluated;
Obtain the problem of code review personnel submit comment information.
Step 1032 sends to the code authors and replys notice;Described reply notifies to be used to indicate to comment described problem It is replied by information;
Obtain the return information that the code review personnel submit.
Step 1033 sends acknowledgement notification to the code review personnel;The acknowledgement notification is used to indicate to described time Complex information is confirmed;
Obtain the confirmation instruction that the code review personnel submit;It is described to confirm that instruction is used to indicate whether to terminate the generation Code evaluation flow.
Specifically, the server of code review process management system can (code review personnel can be with to code review personnel A corresponding second user equipment) it sends the evaluation of code review is needed notify, code review personnel are received after the evaluation notifies, Code review object is evaluated.
Optionally, sending evaluation notice specifically can be by mail notification mode or by sending backlog message side Formula.
When code review personnel carry out code review, to thinking problematic source code directly in code review workflow management Review comment is provided in system.
Server, can be to code review object after the problem of code review personnel submit comment information is got Corresponding review comment, is stored, in order to be managed collectively to source code and review comment.
Review Workflow circulates to code authors afterwards.
Server sends to code authors and replys notice, so that code authors reply review comment.Code authors Reply can be directly provided in code review process management system.
Server can be with the reply content of store code author.
Optionally, sending reply notice specifically can be by mail notification mode or by sending backlog message side Formula.
After server gets reply content, Review Workflow circulation to code review personnel.
Server sends acknowledgement notification to code review personnel, so that code review personnel confirm reply content.
Code review personnel submit to server confirms instruction, if confirming, instruction closes Review Workflow comprising instruction, ties Beam Review Workflow.Server can record review comment during the corresponding Review Workflow of code review object, reply in Hold, the corresponding code development personnel of object, submission time, source code information etc. can be evaluated with record code.
If confirming, instruction includes review comment to be confirmed, repeats step 1031-1033, until confirming instruction bag Review Workflow is closed containing instruction, then terminates Review Workflow.
In the embodiment of the present invention, notified by sending evaluation notice between code authors and code review personnel, replying And acknowledgement notification, workflow is included into code review work and is implemented so that code review is operated in code review work Make to carry out flow of work between two roles of flow, realize the unified management to Review Workflow.
On the basis of above-described embodiment, after step 1031, the method for the embodiment of the present invention can also be grasped as follows Make:
If the problem of code review personnel submit comment information is not got in the first preset time, to institute Code review personnel are stated periodically to be reminded.
Specifically it can periodically send the first reminder message to the code review personnel;First reminder message is used The code review object is evaluated in reminding the code review personnel.
Specifically, get the problem of code review personnel submit comment information in time for the ease of server, if therefore The problem of code review personnel submit comment information is not got in the first preset time, then to the code review Personnel are periodically reminded, for code review personnel to be reminded to evaluate code review object.
Optionally, after step 1032, the method for the embodiment of the present invention can also proceed as follows:
If not getting the return information that the code authors submit in the second preset time, the code is made Person is periodically reminded.
The second reminder message specifically can be periodically sent to code authors;Second reminder message is used to remind institute Code authors are stated to reply the i.e. problem comment information of review comment.
Specifically, the reply content of code authors' submission is got in time for the ease of server, if therefore pre- second If not getting the reply content of code authors' submission in the time, then the second prompting is periodically sent to code authors and disappeared Breath, for code authors to be reminded to reply review comment.
Optionally, after step 101, the method for the embodiment of the present invention can also proceed as follows:
Obtain the problem of in the code review workflow comment information and corresponding with described problem comment information The submission daily record of return information;
Described problem comment information, the return information, the submission daily record and described problem comment information are corresponded to Lines of code information stored.
Optionally, following manner storage specifically may be employed:
It is stored using the key assignments key-value of memory database (Remote Dictionary Server, abbreviation redis) Mode, to described problem comment information, the return information, the submission daily record and described problem comment information corresponding generation Code line number information is stored.
Optionally, further include:
According to described problem comment information, the return information, the submission daily record and described problem comment information pair The number of the problem of lines of code information answered, calculates the code review coverage rate in default time range, submission comment information The problem of measuring and being pointed out by evaluation quantity;
Daily record is submitted according to the code, calculates the size of code that the code authors submit.
Specifically, the comment of can be by Review Workflow the problem of and the information such as replying and storing, when storage, which adds, to be carried The information such as daily record and the corresponding lines of code of problem are handed over, the key-value storages of memory database redis specifically may be employed Mode is stored, and access efficiency is high to be also allowed for inquiring about simultaneously.
Further, it can carry out query statistic by the details of above-mentioned record and calculate default time range Interior code review ratio, that is, coverage rate.Meanwhile the size of code of code development personnel submission can be also counted, submission Review comment, the problem of being pointed out by evaluation quantity etc..
Coverage rate, that is, code review object accounts for the ratio of the source code of code authors' submission, so as to be convenient for checking Whether the source code that code authors submit is by evaluation.
In above-mentioned specific embodiment, by the prompting to code authors and code review personnel, guarantee timely Source code is evaluated and review comment is replied, avoids omitting.
As shown in Figure 2 b, entire code review workflow is as follows:
1st, developer submits code to version management server;
2nd, code review system analysis submits daily record and submitter, submission time, submission content is presented on picture;
3rd, specific submission several times is chosen to create Review Workflow, acquiescence evaluates the code authors in stream as evaluation object Personnel are submitted for code;
4th, appointment codes reviewer, can be one or more, while open the code review circulation of based role;
5th, code review personnel can receive the notice for needing code review, be presented including mail and among review system Pending two ways.
6th, code review personnel carry out code review, while to problematic code directly in code review workflow management system Comment is provided on system;
7th, code review personnel evaluation finishes, and terminates evaluation.Review Workflow circulates to code authors;
8th, code authors receive the mail notification that code has been finished by evaluation, while also receive and treat in review system It does;
9th, code authors confirm the comment that provides of reviewer, and make corresponding reply, and code review is circulated again to commenting The personnel of examining;
10th, code review person is notified, watches the reply of author, and confirmation, which is had no objection, closes Review Workflow.
Fig. 3 is the realization device structure chart of code review provided by the invention, as shown in figure 3, the generation of the embodiment of the present invention The realization device of code evaluation can include:
Code analysis module for submitting daily record according to the code of version management server, obtains code review object;
Code review workflow module, for according to the code review object, creating and being flowed between two roles The code review workflow turned;Described two roles are code authors and code review personnel;
The code review workflow module is additionally operable to perform the code review workflow, until meeting default item Part terminates the code review workflow.
Optionally, code analysis module is specifically used for:
Daily record is submitted according to the code, parses the log information that the code submits daily record;The log information includes: Submitter, submission time and submission content;
The code review object is obtained according to the log information.
Optionally, the code review workflow module, is specifically used for:
Evaluation notice is sent to the code review personnel;The evaluation notice is used to indicate to the code review object It is evaluated;
Obtain the problem of code review personnel submit comment information.
Optionally, the code review workflow module, is specifically used for:
It is sent to the code authors and replys notice;The notice of replying is used to indicate to the progress of described problem comment information It replys;
Obtain the return information that the code review personnel submit.
Optionally, the code review workflow module, is specifically used for:
Acknowledgement notification is sent to the code review personnel;The acknowledgement notification, which is used to indicate, carries out the return information Confirm;
Obtain the confirmation instruction that the code review personnel submit;It is described to confirm that instruction is used to indicate whether to terminate the generation Code evaluation flow.
Optionally, the code review workflow module, is specifically used for:
If the problem of code review personnel submit comment information is not got in the first preset time, to institute Code review personnel are stated periodically to be reminded.
Optionally, the code review workflow module, is specifically used for:
If not getting the return information that the code authors submit in the second preset time, the code is made Person is periodically reminded.
Optionally, further include:
Code issue management module, is used for:
Obtain the problem of in the code review workflow comment information and corresponding with described problem comment information The submission daily record of return information;
Described problem comment information, the return information, the submission daily record and described problem comment information are corresponded to Lines of code information stored.
Optionally, code issue management module is specifically used for:
Using the key assignments key-value storage modes of memory database redis, to described problem comment information, described time Complex information, the submission daily record and the corresponding lines of code information of described problem comment information are stored.
Optionally, further include:
Code review statistical module, for according to described problem comment information, the return information, it is described submission daily record with And the corresponding lines of code information of described problem comment information, the code review coverage rate in default time range is calculated, is carried The problem of friendship comment information quantity and quantity the problem of pointed out by evaluation;
Daily record is submitted according to the code, calculates the size of code that the code authors submit.
The realization device of the code review of the embodiment of the present invention can be used for the technical side for performing above method embodiment Case, implementing principle and technical effect are similar, and details are not described herein again.
A kind of computer readable storage medium in the embodiment of the present invention is also provided, is stored thereon with computer program, it is described Corresponding method in preceding method embodiment is realized when computer program is executed by processor, specific implementation process may refer to Preceding method embodiment, implementing principle and technical effect are similar, and details are not described herein again.
Fig. 4 is the structure chart of electronic equipment embodiment provided by the invention, as shown in figure 4, the electronic equipment includes:
Processor 401 and, for storing the memory 402 of executable instruction.
Wherein, the processor is configured to perform via the executable instruction is performed corresponding in preceding method embodiment Method, specific implementation process may refer to preceding method embodiment, and implementing principle and technical effect are similar, herein no longer It repeats.
In several embodiments provided herein, it should be understood that disclosed device and method can pass through it Its mode is realized.For example, apparatus embodiments described above are only schematical, for example, the unit or module Division is only a kind of division of logic function, can there is other dividing mode, such as multiple units or module in actual implementation It may be combined or can be integrated into another system or some features can be ignored or does not perform.It is another, it is shown or The mutual coupling, direct-coupling or communication connection discussed can be the indirect coupling by some interfaces, equipment or module It closes or communicates to connect, can be electrical, machinery or other forms.
The module illustrated as separating component may or may not be physically separate, be shown as module The component shown may or may not be physical module, you can be located at a place or can also be distributed to multiple In network element.Some or all of module therein can be selected to realize the embodiment of the present invention according to the actual needs Purpose.
One of ordinary skill in the art will appreciate that:Realizing all or part of step of above-mentioned each method embodiment can lead to The relevant hardware of program instruction is crossed to complete.Foregoing program can be stored in a computer read/write memory medium.The journey Sequence upon execution, execution the step of including above-mentioned each method embodiment;And foregoing storage medium includes:ROM, RAM, magnetic disc or The various media that can store program code such as person's CD.
Finally it should be noted that:The above embodiments are only used to illustrate the technical solution of the present invention., rather than its limitations;To the greatest extent Pipe is described in detail the present invention with reference to foregoing embodiments, it will be understood by those of ordinary skill in the art that:Its according to Can so modify to the technical solution recorded in foregoing embodiments either to which part or all technical characteristic into Row equivalent substitution;And these modifications or replacement, the essence of appropriate technical solution is not made to depart from various embodiments of the present invention technology The scope of scheme.

Claims (13)

1. a kind of implementation method of code review, which is characterized in that including:
Daily record is submitted according to the code of version management server, obtains code review object;
According to the code review object, the code review workflow to circulate between two roles is created;Described two A role is code authors and code review personnel;
The code review workflow is performed, until meeting preset condition, terminates the code review workflow.
2. according to the method described in claim 1, it is characterized in that, according to the submission daily record of the code of version management server, obtain Code review object is taken, is specifically included:
Daily record is submitted according to the code, parses the log information that the code submits daily record;The log information includes:It submits People, submission time and submission content;
The code review object is obtained according to the log information.
3. method according to claim 1 or 2, which is characterized in that the code review workflow is performed, it is specific to wrap It includes:
Evaluation notice is sent to the code review personnel;The evaluation notice, which is used to indicate, carries out the code review object Evaluation;
Obtain the problem of code review personnel submit comment information.
4. according to the method described in claim 3, it is characterized in that, obtain the problem of code review personnel submit comment letter After breath, further include:
It is sent to the code authors and replys notice;Described reply notifies to be used to indicate to return described problem comment information It is multiple;
Obtain the return information that the code review personnel submit.
5. according to the method described in claim 4, it is characterized in that, obtain return information that the code review personnel submit it Afterwards, further include:
Acknowledgement notification is sent to the code review personnel;The acknowledgement notification, which is used to indicate, carries out really the return information Recognize;
Obtain the confirmation instruction that the code review personnel submit;It is described to confirm that instruction is used to indicate whether that terminating the code comments Examine workflow.
6. according to the method described in claim 3, it is characterized in that, to the code review personnel send evaluation notice after, It further includes:
If the problem of code review personnel submit comment information is not got in the first preset time, to the generation Code reviewer is periodically reminded.
7. according to the method described in claim 4, it is characterized in that, after the code authors send reply notice, also wrap It includes:
If not getting the return information that the code authors submit in the second preset time, to the code authors into Row is periodically reminded.
8. method according to claim 4 or 5, which is characterized in that further include:
Obtain comment information and reply corresponding with described problem comment information the problem of in the code review workflow The submission daily record of information;
By described problem comment information, the return information, the submission daily record and described problem comment information corresponding generation Code line number information is stored.
9. according to the method described in claim 8, it is characterized in that, by the described problem comment information, return information, described Daily record and the corresponding lines of code information of described problem comment information is submitted to be stored, is specifically included:
Using the key assignments key-value storage modes of memory database redis, described problem comment information, described reply are believed Breath, the submission daily record and the corresponding lines of code information of described problem comment information are stored.
10. it according to the method described in claim 8, it is characterized in that, further includes:
It is corresponding according to described problem comment information, the return information, the submission daily record and described problem comment information The quantity of the problem of lines of code information, calculates the code review coverage rate in default time range, submission comment information, with And the problem of being pointed out by evaluation quantity;
Daily record is submitted according to the code, calculates the size of code that the code authors submit.
11. a kind of realization device of code review, which is characterized in that including:
Code analysis module for submitting daily record according to the code of version management server, obtains code review object;
Code review workflow module, for according to the code review object, creating what is circulated between two roles Code review workflow;Described two roles are code authors and code review personnel;
The code review workflow module is additionally operable to perform the code review workflow, until meeting preset condition, ties Shu Suoshu code review workflows.
12. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program Claim 1-10 any one of them methods are realized when being executed by processor.
13. a kind of electronic equipment, which is characterized in that including:
Processor;And
Memory, for storing the executable instruction of the processor;
Wherein, the processor is configured to carry out perform claim requirement 1-10 any one of them via the execution executable instruction Method.
CN201711342788.4A 2017-12-14 2017-12-14 Implementation method, device, storage medium and the electronic equipment of code review Pending CN108089984A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711342788.4A CN108089984A (en) 2017-12-14 2017-12-14 Implementation method, device, storage medium and the electronic equipment of code review

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711342788.4A CN108089984A (en) 2017-12-14 2017-12-14 Implementation method, device, storage medium and the electronic equipment of code review

Publications (1)

Publication Number Publication Date
CN108089984A true CN108089984A (en) 2018-05-29

Family

ID=62176419

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711342788.4A Pending CN108089984A (en) 2017-12-14 2017-12-14 Implementation method, device, storage medium and the electronic equipment of code review

Country Status (1)

Country Link
CN (1) CN108089984A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109032629A (en) * 2018-06-28 2018-12-18 北京达佳互联信息技术有限公司 A kind of code update method and device
CN109359028A (en) * 2018-08-22 2019-02-19 平安科技(深圳)有限公司 Code quality monitoring method, device, computer equipment and storage medium
CN109800019A (en) * 2018-12-17 2019-05-24 北京达佳互联信息技术有限公司 Code administration method, system, electronic equipment and computer readable storage medium
WO2019242167A1 (en) * 2018-06-22 2019-12-26 平安科技(深圳)有限公司 Method for managing requirements and computer device
CN112748950A (en) * 2021-01-15 2021-05-04 国能日新科技股份有限公司 Software code examination method and device
CN112860565A (en) * 2021-02-24 2021-05-28 北京皮尔布莱尼软件有限公司 Code evaluation method, system, computing device and storage medium
CN112905224A (en) * 2019-12-04 2021-06-04 阿里巴巴集团控股有限公司 Time-consuming determination method, device and equipment for code review
CN113553262A (en) * 2021-07-22 2021-10-26 网易(杭州)网络有限公司 Code auditing method and device, electronic equipment and storage medium
CN113656296A (en) * 2021-08-10 2021-11-16 挂号网(杭州)科技有限公司 Code testing method and device, electronic equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103677831A (en) * 2013-12-12 2014-03-26 迈普通信技术股份有限公司 On-line code inspection system and method
CN105512034A (en) * 2015-12-04 2016-04-20 北京京东尚科信息技术有限公司 Evaluation method and evaluation system
CN106484606A (en) * 2015-09-01 2017-03-08 阿里巴巴集团控股有限公司 Method and apparatus submitted to by a kind of code
CN106844730A (en) * 2017-02-10 2017-06-13 网易(杭州)网络有限公司 The display methods and device of file content
US9747302B2 (en) * 2014-05-14 2017-08-29 International Business Machines Corporation Method and apparatus for associating information

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103677831A (en) * 2013-12-12 2014-03-26 迈普通信技术股份有限公司 On-line code inspection system and method
US9747302B2 (en) * 2014-05-14 2017-08-29 International Business Machines Corporation Method and apparatus for associating information
CN106484606A (en) * 2015-09-01 2017-03-08 阿里巴巴集团控股有限公司 Method and apparatus submitted to by a kind of code
CN105512034A (en) * 2015-12-04 2016-04-20 北京京东尚科信息技术有限公司 Evaluation method and evaluation system
CN106844730A (en) * 2017-02-10 2017-06-13 网易(杭州)网络有限公司 The display methods and device of file content

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
WEIXIN_34168700: "Upsource 一个新的代码审查工具-安装使用指南", 《HTTPS://BLOG.CSDN.NET/WEIXIN_34168700/ARTICLE/DETAILS/91772740》 *

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019242167A1 (en) * 2018-06-22 2019-12-26 平安科技(深圳)有限公司 Method for managing requirements and computer device
CN109032629A (en) * 2018-06-28 2018-12-18 北京达佳互联信息技术有限公司 A kind of code update method and device
CN109359028A (en) * 2018-08-22 2019-02-19 平安科技(深圳)有限公司 Code quality monitoring method, device, computer equipment and storage medium
CN109359028B (en) * 2018-08-22 2024-05-03 平安科技(深圳)有限公司 Code quality monitoring method, device, computer equipment and storage medium
CN109800019A (en) * 2018-12-17 2019-05-24 北京达佳互联信息技术有限公司 Code administration method, system, electronic equipment and computer readable storage medium
CN112905224A (en) * 2019-12-04 2021-06-04 阿里巴巴集团控股有限公司 Time-consuming determination method, device and equipment for code review
CN112905224B (en) * 2019-12-04 2024-04-30 阿里巴巴集团控股有限公司 Time-consuming determination method, device and equipment for code review
CN112748950A (en) * 2021-01-15 2021-05-04 国能日新科技股份有限公司 Software code examination method and device
CN112860565A (en) * 2021-02-24 2021-05-28 北京皮尔布莱尼软件有限公司 Code evaluation method, system, computing device and storage medium
CN113553262A (en) * 2021-07-22 2021-10-26 网易(杭州)网络有限公司 Code auditing method and device, electronic equipment and storage medium
CN113553262B (en) * 2021-07-22 2023-08-11 网易(杭州)网络有限公司 Code auditing method and device, electronic equipment and storage medium
CN113656296A (en) * 2021-08-10 2021-11-16 挂号网(杭州)科技有限公司 Code testing method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN108089984A (en) Implementation method, device, storage medium and the electronic equipment of code review
US11341439B2 (en) Artificial intelligence and machine learning based product development
US20190066013A1 (en) Robotic operations control system for a blended workforce
Breitman et al. The world’sa stage: a survey on requirements engineering using a real-life case study
US20160335572A1 (en) Management of commitments and requests extracted from communications and content
US20130007121A1 (en) Predictive collaboration management
US20120210248A1 (en) Information management problem initiative system
WO2012012580A2 (en) Decision bubbles
US20160149973A1 (en) Information management detailed task scheduler system
US20100299276A1 (en) Invitations with pre-populated profile information
US10075486B2 (en) Information management change deployment system
Lock et al. Modelling and analysis of socio-technical system of systems
US20180158159A1 (en) Systems and methods for improved innovation insights and capture
US10380234B2 (en) Launching workflow processes based on annotations in a document
US20130290053A1 (en) Project management task updater
CN109447472A (en) Performance task data processing method, device, computer equipment and storage medium
CN109660536A (en) Conference control method and device
Hale et al. Uniform styles? Aspects of police centralization in England and Wales
Gran et al. An approach for model-based risk assessment
CN109544107A (en) A kind of crewman's delivery system and its method
CN109118151B (en) Work order transaction processing method and work order transaction processing system
CA2865890A1 (en) Systems and methods for analyzing recognition data for talent and culture discovery
CN109491748A (en) A kind of wearable device management-control method and control terminal based on small routine
Gamage The risk factors affecting to the software quality failures in Sri Lankan Software industry
CN109376018A (en) The operation method and program instruction of message threads

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20180529

RJ01 Rejection of invention patent application after publication