Thanks, Mario, but the code needs fixing — checking TheXTech https://pvs-studio.com/en/blog/posts/cpp/0889/
Pvs-Studio
Thanks, Mario, but the code needs fixing — checking TheXTech
It's cool when enthusiastic developers create a working clone of a famous game. It's even cooler when people are ready to continue the development of such projects! In this article, we chec…
A variety of errors in C# code by the example of CMS DotNetNuke: 40 questions about the quality https://pvs-studio.com/en/blog/posts/csharp/0890/
Pvs-Studio
A variety of errors in C# code by the example of CMS DotNetNuke:…
Today, we discuss C# code quality and a variety of errors by the example of CMS DotNetNuke. We're going to dig into its source code. You're going to need a cup of coffee... DotNetNuke is an…
Virtual function calls in constructors and destructors (C++) https://pvs-studio.com/en/blog/posts/cpp/0891/
PVS-Studio
Virtual function calls in constructors and destructors (C++)
In different programming languages, the behavior of virtual functions differs when it comes to constructors and destructors. Incorrect use of virtual functions is a classic mistake. Developers often...
An article for those who, like me, do not understand the purpose of std::common_type https://pvs-studio.com/en/blog/posts/cpp/0892/
PVS-Studio
An article for those who, like me, do not understand the purpose of std::common_type
This article investigates why the standard library needs a way to deduce a common type, how it is implemented and how it works.
Checking Chromium after three years. How's it going? https://pvs-studio.com/en/blog/posts/cpp/0893/
PVS-Studio
Checking Chromium after three years. How′s it going?
We dust off the irregular series of articles about the Chromium project check. Let′s look at the code quality in the latest Chromium release and check the new features of the PVS-Studio ana…
Even small projects have bugs, or how PVS-Studio checked Blend2D https://pvs-studio.com/en/blog/posts/cpp/0894/
PVS-Studio
Even small projects have bugs, or how PVS-Studio checked Blend2D
We often check large projects because it's easier to find bugs there. What if we try PVS-Studio on a small project? In this article we analyze Blend2D — a library for vector 2D graphics. Le…
C++20 Ranges — Complete Guide https://pvs-studio.com/en/blog/posts/cpp/0895/
Pvs-Studio
C++20 Ranges — Complete Guide
C++20 Ranges, also known as STL v2, effectively replaces existing STL algorithms and facilities. In this article, I will guide you through the changes that Ranges introduce, talk about View…
The first static analysis report: the key problems and how to address them https://pvs-studio.com/en/blog/posts/0896/
Pvs-Studio
The first static analysis report: the key problems and how to ad…
The main purpose of the static analyzer is to detect and report errors in code - so that you can fix them afterwards. However, reporting errors is not as simple as it may seem. Those just s…
PVS-Studio 7.16, expanding the horizons: MISRA C, Visual Studio 2022, .NET 6 https://pvs-studio.com/en/blog/posts/0897/
Pvs-Studio
PVS-Studio 7.16, expanding the horizons: MISRA C, Visual Studio …
This is the latest release of PVS-Studio in 2021. With it, the PVS-Studio team accomplishes several important goals. Now, PVS-Studio supports Visual Studio 2022, the .NET 6 platform and C# …
PVS-Studio checks Umbraco code for the third time https://pvs-studio.com/en/blog/posts/csharp/0898/
Pvs-Studio
PVS-Studio checks Umbraco code for the third time
Six years ago, we first checked Umbraco with the PVS-Studio static analyzer for C#. Today, we decided to go where it all started and analyze the Umbraco CMS source code.
C++20: linker surprised by four lines of code https://pvs-studio.com/en/blog/posts/cpp/0899/
Pvs-Studio
C++20: linker surprised by four lines of code
Imagine that you are a student learning modern C++ features. And you have to complete a task concerning concepts/constraints. The teacher, of course, knows the proper way to do it – but you…
1000 eyes that don't want to check open-source code https://pvs-studio.com/en/blog/posts/cpp/0900/
Pvs-Studio
1000 eyes that don't want to check open-source code
There's a myth that open-source software is better and safer that the closed one. This was reasonably questioned many times. People regularly find epic vulnerabilities in the open source co…
Top 10 bugs found in C++ projects in 2021 https://pvs-studio.com/en/blog/posts/cpp/0901/
PVS-Studio
Top 10 bugs found in C++ projects in 2021
It′s freezing outside, everyone has already decorated the Christmas tree and bought tangerines. New Year is coming! So, it′s time to meet the Top 10 interesting bugs found by the PVS-Studio C...
PVS-Studio checks the code of Flipper Zero dolphin https://pvs-studio.com/en/blog/posts/cpp/0902/
PVS-Studio
PVS-Studio checks the code of Flipper Zero dolphin
Flipper Zero is an open-source multi-tool for geeks and penetration testers. It so happened that the Flipper Zero project and the PVS-Studio analyzer crossed paths. A philosophical question: should...
Errors and suspicious code fragments in .NET 6 sources https://pvs-studio.com/en/blog/posts/csharp/0903/
Pvs-Studio
Errors and suspicious code fragments in .NET 6 sources
The .NET 6 turned out to be much-awaited and major release. If you write for .NET, you could hardly miss such an event. We also couldn't pass by the new version of this platform. We decided…
Top 10 bugs found in C# projects in 2021 https://pvs-studio.com/en/blog/posts/csharp/0904/
Pvs-Studio
Top 10 bugs found in C# projects in 2021
In 2021 we published several articles and showed you errors found in open-source projects. The year 2021 ends, which means it's time to present you the traditional top 10 of the most intere…
What's new in PVS-Studio in 2021? https://pvs-studio.com/en/blog/posts/cpp/0905/
Pvs-Studio
What's new in PVS-Studio in 2021?
2021 is coming to an end, which means it's time to sum up the year! Today we'll tell you about the new features we added to PVS-Studio in the past year. Buckle up and let's go!
The most interesting blogs and websites for C++ developers https://pvs-studio.com/en/blog/posts/cpp/0906/
PVS-Studio
The most interesting blogs and websites for C++ developers
Readers surely have favorite websites and blogs about C++. Hopefully, today your collection will grow.
The most interesting C# / .NET blogs and websites https://pvs-studio.com/en/blog/posts/csharp/0907/
PVS-Studio
The most interesting C# / .NET blogs and websites
Let′s take a look at the list of information sources that can be useful for the C# / .NET developers. Our list includes blogs, repositories with source code, standards and accounts of developers who...
PVS-Studio: static code analysis technology https://pvs-studio.com/en/blog/posts/0908/
Pvs-Studio
PVS-Studio: static code analysis technology
PVS-Studio provides static analyzers for C, C++, C# and Java languages on Windows, Linux and macOS platforms. PVS-Studio analyzers can vary slightly due to certain features that the languag…