|
File |
Severity |
Checker name |
Message |
Bug path length |
Review status |
1 |
/home/cc-runs/install_dir/dev/include/QtCore/qtimer.h @ Line 164
|
|
cplusplus.NewDeleteLeaks |
Potential memory leak |
10 |
|
2 |
/home/cc-runs/install_dir/dev/include/QtCore/qtimer.h @ Line 164
|
|
cplusplus.NewDeleteLeaks |
Potential memory leak |
9 |
|
3 |
/home/cc-runs/install_dir/dev/include/QtCore/qtimer.h @ Line 164
|
|
cplusplus.NewDeleteLeaks |
Potential memory leak |
11 |
|
4 |
/usr/include/c++/9/bits/atomic_base.h @ Line 207
|
|
deadcode.DeadStores |
Value stored to '__b' during its initialization is never read |
1 |
|
5 |
/usr/include/c++/9/bits/atomic_base.h @ Line 218
|
|
deadcode.DeadStores |
Value stored to '__b' during its initialization is never read |
1 |
|
6 |
src/plugins/canbus/passthrucan/j2534passthru.h @ Line 228
|
|
cppcoreguidelines-special-member-functions |
class 'PassThru' defines a non-default destructor, a copy constructor and a copy assignment operator but does not define a move constructor or a move assignment operator |
1 |
|
7 |
src/plugins/canbus/passthrucan/passthrucanbackend.h @ Line 51
|
|
cppcoreguidelines-special-member-functions |
class 'PassThruCanBackend' defines a non-default destructor, a copy constructor and a copy assignment operator but does not define a move constructor or a move assignment operator |
1 |
|
8 |
src/plugins/canbus/passthrucan/passthrucanio.h @ Line 54
|
|
cppcoreguidelines-special-member-functions |
class 'PassThruCanIO' defines a non-default destructor, a copy constructor and a copy assignment operator but does not define a move constructor or a move assignment operator |
1 |
|
9 |
src/plugins/canbus/peakcan/peakcanbackend.cpp @ Line 541
|
|
optin.cplusplus.VirtualCall |
Call to virtual method 'PeakCanBackend::setConfigurationParameter' during construction bypasses virtual dispatch |
3 |
|
10 |
src/plugins/canbus/peakcan/peakcanbackend.cpp @ Line 804
|
|
optin.cplusplus.VirtualCall |
Call to virtual method 'PeakCanBackend::close' during destruction bypasses virtual dispatch |
2 |
|
11 |
src/plugins/canbus/peakcan/peakcanbackend.cpp @ Line 164
|
|
clang-diagnostic-pessimizing-move |
moving a temporary object prevents copy elision |
2 |
|
12 |
src/plugins/canbus/peakcan/peakcanbackend.cpp @ Line 211
|
|
clang-diagnostic-pessimizing-move |
moving a temporary object prevents copy elision |
2 |
|
13 |
src/plugins/canbus/peakcan/peakcanbackend.cpp @ Line 229
|
|
performance-no-automatic-move |
constness of 'result' prevents automatic move |
1 |
|
14 |
src/plugins/canbus/peakcan/peakcanbackend.h @ Line 52
|
|
cppcoreguidelines-special-member-functions |
class 'PeakCanBackend' defines a non-default destructor, a copy constructor and a copy assignment operator but does not define a move constructor or a move assignment operator |
1 |
|
15 |
src/plugins/canbus/socketcan/socketcanbackend.cpp @ Line 188
|
|
optin.cplusplus.VirtualCall |
Call to virtual method 'SocketCanBackend::close' during destruction bypasses virtual dispatch |
1 |
|
16 |
src/plugins/canbus/socketcan/socketcanbackend.cpp @ Line 149
|
|
clang-diagnostic-pessimizing-move |
moving a temporary object prevents copy elision |
2 |
|
17 |
src/plugins/canbus/socketcan/socketcanbackend.h @ Line 85
|
|
cppcoreguidelines-special-member-functions |
class 'SocketCanBackend' defines a non-default destructor but does not define a copy constructor, a copy assignment operator, a move constructor or a move assignment operator |
1 |
|
18 |
src/plugins/canbus/tinycan/tinycanbackend.cpp @ Line 517
|
|
optin.cplusplus.VirtualCall |
Call to virtual method 'TinyCanBackend::close' during destruction bypasses virtual dispatch |
1 |
|
19 |
src/plugins/canbus/tinycan/tinycanbackend.h @ Line 52
|
|
cppcoreguidelines-special-member-functions |
class 'TinyCanBackend' defines a non-default destructor, a copy constructor and a copy assignment operator but does not define a move constructor or a move assignment operator |
1 |
|
20 |
src/plugins/canbus/tinycan/tinycanbackend_p.h @ Line 60
|
|
cppcoreguidelines-special-member-functions |
class 'TinyCanBackendPrivate' defines a non-default destructor but does not define a copy constructor, a copy assignment operator, a move constructor or a move assignment operator |
1 |
|
21 |
src/plugins/canbus/virtualcan/virtualcanbackend.cpp @ Line 308
|
|
clang-diagnostic-pessimizing-move |
moving a temporary object prevents copy elision |
2 |
|
22 |
src/plugins/canbus/virtualcan/virtualcanbackend.h @ Line 53
|
|
cppcoreguidelines-special-member-functions |
class 'VirtualCanServer' defines a non-default destructor, a copy constructor and a copy assignment operator but does not define a move constructor or a move assignment operator |
1 |
|
23 |
src/plugins/canbus/virtualcan/virtualcanbackend.h @ Line 73
|
|
cppcoreguidelines-special-member-functions |
class 'VirtualCanBackend' defines a non-default destructor, a copy constructor and a copy assignment operator but does not define a move constructor or a move assignment operator |
1 |
|
24 |
src/serialbus/qcanbus.h @ Line 47
|
|
cppcoreguidelines-special-member-functions |
class 'QCanBus' defines a copy constructor and a copy assignment operator but does not define a destructor, a move constructor or a move assignment operator |
1 |
|
25 |
src/serialbus/qcanbusdevice.cpp @ Line 609
|
|
bugprone-unused-raii |
object destroyed immediately after creation; did you mean to name the object? |
2 |
|
26 |
src/serialbus/qcanbusdevice.h @ Line 51
|
|
cppcoreguidelines-special-member-functions |
class 'QCanBusDevice' defines a copy constructor and a copy assignment operator but does not define a destructor, a move constructor or a move assignment operator |
1 |
|
27 |
src/serialbus/qcanbusdeviceinfo.h @ Line 48
|
|
cppcoreguidelines-special-member-functions |
class 'QCanBusDeviceInfo' defines a non-default destructor, a copy constructor, a copy assignment operator and a move assignment operator but does not define a move constructor |
1 |
|
28 |
src/serialbus/qcanbusdeviceinfo_p.h @ Line 56
|
|
cppcoreguidelines-special-member-functions |
class 'QCanBusDeviceInfoPrivate' defines a non-default destructor but does not define a copy constructor, a copy assignment operator, a move constructor or a move assignment operator |
1 |
|
29 |
src/serialbus/qcanbusfactory.h @ Line 47
|
|
cppcoreguidelines-special-member-functions |
class 'QCanBusFactory' defines a non-default destructor but does not define a copy constructor, a copy assignment operator, a move constructor or a move assignment operator |
1 |
|
30 |
src/serialbus/qcanbusfactory.h @ Line 58
|
|
cppcoreguidelines-special-member-functions |
class 'QCanBusFactoryV2' defines a non-default destructor but does not define a copy constructor, a copy assignment operator, a move constructor or a move assignment operator |
1 |
|
31 |
src/serialbus/qcanbusframe.cpp @ Line 428
|
|
clang-diagnostic-format |
format specifies type 'int' but the argument has type 'qsizetype' (aka 'long long') |
2 |
|
32 |
src/serialbus/qmodbusclient.cpp @ Line 538
|
|
core.UndefinedBinaryOperatorResult |
The left operand of '!=' is a garbage value |
18 |
|
33 |
src/serialbus/qmodbusclient.cpp @ Line 543
|
|
core.CallAndMessage |
1st function call argument is an uninitialized value |
31 |
|
34 |
src/serialbus/qmodbusclient.cpp @ Line 575
|
|
core.UndefinedBinaryOperatorResult |
The left operand of '<' is a garbage value |
18 |
|
35 |
src/serialbus/qmodbusclient.cpp @ Line 579
|
|
core.CallAndMessage |
1st function call argument is an uninitialized value |
31 |
|
36 |
src/serialbus/qmodbusclient.h @ Line 50
|
|
cppcoreguidelines-special-member-functions |
class 'QModbusClient' defines a non-default destructor but does not define a copy constructor, a copy assignment operator, a move constructor or a move assignment operator |
1 |
|
37 |
src/serialbus/qmodbuscommevent_p.h @ Line 92
|
|
misc-unconventional-assign-operator |
operator=() should return 'QModbusCommEvent&' |
1 |
|
38 |
src/serialbus/qmodbusdevice.h @ Line 47
|
|
cppcoreguidelines-special-member-functions |
class 'QModbusDevice' defines a non-default destructor but does not define a copy constructor, a copy assignment operator, a move constructor or a move assignment operator |
1 |
|
39 |
src/serialbus/qmodbuspdu.cpp @ Line 160
|
|
core.UndefinedBinaryOperatorResult |
The left operand of '==' is a garbage value |
18 |
|
40 |
src/serialbus/qmodbuspdu.cpp @ Line 185
|
|
core.UndefinedBinaryOperatorResult |
The left operand of '==' is a garbage value |
19 |
|
41 |
src/serialbus/qmodbuspdu.cpp @ Line 600
|
|
core.UndefinedBinaryOperatorResult |
The left operand of '==' is a garbage value |
14 |
|
42 |
src/serialbus/qmodbuspdu.cpp @ Line 750
|
|
core.UndefinedBinaryOperatorResult |
The left operand of '+' is a garbage value |
22 |
|
43 |
src/serialbus/qmodbuspdu.cpp @ Line 51
|
|
cppcoreguidelines-special-member-functions |
class 'QModbusPduPrivate' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor |
1 |
|
44 |
src/serialbus/qmodbuspdu.cpp @ Line 123
|
|
cppcoreguidelines-special-member-functions |
class 'RAII' defines a non-default destructor but does not define a copy constructor, a copy assignment operator, a move constructor or a move assignment operator |
1 |
|
45 |
src/serialbus/qmodbuspdu.h @ Line 47
|
|
cppcoreguidelines-special-member-functions |
class 'QModbusPdu' defines a default destructor, a copy constructor and a copy assignment operator but does not define a move constructor or a move assignment operator |
1 |
|
46 |
src/serialbus/qmodbusrtuserialclient.cpp @ Line 75
|
|
optin.cplusplus.VirtualCall |
Call to virtual method 'QModbusRtuSerialClient::close' during destruction bypasses virtual dispatch |
1 |
|
47 |
src/serialbus/qmodbusrtuserialclient.h @ Line 46
|
|
cppcoreguidelines-special-member-functions |
class 'QModbusRtuSerialClient' defines a non-default destructor but does not define a copy constructor, a copy assignment operator, a move constructor or a move assignment operator |
1 |
|
48 |
src/serialbus/qmodbusrtuserialserver.cpp @ Line 77
|
|
optin.cplusplus.VirtualCall |
Call to virtual method 'QModbusRtuSerialServer::close' during destruction bypasses virtual dispatch |
1 |
|
49 |
src/serialbus/qmodbusrtuserialserver.cpp @ Line 185
|
|
core.UndefinedBinaryOperatorResult |
The left operand of '==' is a garbage value |
12 |
|
50 |
src/serialbus/qmodbusrtuserialserver.h @ Line 46
|
|
cppcoreguidelines-special-member-functions |
class 'QModbusRtuSerialServer' defines a non-default destructor but does not define a copy constructor, a copy assignment operator, a move constructor or a move assignment operator |
1 |
|
51 |
src/serialbus/qmodbusserver.cpp @ Line 716
|
|
core.UndefinedBinaryOperatorResult |
The left operand of '<' is a garbage value |
18 |
|
52 |
src/serialbus/qmodbusserver.cpp @ Line 764
|
|
core.UndefinedBinaryOperatorResult |
The left operand of '<' is a garbage value |
18 |
|
53 |
src/serialbus/qmodbusserver.cpp @ Line 796
|
|
core.UndefinedBinaryOperatorResult |
The left operand of '!=' is a garbage value |
18 |
|
54 |
src/serialbus/qmodbusserver.cpp @ Line 802
|
|
core.CallAndMessage |
2nd function call argument is an uninitialized value |
18 |
|
55 |
src/serialbus/qmodbusserver.cpp @ Line 965
|
|
core.UndefinedBinaryOperatorResult |
The left operand of '!=' is a garbage value |
16 |
|
56 |
src/serialbus/qmodbusserver.cpp @ Line 1018
|
|
core.UndefinedBinaryOperatorResult |
The left operand of '!=' is a garbage value |
16 |
|
57 |
src/serialbus/qmodbusserver.cpp @ Line 1091
|
|
core.CallAndMessage |
2nd function call argument is an uninitialized value |
16 |
|
58 |
src/serialbus/qmodbusserver.cpp @ Line 1114
|
|
core.UndefinedBinaryOperatorResult |
The left operand of '!=' is a garbage value |
16 |
|
59 |
src/serialbus/qmodbusserver.cpp @ Line 1170
|
|
core.CallAndMessage |
2nd function call argument is an uninitialized value |
16 |
|
60 |
src/serialbus/qmodbusserver.cpp @ Line 1222
|
|
core.CallAndMessage |
1st function call argument is an uninitialized value |
40 |
|
61 |
src/serialbus/qmodbusserver.h @ Line 50
|
|
cppcoreguidelines-special-member-functions |
class 'QModbusServer' defines a non-default destructor but does not define a copy constructor, a copy assignment operator, a move constructor or a move assignment operator |
1 |
|
62 |
src/serialbus/qmodbustcpclient.cpp @ Line 69
|
|
optin.cplusplus.VirtualCall |
Call to virtual method 'QModbusTcpClient::close' during destruction bypasses virtual dispatch |
1 |
|
63 |
src/serialbus/qmodbustcpclient.h @ Line 46
|
|
cppcoreguidelines-special-member-functions |
class 'QModbusTcpClient' defines a non-default destructor but does not define a copy constructor, a copy assignment operator, a move constructor or a move assignment operator |
1 |
|
64 |
src/serialbus/qmodbustcpserver.cpp @ Line 77
|
|
optin.cplusplus.VirtualCall |
Call to virtual method 'QModbusTcpServer::close' during destruction bypasses virtual dispatch |
1 |
|
65 |
src/serialbus/qmodbustcpserver.h @ Line 48
|
|
cppcoreguidelines-special-member-functions |
class 'QModbusTcpConnectionObserver' defines a non-default destructor but does not define a copy constructor, a copy assignment operator, a move constructor or a move assignment operator |
1 |
|
66 |
src/serialbus/qmodbustcpserver.h @ Line 56
|
|
cppcoreguidelines-special-member-functions |
class 'QModbusTcpServer' defines a non-default destructor but does not define a copy constructor, a copy assignment operator, a move constructor or a move assignment operator |
1 |
|
67 |
src/tools/canbusutil/sigtermhandler.h @ Line 42
|
|
cppcoreguidelines-special-member-functions |
class 'SigTermHandler' defines a non-default destructor but does not define a copy constructor, a copy assignment operator, a move constructor or a move assignment operator |
1 |
|