PVS Studio is awsome!
-
I just tried this static code analyser and pretty impressed. Straight away it shows me an obvious bug in my code (with the warning message in plain english): "It is odd that the body of 'GetY2' function is fully equivalent to the body of 'GetX2' function. bitmapchar.h 37:"
int GetX2() const
{
return m_x + m_width;
}
int GetY2() const
{
return m_x + m_width;
} -
I just tried this static code analyser and pretty impressed. Straight away it shows me an obvious bug in my code (with the warning message in plain english): "It is odd that the body of 'GetY2' function is fully equivalent to the body of 'GetX2' function. bitmapchar.h 37:"
int GetX2() const
{
return m_x + m_width;
}
int GetY2() const
{
return m_x + m_width;
}It sounds interesting, but... "Please write us to get a price for PVS-Studio. Please specify interesting license type. PVS-Studio (for 1-9 developers team, first year license) License Renewal (also one year): 80% of current base price" Which means even they think the price is too high! :laugh:
Those who fail to learn history are doomed to repeat it. --- George Santayana (December 16, 1863 – September 26, 1952) Those who fail to clear history are doomed to explain it. --- OriginalGriff (February 24, 1959 – ∞)
-
I just tried this static code analyser and pretty impressed. Straight away it shows me an obvious bug in my code (with the warning message in plain english): "It is odd that the body of 'GetY2' function is fully equivalent to the body of 'GetX2' function. bitmapchar.h 37:"
int GetX2() const
{
return m_x + m_width;
}
int GetY2() const
{
return m_x + m_width;
} -
It sounds interesting, but... "Please write us to get a price for PVS-Studio. Please specify interesting license type. PVS-Studio (for 1-9 developers team, first year license) License Renewal (also one year): 80% of current base price" Which means even they think the price is too high! :laugh:
Those who fail to learn history are doomed to repeat it. --- George Santayana (December 16, 1863 – September 26, 1952) Those who fail to clear history are doomed to explain it. --- OriginalGriff (February 24, 1959 – ∞)
-
It sounds interesting, but... "Please write us to get a price for PVS-Studio. Please specify interesting license type. PVS-Studio (for 1-9 developers team, first year license) License Renewal (also one year): 80% of current base price" Which means even they think the price is too high! :laugh:
Those who fail to learn history are doomed to repeat it. --- George Santayana (December 16, 1863 – September 26, 1952) Those who fail to clear history are doomed to explain it. --- OriginalGriff (February 24, 1959 – ∞)
In October 2013 the price was 5,250 euro for standard edition (1-9 users) and 9,000 euro for site licence. If you have a problem with the high prices they are more than willing to provide some sort of discount (as they did for us based on the Rand/Euro exchange rate being so high at the time). We use PVS-Studio all the time and it has found many potential bugs in our code. Cheers, Brett