Editing PVS static analyzer - 5.0 Release
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 968: | Line 968: | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td style='width: 30% | <td style='width: 30%;'><div title="/home/pavel/octave/libinterp/corefcn/graphics.h">graphics.h (1263)</div></td> | ||
<td style='width: 5%;'>[https://www.viva64.com/en/w/v550/ V550]</td> | <td style='width: 5%;'>[https://www.viva64.com/en/w/v550/ V550]</td> | ||
<td style='width: 65%;'>An odd precise comparison: new_val != current_val. It's probably better to use a comparison with defined precision: fabs(A - B) > Epsilon.</td> | <td style='width: 65%;'>An odd precise comparison: new_val != current_val. It's probably better to use a comparison with defined precision: fabs(A - B) > Epsilon.</td> | ||
Line 998: | Line 998: | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td style='width: 30% | <td style='width: 30%;'><div title="/home/pavel/octave/libinterp/corefcn/graphics.h">graphics.h (1773)</div></td> | ||
<td style='width: 5%;'>[https://www.viva64.com/en/w/v550/ V550]</td> | <td style='width: 5%;'>[https://www.viva64.com/en/w/v550/ V550]</td> | ||
<td style='width: 65%;'>An odd precise comparison: hchild == old_gh. It's probably better to use a comparison with defined precision: fabs(A - B) < Epsilon.</td> | <td style='width: 65%;'>An odd precise comparison: hchild == old_gh. It's probably better to use a comparison with defined precision: fabs(A - B) < Epsilon.</td> | ||
Line 1,013: | Line 1,013: | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td style='width: 30% | <td style='width: 30%;'><div title="/home/pavel/octave/libinterp/corefcn/graphics.h">graphics.h (4644)</div></td> | ||
<td style='width: 5%;'>[https://www.viva64.com/en/w/v553/ V553]</td> | <td style='width: 5%;'>[https://www.viva64.com/en/w/v553/ V553]</td> | ||
<td style='width: 65%;'>The length of 'properties' class's declaration is more than 2000 lines long. You should consider refactoring the code.</td> | <td style='width: 65%;'>The length of 'properties' class's declaration is more than 2000 lines long. You should consider refactoring the code.</td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td style='width: 30% | <td style='width: 30%;'><div title="/home/pavel/octave/libinterp/corefcn/graphics.h">graphics.h (4641)</div></td> | ||
<td style='width: 5%;'>[https://www.viva64.com/en/w/v553/ V553]</td> | <td style='width: 5%;'>[https://www.viva64.com/en/w/v553/ V553]</td> | ||
<td style='width: 65%;'>The length of 'axes' class's declaration is more than 2000 lines long. You should consider refactoring the code.</td> | <td style='width: 65%;'>The length of 'axes' class's declaration is more than 2000 lines long. You should consider refactoring the code.</td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td style='width: 30% | <td style='width: 30%;'><div title="/home/pavel/octave/libinterp/dldfcn/__init_fltk__.cc">__init_fltk__.cc (190)</div></td> | ||
<td style='width: 5%;'>[https://www.viva64.com/en/w/v550/ V550]</td> | <td style='width: 5%;'>[https://www.viva64.com/en/w/v550/ V550]</td> | ||
<td style='width: 65%;'>An odd precise comparison: m_number != new_number. It's probably better to use a comparison with defined precision: fabs(A - B) > Epsilon.</td> | <td style='width: 65%;'>An odd precise comparison: m_number != new_number. It's probably better to use a comparison with defined precision: fabs(A - B) > Epsilon.</td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td style='width: 30% | <td style='width: 30%;'><div title="/home/pavel/octave/libinterp/dldfcn/__init_fltk__.cc">__init_fltk__.cc (1389)</div></td> | ||
<td style='width: 5%;'>[https://www.viva64.com/en/w/v601/ V601]</td> | <td style='width: 5%;'>[https://www.viva64.com/en/w/v601/ V601]</td> | ||
<td style='width: 65%;'>The integer type is implicitly cast to the char type.</td> | <td style='width: 65%;'>The integer type is implicitly cast to the char type.</td> |