Skip to content
Related Articles
Get the best out of our app
GeeksforGeeks App
Open App

Related Articles

Project Idea | (Static Code Checker for C++)

Improve Article
Save Article
Like Article
Improve Article
Save Article
Like Article

The biggest problem that students face when they join big corporates is difficulty in writing high quality code that these corporates demand. The prime reason for this difficulty is because their minds have been trained in college to just make things work somehow, even if it means using dirty hacks. To help coders in general and fellow college students in particular, building a tool which can run static code checks on a given code can help improve the quality of code to a great extend.

Static code checker can check and warn the programmer about best practices, possible mistakes, loopholes without even executing the code. For example.

  • Memory leaks
  • Unused variables
  • Undeclared variables
  • Array’s bound checks
  • Dead code

There are lots of best practices which should be followed in language like C++ to ensure that written code is of high quality. More research can be done about what are the various best practices, loopholes, obvious errors which the project can take into consideration.

Static code checker could be written as a plugin to any existing IDE like Eclipse/Codeblocks (recommended) or it can be in the form of any website where you paste your code and run static code checks.

There are a lot of existing static code checkers available. For example the best static code checkers available for Javascript are JsLint and JsHint.

About the author:

“Harshit is a technology enthusiast and has keen interest in programming. He holds a  B.Tech. degree in Computer Science from JIIT, Noida and currently works as Front-end Developer at SAP. He is also a state level table tennis player. Apart from this he likes to unwind by watching movies and English sitcoms. He is based out of Delhi and you can reach out to him at

My Personal Notes arrow_drop_up
Last Updated : 08 Aug, 2021
Like Article
Save Article
Similar Reads