Nous utilisons des cookies pour améliorer votre expérience de navigation. En savoir plus
Accepter
to the top

Webinar: Let's make a programming language. Lexer - 29.04

>
>
Posts: #Knowledge

Posts: # Knowledge

The way static analyzers fight against false positives, and why they do it
Andrey Karpov
In my previous article I wrote that I don't like the approach of evaluating the efficiency of static analyzers with the help of synthetic tests. In that article, I give the example of a code...
...
14 Mar 2017
The last line effect explained
Andrey Karpov, Moritz Beller, Rolf A. Zwaan, Andy Zaidman
Micro-clones are tiny duplicated pieces of code; they typically comprise only few statements or lines. In this paper, we study the "Last Line Effect," the phenomenon that the last line or...
...
Subscribe to the newsletter
Want to receive a monthly digest of the most interesting articles and news? Subscribe!
15 Fév 2017
About optimizations
Vladimir Tatarchevskij
Verifying the recommendation "Don't do the compilers job" from the book "The Ultimate Question of Programming, Refactoring, and Everything".
...
Why I Dislike Synthetic Tests
Andrey Karpov
I don't like it when people use artificial code examples to evaluate the diagnostic capabilities of static code analyzers. There is one particular example I'm going to discuss to explain my...
...
27 Jan 2017
How to capture a variable in C# and not to shoot yourself in the foot
Ivan Kishchenko
Back in 2005, with the release of C# 2.0 standard we got a possibility to pass a variable to the body of an anonymous delegate by capturing it from the current context. In 2008 the C# 3.0 brought...
...
How PVS-Studio does the bug search: methods and technologies
Andrey Karpov
PVS-Studio is a static code analyzer, that searches for errors and vulnerabilities in programs written in C, C++ and C#. In this article, I am going to uncover the technologies that we use...
...
18 Nov 2016
Virtual events in C#: something went wrong
Sergey Khrenov
Not so long ago I was working on a new C# diagnostic - V3119 - for the PVS-Studio static code analyzer. The function of this diagnostic is to detect potentially unsafe constructions in the...
...
07 Oct 2016
Why using finalizers is a bad idea
Ilya Ivanov
Not so long ago we worked on a diagnostic rule related to the finalizer check. This provoked an argument on the details of the garbage collector work and the finalization of objects. Although we...
...
15 Sep 2016
How to avoid bugs using modern C++
Pavel Belikov
One of the main problems with C++ is having a huge number of constructions whose behavior is undefined, or is just unexpected for a programmer. We often come across them when using our...
...
05 Jul 2016
How to not shoot yourself in the foot when working with serialization
Sergey Vasiliev
Despite the fact that it's quite easy and comfortable to use the serialization mechanism in C#, there are some points that are worth taking note of. This article is about the ways in which you...
...
View more Pagination arrow previous
Showing: - of 164