Our website uses cookies to enhance your browsing experience.
Accept
to the top
>
>
>
>
Static Analysis in C++

Static Analysis in C++

May 08 2020

Author: The Cherno

In this video, you'll find out more about one of the ways how to improve your C++ code which by applying static analysis tools. Despite the fact that every programmer strives to write flawless code and compute everything on the fly, it's hard even for an experienced professional. Here's where a static analyzer comes in handy.

Not only does it complement compiler's work, it also gives reasons for the occurrence of some errors in code.

It is recommended checking out various tools, PVS-Studio is one of the finest examples. In this case, PVS-Studio is used as a Visual Studio extension. The author writes a code fragment with an unobvious flaw in the nested for statement, which triggers warnings. This case is followed by other examples of errors detection. We can safely say that the benefit from using static analysis can be seen immediately.

Comments (0)

Next comments next comments
close comment form
close form

Fill out the form in 2 simple steps below:

Your contact information:

Step 1
Congratulations! This is your promo code!

Desired license type:

Step 2
Team license
Enterprise license
** By clicking this button you agree to our Privacy Policy statement
close form
Request our prices
New License
License Renewal
--Select currency--
USD
EUR
* By clicking this button you agree to our Privacy Policy statement

close form
Free PVS‑Studio license for Microsoft MVP specialists
* By clicking this button you agree to our Privacy Policy statement

close form
To get the licence for your open-source project, please fill out this form
* By clicking this button you agree to our Privacy Policy statement

close form
I am interested to try it on the platforms:
* By clicking this button you agree to our Privacy Policy statement

close form
check circle
Message submitted.

Your message has been sent. We will email you at


If you do not see the email in your inbox, please check if it is filtered to one of the following folders:

  • Promotion
  • Updates
  • Spam