Static analyzers are tools that look at your C++ source code and provide recommendations and warnings. Top C++ programmers use analyzers to improve their code quality and reliability. In this video, Troy gives an overview of some available static analyzers.
- [Instructor] Static analyzers are tools…that automatically examine C++ source code for issues.…They are somewhat like compiler warnings,…but they search the code at a much deeper level.…Because of the deep search,…analysis is much slower than compilation.…There are dozens of static analyzers available,…both open source and commercial.…Analyzers are not perfect.…There are occasional false positives.…They are generally meant to be incorporated…into a program's build chain, but can also run…from the command line, some even have GUIs,…and others are plugins for IDEs.…
Here are just a few analyzers.…The Eclipse and Visual Studio IDEs…have analysis tools built in.…And more available as plugins.…Cppcheck is a very popular open source tool.…The Clang compiler has a built in static analyzer.…Coverity is a popular commercial option,…and finally, there is IKOS,…which is an open source tool from NASA.…Keep in mind that there are dozens more available.…
- Major new C++ features
- Turning on modern C++
- Letting the compiler help
- Using the new features correctly
- Using auto type deduction
- Using lambdas
- Range-based for loops
- How C++ and the Standard Template Library name things
- Making the best of the filesystem library
- Managing objects
Skill Level Beginner
1. What Is Modern C++?
2. Tools That Improve Your Code
3. Using the New Features Correctly
4. Don't Reinvent the Wheel
5. Managing Objects
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.