Font Size: a A A

The Study Of Programming Rules And Automatical Testing

Posted on:2014-01-12Degree:MasterType:Thesis
Country:ChinaCandidate:J Y MaoFull Text:PDF
GTID:2248330398472329Subject:Computer technology
Abstract/Summary:PDF Full Text Request
Complying with programming rules in the software development process, not only can make the code simple and consistent, but also can improve the readability of the code. It can reduce code defects, and facilitate the cooperative development and maintenance. This article summarizes the programming rules which should be followed by programmers during the software development process, and proposes the corresponding automation checking method to test whether the codes follow the programming rules. With this method, the violated codes can be detected. And it will help programmers and testers find the potential faults. So it will improve correctness of the codes and guarantee the quality of codes.This article analyses the importance of programming rules firstly, and introduces the generic programming rules and the specific programming rules of different programming languages. Secondly, this article compares checking result of5static analysis tools. Finally, designs and implements the automation checking method for generic programming rules, and analyses the correctness of this method.With the implementation of generic programming rules checking method, the feasibility of automation checking programming rules is proved. The automation checking programming rules method can increase the efficiency of checking codes, and improve the quality of codes.
Keywords/Search Tags:programming rule, static analysis tool, automaticallytesting tool, defect pattern
PDF Full Text Request
Related items