• Documenting Bugs in Doxygen

    In this article, we will speak about the static analysis of the doxygen documentation generator tool. This popular and widely used project, which, as its authors claim, not without reason, has become "the de facto standard tool for generating documentation from annotated C++ sources", has never been scanned by PVS-Studio before. Doxygen scans the program source code and generates the documentation relying on it. Now it's time for us to peep into its source files and see if PVS-Studio can find any interesting bugs there. Read more
  • 80% of PVS-Studio Downloads Done by Aliens or Is the Problem on Our Side?

    In our PVS-Studio team, we are very fond of measuring things. Besides money we earn and salaries and taxes we pay, we also like to measure the number of PVS-Studio downloads, installations, percent distribution across IDEs, and so on. Sometimes these measurements suggest very important conclusions. But at other times they just embarrass us. In this article, I'd like to tell you about one case of this kind and ask for help. Read more
  • PVS-Studio Meets Octave

    In this article, I'm going to tell you about my experience of analyzing the Octave project. It is quite a popular one, especially among students who need to scan their math task solutions yet don't feel like buying a Matlab license. Read more
  • How to Port a 9 Million Code Line Project to 64 bits?

    Our team has recently finished porting one pretty large project (9 million code lines, 300 Mbytes of source files) to the 64-bit platform. It took us one year and a half. Although we are not permitted by the NDA to disclose the project name, we still hope that our experience will help other developers in their work. Read more
  • Viewing Bug Statistics, or "Look, They've Got Charts in PVS-Studio!"

    This post will be first of all of utmost interest to project and technical managers whose teams use the PVS-Studio code analyzer in their projects. We have recently implemented a new feature to let you monitor the efficiency of the team tool use. You can finally have the necessary figures to prove to your boss that the analyzer which cost your team or company a few thousands of dollars is bringing a real, tangible profit. But don't worry – this article is not about ROI at all. Read more
  • An Ideal Way to Integrate a Static Code Analyzer into a Project

    One of the most difficult things about using static analysis tools is managing false positives. There are a number of ways to eliminate them using the analyzer's settings or changing the code itself. I took a small project Apple II emulator for Windows as an example to show you how you can handle PVS-Studio's analysis report, and demonstrate by a number of examples how to fix errors and suppress false positives. Read more
  • Using IncrediBuild to Assist Analysis of a Large Project by PVS-Studio

    PVS-Studio is a static analyzer that detects errors in source code of C/C++ applications. Like a compiler, the analyzer parses the project source files one by one. However, without the help of auxiliary tools, some projects may take several hours to build and even longer to analyze. When building large projects, some developers use the distributed build technology implemented in the IncrediBuild tool. We will not discuss the details of integrating PVS-Studio into IncrediBuild in this article; instead, I will tell you about the specifics of analyzing a large project, time measurements, and other interesting things. Read more
  • Integrating PVS-Studio with the IncrediBuild Distributed Build System

    PVS-Studio performs analysis of C/C++ code and highlights for the programmer various hidden errors and code fragments that may cause troubles in future. If your project is a large-scale one, its analysis may take quite a while. To speed it up, you can use the IncrediBuild tool. If you already have the PVS-Studio analyzer and the IncrediBuild tool installed on your computer, you will learn from this article how to make them friends and achieve analysis acceleration. In time, we are going to provide an even tighter integration of PVS-Studio with IncrediBuild. But let me point this out once again that it is already possible to parallelize a PVS-Studio launch to a number of machines. It's simple. In this article, we will tell you how to do this. Read more
  • HPX and PVS-Studio

    This article was originally published at STE||AR Group Blog. Republished by the editors' permission.. Read more
  • How Do Programs Run with All Those Bugs At All?

    Our team analyzes lots of open-source projects to demonstrate the diagnostic capabilities of the PVS-Studio analyzer. After reading our articles, people will often ask: "How does the program run with all those bugs at all?" In this article, I will try to answer this question. Read more