Cpplint: Difference between revisions
No edit summary |
No edit summary |
||
Line 6: | Line 6: | ||
cpplint is implemented as [[Python (programming language)|Python]] script. |
cpplint is implemented as [[Python (programming language)|Python]] script. |
||
cpplint implements what Google considers to be "best practices" in C+ |
cpplint implements what Google considers to be "best practices" in C++ coding. It also identifies [[syntax errors]]. It is rules based, and uses a number of heuristics to identify bad code. <ref>{{cite web|url=http://etd.ohiolink.edu/send-pdf.cgi/Dutko%20Adam%20M.pdf?csu1313678735|last=Dutko|first=Adam|title=THE RELATIONAL DATABASE: A NEW STATIC ANALYSIS TOOL?}]</ref> |
||
==References== |
==References== |
Revision as of 18:46, 9 February 2012
It is proposed that this article be deleted because of the following concern:
If you can address this concern by improving, copyediting, sourcing, renaming, or merging the page, please edit this page and do so. You may remove this message if you improve the article or otherwise object to deletion for any reason. Although not required, you are encouraged to explain why you object to the deletion, either in your edit summary or on the talk page. If this template is removed, do not replace it. This message has remained in place for seven days, so the article may be deleted without further notice. Find sources: "Cpplint" – news · newspapers · books · scholar · JSTOR Nominator: Please consider notifying the author/project: {{subst:proposed deletion notify|Cpplint|concern=Does not meet notability criteria. Fails [[WP:GNG]] due to lack of [[WP:RS|reliable sources]].}} ~~~~ Timestamp: 20120209035847 03:58, 9 February 2012 (UTC) Administrators: delete |
cpplint is an open source lint-like tool developed by Google, designed to ensure that C++ code conforms to Google's coding style guides. It reads source code files and flags deviations from the style guide. It suffers from both false positives and false negatives. False positives can be eliminated by tagging lines with //NOLINT. [1] cpplint is implemented as Python script.
cpplint implements what Google considers to be "best practices" in C++ coding. It also identifies syntax errors. It is rules based, and uses a number of heuristics to identify bad code. [2]
References
- ^ Weinberger, Benjy. "Google C++ Style Guide" (PDF).
- ^ {{cite web|url=http://etd.ohiolink.edu/send-pdf.cgi/Dutko%20Adam%20M.pdf?csu1313678735%7Clast=Dutko%7Cfirst=Adam%7Ctitle=THE RELATIONAL DATABASE: A NEW STATIC ANALYSIS TOOL?}]