https://bugs.kde.org/show_bug.cgi?id=456296

            Bug ID: 456296
           Summary: PVS-Studio issues
           Product: kdenlive
           Version: git-master
          Platform: Compiled Sources
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Installation
          Assignee: vpi...@kde.org
          Reporter: nmariu...@gmail.com
  Target Milestone: ---

STEPS TO REPRODUCE
I have Kubuntu 22.04. I have installed Qt5 using kdesrc-build.
Pseudocode:
rm -rf /home/n/kde/build-pvs/multimedia/kdenlive
mkdir -p /home/n/kde/build-pvs/multimedia/kdenlive && cd
/home/n/kde/build-pvs/multimedia/kdenlive

export CMAKE_PREFIX_PATH=/home/n/kde/qt5:/home/n/kde/usr
export
XDG_DATA_DIRS=/home/n/kde/usr/share:/usr/share/plasma:/usr/local/share:/usr/share:/var/lib/snapd/desktop
export
PKG_CONFIG_PATH=/home/n/kde/usr/lib/pkgconfig:/home/n/kde/qt5/lib/pkgconfig
export
PATH=/home/n/kde/usr/bin:/home/n/kde/qt5/bin:/home/n/kde/src/kdesrc-build:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
export
CMAKE_MODULE_PATH=/home/n/kde/qt5/lib/cmake:/home/n/kde/usr/lib64/cmake:/home/n/kde/usr/lib/cmake
export LD_LIBRARY_PATH=/home/n/kde/usr/lib:/home/n/kde/qt5/lib

cmake -B . -S /home/n/kde/src/multimedia/kdenlive -G Unix\ Makefiles
-DCMAKE_EXPORT_COMPILE_COMMANDS:BOOL=ON -DCMAKE_BUILD_TYPE=Debug
-DCMAKE_CXX_FLAGS:STRING=-pipe -DCMAKE_INSTALL_PREFIX=/home/n/kde/usr
-DCMAKE_PREFIX_PATH=/home/n/kde/qt5

pvs-studio-analyzer trace -- make -j 16
pvs-studio-analyzer analyze -j 16 -o PVS-Studio.log
plog-converter -a GA:1,2 -d V1042,V1053,V1044 -t tasklist -o report.tasks
PVS-Studio.log

OBSERVED RESULT

The file report.tasks can be opened with Qt Creator. File > Open File or
Project. It will be shown in the "Issues" Output Pane (Alt+1).

Below is the file report.tasks:

/home/n/kde/src/multimedia/kdenlive/src/utils/gentime.h 93      err     V616
The '(Q_COMPLEX_TYPE)' named constant with the value of 0 is used in the
bitwise operation.
/home/n/kde/src/multimedia/kdenlive/renderer/renderjob.cpp      232     warn   
V668 There is no sense in testing the 'm_jobUiserver' pointer against null, as
the memory was allocated using the 'new' operator. The exception will be
generated in the case of memory allocation error.
/home/n/kde/src/multimedia/kdenlive/renderer/renderjob.cpp      306     warn   
V668 There is no sense in testing the 'm_kdenliveinterface' pointer against
null, as the memory was allocated using the 'new' operator. The exception will
be generated in the case of memory allocation error.
/home/n/kde/src/multimedia/kdenlive/renderer/renderjob.cpp      30      err    
V730 Not all members of a class are initialized inside the constructor.
Consider inspecting: m_subsProcess.
/home/n/kde/src/multimedia/kdenlive/src/assets/keyframes/model/keyframemodel.cpp
       21      warn    V1077 The 'KeyframeModel' constructor contains
potentially uninitialized members. Inspect the following: m_paramType.
/home/n/kde/src/multimedia/kdenlive/src/assets/abstractassetsrepository.hpp    
51      warn    V730 Not all members of a class are initialized inside the
compiler generated constructor. Consider inspecting: type.
/home/n/kde/src/multimedia/kdenlive/src/assets/assetlist/view/qmltypes/asseticonprovider.cpp
   68      warn    V547 Expression 'isGroup' is always false.
/home/n/kde/src/multimedia/kdenlive/src/jobs/filtertask.h       17      warn   
V690 The 'Consumer' class implements a copy constructor, but lacks the copy
assignment operator. It is dangerous to use such a class.
/home/n/kde/src/multimedia/kdenlive/src/assets/model/assetparametermodel.cpp   
161     warn    V1037 Two or more case-branches perform the same actions. Check
lines: 161, 169, 174
/home/n/kde/src/multimedia/kdenlive/src/assets/model/assetparametermodel.cpp   
743     warn    V612 An unconditional 'break' within a loop.
/home/n/kde/src/multimedia/kdenlive/src/assets/model/assetparametermodel.cpp   
759     warn    V636 The 'frameSize.width() / frameSize.height()' expression
was implicitly cast from 'int' type to 'double' type. Consider utilizing an
explicit type cast to avoid the loss of a fractional part. An example: double A
= (double)(X) / Y;.
/home/n/kde/src/multimedia/kdenlive/src/assets/view/widgets/curves/abstractcurvewidget.ipp
     12      err     V730 Not all members of a class are initialized inside the
constructor. Consider inspecting: m_wWidth, m_wHeight.
/home/n/kde/src/multimedia/kdenlive/src/assets/view/widgets/lumaliftgainparam.cpp
      93      err     V567 Unspecified behavior. The order of argument
evaluation is not defined for 'setAttribute' function. Consider inspecting the
'Size' variable.
/home/n/kde/src/multimedia/kdenlive/src/assets/view/widgets/keyframeimport.cpp 
973     warn    V636 The 'kfrData[2].toInt() / 2' expression was implicitly
cast from 'int' type to 'double' type. Consider utilizing an explicit type cast
to avoid the loss of a fractional part. An example: double A = (double)(X) /
Y;.
/home/n/kde/src/multimedia/kdenlive/src/assets/view/widgets/keyframeimport.cpp 
981     warn    V636 The 'kfrData[3].toInt() / 2' expression was implicitly
cast from 'int' type to 'double' type. Consider utilizing an explicit type cast
to avoid the loss of a fractional part. An example: double A = (double)(X) /
Y;.
/home/n/kde/src/multimedia/kdenlive/src/assets/view/widgets/keyframeimport.cpp 
985     warn    V636 The 'kfrData[2].toInt() / 2' expression was implicitly
cast from 'int' type to 'double' type. Consider utilizing an explicit type cast
to avoid the loss of a fractional part. An example: double A = (double)(X) /
Y;.
/home/n/kde/src/multimedia/kdenlive/src/assets/view/widgets/keyframeimport.cpp 
986     warn    V636 The 'kfrData[3].toInt() / 2' expression was implicitly
cast from 'int' type to 'double' type. Consider utilizing an explicit type cast
to avoid the loss of a fractional part. An example: double A = (double)(X) /
Y;.
/home/n/kde/src/multimedia/kdenlive/src/assets/view/widgets/keyframeimport.cpp 
991     warn    V636 The 'kfrData[3].toInt() / 2' expression was implicitly
cast from 'int' type to 'double' type. Consider utilizing an explicit type cast
to avoid the loss of a fractional part. An example: double A = (double)(X) /
Y;.
/home/n/kde/src/multimedia/kdenlive/src/assets/view/widgets/keyframeimport.cpp 
999     warn    V636 The 'kfrData[2].toInt() / 2' expression was implicitly
cast from 'int' type to 'double' type. Consider utilizing an explicit type cast
to avoid the loss of a fractional part. An example: double A = (double)(X) /
Y;.
/home/n/kde/src/multimedia/kdenlive/src/assets/view/widgets/keyframeimport.cpp 
1220    warn    V636 The 'kfrData[2].toInt() / 2' expression was implicitly
cast from 'int' type to 'double' type. Consider utilizing an explicit type cast
to avoid the loss of a fractional part. An example: double A = (double)(X) /
Y;.
/home/n/kde/src/multimedia/kdenlive/src/assets/view/widgets/keyframeimport.cpp 
1228    warn    V636 The 'kfrData[3].toInt() / 2' expression was implicitly
cast from 'int' type to 'double' type. Consider utilizing an explicit type cast
to avoid the loss of a fractional part. An example: double A = (double)(X) /
Y;.
/home/n/kde/src/multimedia/kdenlive/src/assets/view/widgets/keyframeimport.cpp 
1232    warn    V636 The 'kfrData[2].toInt() / 2' expression was implicitly
cast from 'int' type to 'double' type. Consider utilizing an explicit type cast
to avoid the loss of a fractional part. An example: double A = (double)(X) /
Y;.
/home/n/kde/src/multimedia/kdenlive/src/assets/view/widgets/keyframeimport.cpp 
1233    warn    V636 The 'kfrData[3].toInt() / 2' expression was implicitly
cast from 'int' type to 'double' type. Consider utilizing an explicit type cast
to avoid the loss of a fractional part. An example: double A = (double)(X) /
Y;.
/home/n/kde/src/multimedia/kdenlive/src/assets/view/widgets/keyframeimport.cpp 
1238    warn    V636 The 'kfrData[3].toInt() / 2' expression was implicitly
cast from 'int' type to 'double' type. Consider utilizing an explicit type cast
to avoid the loss of a fractional part. An example: double A = (double)(X) /
Y;.
/home/n/kde/src/multimedia/kdenlive/src/assets/view/widgets/keyframeimport.cpp 
1246    warn    V636 The 'kfrData[2].toInt() / 2' expression was implicitly
cast from 'int' type to 'double' type. Consider utilizing an explicit type cast
to avoid the loss of a fractional part. An example: double A = (double)(X) /
Y;.
/home/n/kde/src/multimedia/kdenlive/src/audiomixer/audiolevelwidget.cpp 20     
err     V730 Not all members of a class are initialized inside the constructor.
Consider inspecting: m_maxDb.
/home/n/kde/src/multimedia/kdenlive/src/audiomixer/mixerwidget.hpp      28     
warn    V690 The 'Tractor' class implements a copy constructor, but lacks the
copy assignment operator. It is dangerous to use such a class.
/home/n/kde/src/multimedia/kdenlive/src/audiomixer/mixerwidget.hpp      29     
warn    V690 The 'Event' class implements a copy constructor, but lacks the
copy assignment operator. It is dangerous to use such a class.
/home/n/kde/src/multimedia/kdenlive/src/bin/projectitemmodel.h  33      warn   
V690 The 'Tractor' class implements a copy constructor, but lacks the copy
assignment operator. It is dangerous to use such a class.
/home/n/kde/src/multimedia/kdenlive/src/bin/projectclip.cpp     94      warn   
V556 The values of different enum types are compared: m_clipType ==
ClipType::Audio. Types: ProducerType, DataType.
/home/n/kde/src/multimedia/kdenlive/src/bin/projectclip.cpp     120     warn   
V556 The values of different enum types are compared: m_clipType ==
ClipType::AV. Types: ProducerType, DataType.
/home/n/kde/src/multimedia/kdenlive/src/bin/projectclip.cpp     120     warn   
V556 The values of different enum types are compared: m_clipType ==
ClipType::Audio. Types: ProducerType, DataType.
/home/n/kde/src/multimedia/kdenlive/src/bin/projectclip.cpp     120     warn   
V556 The values of different enum types are compared: m_clipType ==
ClipType::Playlist. Types: ProducerType, DataType.
/home/n/kde/src/multimedia/kdenlive/src/bin/projectclip.cpp     120     warn   
V556 The values of different enum types are compared: m_clipType ==
ClipType::Unknown. Types: ProducerType, DataType.
/home/n/kde/src/multimedia/kdenlive/src/bin/projectclip.cpp     154     warn   
V556 The values of different enum types are compared: m_clipType ==
ClipType::Audio. Types: ProducerType, DataType.
/home/n/kde/src/multimedia/kdenlive/src/bin/projectclip.cpp     195     warn   
V556 The values of different enum types are compared: m_clipType ==
ClipType::Color. Types: ProducerType, DataType.
/home/n/kde/src/multimedia/kdenlive/src/bin/projectclip.cpp     217     warn   
V556 The values of different enum types are compared: m_clipType ==
ClipType::Audio. Types: ProducerType, DataType.
/home/n/kde/src/multimedia/kdenlive/src/bin/projectclip.cpp     231     warn   
V636 The 'iconHeight / streams.count()' expression was implicitly cast from
'int' type to 'double' type. Consider utilizing an explicit type cast to avoid
the loss of a fractional part. An example: double A = (double)(X) / Y;.
/home/n/kde/src/multimedia/kdenlive/src/bin/projectclip.cpp     348     warn   
V556 The values of different enum types are compared: m_clipType !=
ClipType::Color. Types: ProducerType, DataType.
/home/n/kde/src/multimedia/kdenlive/src/bin/projectclip.cpp     348     warn   
V556 The values of different enum types are compared: m_clipType !=
ClipType::Unknown. Types: ProducerType, DataType.
/home/n/kde/src/multimedia/kdenlive/src/bin/projectclip.cpp     448     warn   
V556 The values of different enum types are compared: m_clipType !=
ClipType::Unknown. Types: ProducerType, DataType.
/home/n/kde/src/multimedia/kdenlive/src/bin/projectclip.cpp     485     warn   
V556 The values of different enum types are compared: m_clipType ==
ClipType::Text. Types: ProducerType, DataType.
/home/n/kde/src/multimedia/kdenlive/src/bin/projectclip.cpp     485     warn   
V556 The values of different enum types are compared: m_clipType ==
ClipType::TextTemplate. Types: ProducerType, DataType.
/home/n/kde/src/multimedia/kdenlive/src/bin/projectclip.cpp     554     warn   
V556 The values of different enum types are compared: m_clipType ==
ClipType::Audio. Types: ProducerType, DataType.
/home/n/kde/src/multimedia/kdenlive/src/bin/projectclip.cpp     556     warn   
V556 The values of different enum types are compared: m_clipType ==
ClipType::Image. Types: ProducerType, DataType.
/home/n/kde/src/multimedia/kdenlive/src/bin/projectclip.cpp     578     warn   
V556 The values of different enum types are compared: m_clipType !=
ClipType::Audio. Types: ProducerType, DataType.
/home/n/kde/src/multimedia/kdenlive/src/bin/projectclip.cpp     583     warn   
V556 The values of different enum types are compared: m_clipType ==
ClipType::AV. Types: ProducerType, DataType.
/home/n/kde/src/multimedia/kdenlive/src/bin/projectclip.cpp     583     warn   
V556 The values of different enum types are compared: m_clipType ==
ClipType::Audio. Types: ProducerType, DataType.
/home/n/kde/src/multimedia/kdenlive/src/bin/projectclip.cpp     583     warn   
V556 The values of different enum types are compared: m_clipType ==
ClipType::Playlist. Types: ProducerType, DataType.
/home/n/kde/src/multimedia/kdenlive/src/bin/projectclip.cpp     583     warn   
V556 The values of different enum types are compared: m_clipType ==
ClipType::Unknown. Types: ProducerType, DataType.
/home/n/kde/src/multimedia/kdenlive/src/bin/projectclip.cpp     612     warn   
V556 The values of different enum types are compared: m_clipType ==
ClipType::Image. Types: ProducerType, DataType.
/home/n/kde/src/multimedia/kdenlive/src/bin/projectclip.cpp     618     warn   
V556 The values of different enum types are compared: m_clipType ==
ClipType::AV. Types: ProducerType, DataType.
/home/n/kde/src/multimedia/kdenlive/src/bin/projectclip.cpp     618     warn   
V556 The values of different enum types are compared: m_clipType ==
ClipType::Video. Types: ProducerType, DataType.
/home/n/kde/src/multimedia/kdenlive/src/bin/projectclip.cpp     622     warn   
V556 The values of different enum types are compared: m_clipType ==
ClipType::Playlist. Types: ProducerType, DataType.
/home/n/kde/src/multimedia/kdenlive/src/bin/projectclip.cpp     631     warn   
V556 The values of different enum types are compared: m_clipType ==
ClipType::AV. Types: ProducerType, DataType.
/home/n/kde/src/multimedia/kdenlive/src/bin/projectclip.cpp     631     warn   
V556 The values of different enum types are compared: m_clipType ==
ClipType::Video. Types: ProducerType, DataType.
/home/n/kde/src/multimedia/kdenlive/src/bin/projectclip.cpp     631     warn   
V556 The values of different enum types are compared: m_clipType ==
ClipType::Playlist. Types: ProducerType, DataType.
/home/n/kde/src/multimedia/kdenlive/src/bin/projectclip.cpp     775     warn   
V556 The values of different enum types are compared: m_clipType ==
ClipType::AV. Types: ProducerType, DataType.
/home/n/kde/src/multimedia/kdenlive/src/bin/projectclip.cpp     775     warn   
V556 The values of different enum types are compared: m_clipType ==
ClipType::Video. Types: ProducerType, DataType.
/home/n/kde/src/multimedia/kdenlive/src/bin/projectclip.cpp     775     warn   
V556 The values of different enum types are compared: m_clipType ==
ClipType::Audio. Types: ProducerType, DataType.
/home/n/kde/src/multimedia/kdenlive/src/bin/projectclip.cpp     812     warn   
V688 The 'date' local variable possesses the same name as one of the class
members, which can result in a confusion.
/home/n/kde/src/multimedia/kdenlive/src/bin/projectclip.cpp     854     warn   
V556 The values of different enum types are compared: m_clipType ==
ClipType::Color. Types: ProducerType, DataType.
/home/n/kde/src/multimedia/kdenlive/src/bin/projectclip.cpp     854     warn   
V556 The values of different enum types are compared: m_clipType ==
ClipType::Image. Types: ProducerType, DataType.
/home/n/kde/src/multimedia/kdenlive/src/bin/projectclip.cpp     854     warn   
V556 The values of different enum types are compared: m_clipType ==
ClipType::Text. Types: ProducerType, DataType.
/home/n/kde/src/multimedia/kdenlive/src/bin/projectclip.cpp     855     warn   
V556 The values of different enum types are compared: m_clipType ==
ClipType::TextTemplate. Types: ProducerType, DataType.
/home/n/kde/src/multimedia/kdenlive/src/bin/projectclip.cpp     855     warn   
V556 The values of different enum types are compared: m_clipType ==
ClipType::Qml. Types: ProducerType, DataType.
/home/n/kde/src/multimedia/kdenlive/src/bin/projectclip.cpp     1032    err    
V547 Expression 'state == PlaylistState::Disabled' is always true.
/home/n/kde/src/multimedia/kdenlive/src/bin/projectclip.cpp     1074    warn   
V556 The values of different enum types are compared: m_clipType !=
ClipType::Color. Types: ProducerType, DataType.
/home/n/kde/src/multimedia/kdenlive/src/bin/projectclip.cpp     1074    warn   
V556 The values of different enum types are compared: m_clipType !=
ClipType::Image. Types: ProducerType, DataType.
/home/n/kde/src/multimedia/kdenlive/src/bin/projectclip.cpp     1074    warn   
V556 The values of different enum types are compared: m_clipType !=
ClipType::Text. Types: ProducerType, DataType.
/home/n/kde/src/multimedia/kdenlive/src/bin/projectclip.cpp     1275    warn   
V556 The values of different enum types are compared: switch(ENUM_TYPE_A) {
case ENUM_TYPE_B: ... }. Types: ProducerType, DataType.
/home/n/kde/src/multimedia/kdenlive/src/bin/projectclip.cpp     1278    warn   
V556 The values of different enum types are compared: switch(ENUM_TYPE_A) {
case ENUM_TYPE_B: ... }. Types: ProducerType, DataType.
/home/n/kde/src/multimedia/kdenlive/src/bin/projectclip.cpp     1282    warn   
V556 The values of different enum types are compared: switch(ENUM_TYPE_A) {
case ENUM_TYPE_B: ... }. Types: ProducerType, DataType.
/home/n/kde/src/multimedia/kdenlive/src/bin/projectclip.cpp     1287    warn   
V556 The values of different enum types are compared: switch(ENUM_TYPE_A) {
case ENUM_TYPE_B: ... }. Types: ProducerType, DataType.
/home/n/kde/src/multimedia/kdenlive/src/bin/projectclip.cpp     1291    warn   
V556 The values of different enum types are compared: switch(ENUM_TYPE_A) {
case ENUM_TYPE_B: ... }. Types: ProducerType, DataType.
/home/n/kde/src/multimedia/kdenlive/src/bin/projectclip.cpp     1369    warn   
V556 The values of different enum types are compared: m_clipType ==
ClipType::SlideShow. Types: ProducerType, DataType.
/home/n/kde/src/multimedia/kdenlive/src/bin/projectclip.cpp     1385    warn   
V556 The values of different enum types are compared: m_clipType ==
ClipType::Color. Types: ProducerType, DataType.
/home/n/kde/src/multimedia/kdenlive/src/bin/projectclip.cpp     1610    warn   
V556 The values of different enum types are compared: m_clipType ==
ClipType::TextTemplate. Types: ProducerType, DataType.
/home/n/kde/src/multimedia/kdenlive/src/bin/projectclip.cpp     1788    warn   
V556 The values of different enum types are compared: m_clipType ==
ClipType::AV. Types: ProducerType, DataType.
/home/n/kde/src/multimedia/kdenlive/src/bin/projectclip.cpp     1788    warn   
V556 The values of different enum types are compared: m_clipType ==
ClipType::Playlist. Types: ProducerType, DataType.
/home/n/kde/src/multimedia/kdenlive/src/bin/projectclip.cpp     1914    warn   
V556 The values of different enum types are compared: m_clipType ==
ClipType::AV. Types: ProducerType, DataType.
/home/n/kde/src/multimedia/kdenlive/src/bin/projectclip.cpp     1914    warn   
V556 The values of different enum types are compared: m_clipType ==
ClipType::Audio. Types: ProducerType, DataType.
/home/n/kde/src/multimedia/kdenlive/src/bin/projectclip.cpp     1914    warn   
V556 The values of different enum types are compared: m_clipType ==
ClipType::Playlist. Types: ProducerType, DataType.
/home/n/kde/src/multimedia/kdenlive/src/capture/mediacapture.cpp        140    
err     V730 Not all members of a class are initialized inside the constructor.
Consider inspecting: m_lastPos.
/home/n/kde/src/multimedia/kdenlive/src/audiomixer/mixermanager.hpp     15     
warn    V690 The 'Tractor' class implements a copy constructor, but lacks the
copy assignment operator. It is dangerous to use such a class.
/home/n/kde/build-pvs/multimedia/kdenlive/src/kdenliveLib_autogen/NNRPYQ7WAA/moc_abstractprojectitem.cpp
       87      warn    V1037 Two or more case-branches perform the same
actions. Check lines: 87, 94
/home/n/kde/build-pvs/multimedia/kdenlive/src/kdenliveLib_autogen/NNRPYQ7WAA/moc_bin.cpp
       1330    warn    V1037 Two or more case-branches perform the same
actions. Check lines: 1330, 1365, 1372
/home/n/kde/build-pvs/multimedia/kdenlive/src/kdenliveLib_autogen/NNRPYQ7WAA/moc_bin.cpp
       1344    warn    V1037 Two or more case-branches perform the same
actions. Check lines: 1344, 1351, 1358
/home/n/kde/build-pvs/multimedia/kdenlive/src/kdenliveLib_autogen/JOZHHUJ3VB/moc_mediacapture.cpp
      87      warn    V1037 Two or more case-branches perform the same actions.
Check lines: 87, 94
/home/n/kde/build-pvs/multimedia/kdenlive/src/kdenliveLib_autogen/KV2JD6235C/moc_abstractcollapsiblewidget.cpp
 113     warn    V1037 Two or more case-branches perform the same actions.
Check lines: 113, 120
/home/n/kde/build-pvs/multimedia/kdenlive/src/kdenliveLib_autogen/JDLKVUGH74/moc_librarywidget.cpp
     354     warn    V1037 Two or more case-branches perform the same actions.
Check lines: 354, 361
/home/n/kde/build-pvs/multimedia/kdenlive/src/kdenliveLib_autogen/JDLKVUGH74/moc_librarywidget.cpp
     340     warn    V1037 Two or more case-branches perform the same actions.
Check lines: 340, 347
/home/n/kde/src/multimedia/kdenlive/src/monitor/glwidget.h      35      warn   
V690 The 'Consumer' class implements a copy constructor, but lacks the copy
assignment operator. It is dangerous to use such a class.
/home/n/kde/build-pvs/multimedia/kdenlive/src/kdenliveLib_autogen/T5U2TTTZLX/moc_monitor.cpp
   797     warn    V1037 Two or more case-branches perform the same actions.
Check lines: 797, 804
/home/n/kde/build-pvs/multimedia/kdenlive/src/kdenliveLib_autogen/QDQ2VTMMBG/moc_monitoraudiolevel.cpp
 93      warn    V1037 Two or more case-branches perform the same actions.
Check lines: 93, 100
/home/n/kde/src/multimedia/kdenlive/src/timeline2/view/previewmanager.h 20     
warn    V690 The 'Tractor' class implements a copy constructor, but lacks the
copy assignment operator. It is dangerous to use such a class.
/home/n/kde/src/multimedia/kdenlive/src/timeline2/view/previewmanager.h 21     
warn    V690 The 'Playlist' class implements a copy constructor, but lacks the
copy assignment operator. It is dangerous to use such a class.
/home/n/kde/build-pvs/multimedia/kdenlive/src/kdenliveLib_autogen/CFUJZ622G4/moc_timelinecontroller.cpp
1515    warn    V1037 Two or more case-branches perform the same actions. Check
lines: 1515, 1522
/home/n/kde/src/multimedia/kdenlive/src/bin/bin.cpp     884     warn    V547
Expression '!dragged' is always true.
/home/n/kde/src/multimedia/kdenlive/src/bin/bin.cpp     1631    warn    V519
The 'm_gainedFocus' variable is assigned values twice successively. Perhaps
this is a mistake. Check lines: 1612, 1631.
/home/n/kde/src/multimedia/kdenlive/src/bin/bin.cpp     1815    warn    V556
The values of different enum types are compared. Types: DataType, ProducerType.
/home/n/kde/src/multimedia/kdenlive/src/bin/bin.cpp     2791    warn    V556
The values of different enum types are compared: clip->clipType() ==
ClipType::Text. Types: DataType, ProducerType.
/home/n/kde/src/multimedia/kdenlive/src/bin/bin.cpp     2791    warn    V556
The values of different enum types are compared. Types: DataType, ProducerType.
/home/n/kde/src/multimedia/kdenlive/src/bin/bin.cpp     2861    warn    V556
The values of different enum types are compared: clip->clipType() ==
ClipType::SlideShow. Types: DataType, ProducerType.
/home/n/kde/src/multimedia/kdenlive/src/bin/bin.cpp     2864    warn    V556
The values of different enum types are compared: clip->clipType() ==
ClipType::QText. Types: DataType, ProducerType.
/home/n/kde/src/multimedia/kdenlive/src/bin/bin.cpp     4013    warn    V556
The values of different enum types are compared: switch(ENUM_TYPE_A) { case
ENUM_TYPE_B: ... }. Types: DataType, ProducerType.
/home/n/kde/src/multimedia/kdenlive/src/bin/bin.cpp     4014    warn    V556
The values of different enum types are compared: switch(ENUM_TYPE_A) { case
ENUM_TYPE_B: ... }. Types: DataType, ProducerType.
/home/n/kde/src/multimedia/kdenlive/src/bin/bin.cpp     4017    warn    V556
The values of different enum types are compared: switch(ENUM_TYPE_A) { case
ENUM_TYPE_B: ... }. Types: DataType, ProducerType.
/home/n/kde/src/multimedia/kdenlive/src/bin/bin.cpp     4048    warn    V556
The values of different enum types are compared: switch(ENUM_TYPE_A) { case
ENUM_TYPE_B: ... }. Types: DataType, ProducerType.
/home/n/kde/src/multimedia/kdenlive/src/bin/bin.cpp     4079    warn    V556
The values of different enum types are compared: switch(ENUM_TYPE_A) { case
ENUM_TYPE_B: ... }. Types: DataType, ProducerType.
/home/n/kde/src/multimedia/kdenlive/src/bin/bin.cpp     4473    warn    V612 An
unconditional 'break' within a loop.
/home/n/kde/src/multimedia/kdenlive/src/bin/bin.cpp     4554    warn    V556
The values of different enum types are compared: clp->clipType() ==
ClipType::AV. Types: DataType, ProducerType.
/home/n/kde/src/multimedia/kdenlive/src/bin/bin.cpp     4554    warn    V556
The values of different enum types are compared: clp->clipType() ==
ClipType::Video. Types: DataType, ProducerType.
/home/n/kde/src/multimedia/kdenlive/src/bin/bin.cpp     4554    warn    V556
The values of different enum types are compared: clp->clipType() ==
ClipType::Playlist. Types: DataType, ProducerType.
/home/n/kde/src/multimedia/kdenlive/src/bin/bin.cpp     4872    warn    V556
The values of different enum types are compared: clip->clipType() !=
ClipType::Audio. Types: DataType, ProducerType.
/home/n/kde/src/multimedia/kdenlive/src/bin/bin.cpp     636     err     V730
Not all members of a class are initialized inside the constructor. Consider
inspecting: m_dragType.
/home/n/kde/src/multimedia/kdenlive/src/dialogs/renderpresetdialog.cpp  262    
warn    V636 The '24000 / 1001' expression was implicitly cast from 'int' type
to 'double' type. Consider utilizing an explicit type cast to avoid the loss of
a fractional part. An example: double A = (double)(X) / Y;.
/home/n/kde/src/multimedia/kdenlive/src/dialogs/renderpresetdialog.cpp  265    
warn    V636 The '30000 / 1001' expression was implicitly cast from 'int' type
to 'double' type. Consider utilizing an explicit type cast to avoid the loss of
a fractional part. An example: double A = (double)(X) / Y;.
/home/n/kde/src/multimedia/kdenlive/src/dialogs/renderpresetdialog.cpp  268    
warn    V636 The '48000 / 1001' expression was implicitly cast from 'int' type
to 'double' type. Consider utilizing an explicit type cast to avoid the loss of
a fractional part. An example: double A = (double)(X) / Y;.
/home/n/kde/src/multimedia/kdenlive/src/dialogs/renderpresetdialog.cpp  271    
warn    V636 The '60000 / 1001' expression was implicitly cast from 'int' type
to 'double' type. Consider utilizing an explicit type cast to avoid the loss of
a fractional part. An example: double A = (double)(X) / Y;.
/home/n/kde/src/multimedia/kdenlive/src/dialogs/renderwidget.cpp        890    
err     V567 Unspecified behavior. The order of argument evaluation is not
defined for 'replace' function. Consider inspecting the 'Size' variable.
/home/n/kde/src/multimedia/kdenlive/src/dialogs/renderwidget.cpp        1405   
err     V567 Unspecified behavior. The order of argument evaluation is not
defined for 'replace' function. Consider inspecting the 'Size' variable.
/home/n/kde/src/multimedia/kdenlive/src/dialogs/renderwidget.cpp        1406   
err     V567 Unspecified behavior. The order of argument evaluation is not
defined for 'replace' function. Consider inspecting the 'Size' variable.
/home/n/kde/src/multimedia/kdenlive/src/dialogs/renderwidget.cpp        1425   
err     V567 Unspecified behavior. The order of argument evaluation is not
defined for 'replace' function. Consider inspecting the 'Size' variable.
/home/n/kde/src/multimedia/kdenlive/src/dialogs/renderwidget.cpp        1426   
err     V567 Unspecified behavior. The order of argument evaluation is not
defined for 'replace' function. Consider inspecting the 'Size' variable.
/home/n/kde/src/multimedia/kdenlive/src/dialogs/renderwidget.cpp        1495   
err     V773 The function was exited without releasing the 'item' pointer. A
memory leak is possible.
/home/n/kde/src/multimedia/kdenlive/src/dialogs/renderwidget.cpp        1563   
err     V773 Visibility scope of the 'notify' pointer was exited without
releasing the memory. A memory leak is possible.
/home/n/kde/src/multimedia/kdenlive/src/dialogs/renderwidget.cpp        1578   
err     V773 Visibility scope of the 'item' pointer was exited without
releasing the memory. A memory leak is possible.
/home/n/kde/src/multimedia/kdenlive/src/dialogs/renderwidget.cpp        1741   
warn    V547 Expression '!renderItem' is always true.
/home/n/kde/src/multimedia/kdenlive/src/dialogs/textbasededit.cpp       825    
warn    V556 The values of different enum types are compared: clip->clipType()
== ClipType::Playlist. Types: DataType, ProducerType.
/home/n/kde/src/multimedia/kdenlive/src/dialogs/wizard.cpp      498     err    
V773 The 'consumer' pointer was assigned values twice without releasing the
memory. A memory leak is possible.
/home/n/kde/src/multimedia/kdenlive/src/dialogs/timeremap.cpp   1805    warn   
V556 The values of different enum types are compared: clip->clipType() !=
ClipType::Playlist. Types: DataType, ProducerType.
/home/n/kde/src/multimedia/kdenlive/src/dialogs/timeremap.cpp   1819    warn   
V556 The values of different enum types are compared: clip->clipType() ==
ClipType::Playlist. Types: DataType, ProducerType.
/home/n/kde/src/multimedia/kdenlive/src/dialogs/timeremap.cpp   1811    warn   
V547 Expression 'clip != nullptr' is always true.
/home/n/kde/src/multimedia/kdenlive/src/dialogs/timeremap.cpp   33      warn   
V730 Not all members of a class are initialized inside the constructor.
Consider inspecting: m_startPos, m_oldInFrame, m_sourceDuration,
m_lastMaxDuration, m_maxLength, m_hoverZoomIn, ...
/home/n/kde/src/multimedia/kdenlive/src/effects/effectlist/model/effectfilter.cpp
      11      err     V730 Not all members of a class are initialized inside
the constructor. Consider inspecting: m_type_value.
/home/n/kde/src/multimedia/kdenlive/src/doc/documentchecker.cpp 548     warn   
V581 The conditional expressions of the 'if' statements situated alongside each
other are identical. Check lines: 538, 548.
/home/n/kde/src/multimedia/kdenlive/src/doc/documentchecker.cpp 582     warn   
V581 The conditional expressions of the 'if' statements situated alongside each
other are identical. Check lines: 555, 582.
/home/n/kde/src/multimedia/kdenlive/src/bin/binplaylist.hpp     15      warn   
V690 The 'Playlist' class implements a copy constructor, but lacks the copy
assignment operator. It is dangerous to use such a class.
/home/n/kde/src/multimedia/kdenlive/src/bin/binplaylist.hpp     17      warn   
V690 The 'Tractor' class implements a copy constructor, but lacks the copy
assignment operator. It is dangerous to use such a class.
/home/n/kde/src/multimedia/kdenlive/src/doc/kdenlivedoc.cpp     509     err    
V567 Unspecified behavior. The order of argument evaluation is not defined for
'QPoint' function. Consider inspecting the 'Size' variable.
/home/n/kde/src/multimedia/kdenlive/src/doc/kdenlivedoc.cpp     520     err    
V567 Unspecified behavior. The order of argument evaluation is not defined for
'QPoint' function. Consider inspecting the 'Size' variable.
/home/n/kde/src/multimedia/kdenlive/src/doc/kdenlivedoc.cpp     731     warn   
V556 The values of different enum types are compared: projClip->clipType() ==
ClipType::Text. Types: DataType, ProducerType.
/home/n/kde/src/multimedia/kdenlive/src/doc/kdenlivedoc.cpp     1011    warn   
V581 The conditional expressions of the 'if' statements situated alongside each
other are identical. Check lines: 1008, 1011.
/home/n/kde/src/multimedia/kdenlive/src/doc/kdenlivedoc.cpp     128     warn   
V730 It is possible that not all members of a class are initialized inside the
constructor. Consider inspecting: m_sameProjectFolder.
/home/n/kde/src/multimedia/kdenlive/src/jobs/audiolevelstask.cpp        48     
warn    V668 There is no sense in testing the 'task' pointer against null, as
the memory was allocated using the 'new' operator. The exception will be
generated in the case of memory allocation error.
/home/n/kde/src/multimedia/kdenlive/src/jobs/abstracttask.cpp   37      err    
V730 Not all members of a class are initialized inside the constructor.
Consider inspecting: m_successful.
/home/n/kde/src/multimedia/kdenlive/src/jobs/cachetask.cpp      44      warn   
V668 There is no sense in testing the 'task' pointer against null, as the
memory was allocated using the 'new' operator. The exception will be generated
in the case of memory allocation error.
/home/n/kde/src/multimedia/kdenlive/src/jobs/cachetask.cpp      54      warn   
V556 The values of different enum types are compared: binClip->clipType() !=
ClipType::Audio. Types: DataType, ProducerType.
/home/n/kde/src/multimedia/kdenlive/src/jobs/proxytask.cpp      38      warn   
V668 There is no sense in testing the 'task' pointer against null, as the
memory was allocated using the 'new' operator. The exception will be generated
in the case of memory allocation error.
/home/n/kde/src/multimedia/kdenlive/src/jobs/proxytask.cpp      108     err    
V567 Unspecified behavior. The order of argument evaluation is not defined for
'replace' function. Consider inspecting the 'Size' variable.
/home/n/kde/src/multimedia/kdenlive/src/jobs/proxytask.cpp      109     err    
V567 Unspecified behavior. The order of argument evaluation is not defined for
'replace' function. Consider inspecting the 'Size' variable.
/home/n/kde/src/multimedia/kdenlive/src/jobs/proxytask.cpp      305     err    
V567 Unspecified behavior. The order of argument evaluation is not defined for
'replace' function. Consider inspecting the 'Size' variable.
/home/n/kde/src/multimedia/kdenlive/src/jobs/proxytask.cpp      306     err    
V567 Unspecified behavior. The order of argument evaluation is not defined for
'replace' function. Consider inspecting the 'Size' variable.
/home/n/kde/src/multimedia/kdenlive/src/jobs/filtertask.cpp     47      warn   
V668 There is no sense in testing the 'task' pointer against null, as the
memory was allocated using the 'new' operator. The exception will be generated
in the case of memory allocation error.
/home/n/kde/src/multimedia/kdenlive/src/jobs/cuttask.cpp        183     warn   
V668 There is no sense in testing the 'task' pointer against null, as the
memory was allocated using the 'new' operator. The exception will be generated
in the case of memory allocation error.
/home/n/kde/src/multimedia/kdenlive/src/jobs/scenesplittask.cpp 177     err    
V561 It's probably better to assign value to 'binClip' variable than to declare
it anew. Previous declaration: scenesplittask.cpp, line 115.
/home/n/kde/src/multimedia/kdenlive/src/jobs/cliploadtask.cpp   168     warn   
V668 There is no sense in testing the 'blur' pointer against null, as the
memory was allocated using the 'new' operator. The exception will be generated
in the case of memory allocation error.
/home/n/kde/src/multimedia/kdenlive/src/jobs/cliploadtask.cpp   172     warn   
V668 There is no sense in testing the 'blur' pointer against null, as the
memory was allocated using the 'new' operator. The exception will be generated
in the case of memory allocation error.
/home/n/kde/src/multimedia/kdenlive/src/jobs/cliploadtask.cpp   178     warn   
V668 There is no sense in testing the 'filter' pointer against null, as the
memory was allocated using the 'new' operator. The exception will be generated
in the case of memory allocation error.
/home/n/kde/src/multimedia/kdenlive/src/jobs/cliploadtask.cpp   193     warn   
V668 There is no sense in testing the 'filter' pointer against null, as the
memory was allocated using the 'new' operator. The exception will be generated
in the case of memory allocation error.
/home/n/kde/src/multimedia/kdenlive/src/jobs/cliploadtask.cpp   217     warn   
V668 There is no sense in testing the 'filter' pointer against null, as the
memory was allocated using the 'new' operator. The exception will be generated
in the case of memory allocation error.
/home/n/kde/src/multimedia/kdenlive/src/jobs/cliploadtask.cpp   253     warn   
V668 There is no sense in testing the 'thumbProd' pointer against null, as the
memory was allocated using the 'new' operator. The exception will be generated
in the case of memory allocation error.
/home/n/kde/src/multimedia/kdenlive/src/jobs/cliploadtask.cpp   486     warn   
V547 Expression 'producer' is always true.
/home/n/kde/src/multimedia/kdenlive/src/jobs/transcodetask.cpp  50      warn   
V668 There is no sense in testing the 'task' pointer against null, as the
memory was allocated using the 'new' operator. The exception will be generated
in the case of memory allocation error.
/home/n/kde/src/multimedia/kdenlive/src/monitor/scopes/monitoraudiolevel.cpp   
21      err     V730 Not all members of a class are initialized inside the
constructor. Consider inspecting: m_maxDb.
/home/n/kde/src/multimedia/kdenlive/src/monitor/monitorproxy.cpp        459    
warn    V519 The 'm_boundsCount' variable is assigned values twice
successively. Perhaps this is a mistake. Check lines: 455, 459.
/home/n/kde/src/multimedia/kdenlive/src/monitor/recmanager.cpp  396     warn   
V668 There is no sense in testing the 'prod' pointer against null, as the
memory was allocated using the 'new' operator. The exception will be generated
in the case of memory allocation error.
/home/n/kde/src/multimedia/kdenlive/src/monitor/monitormanager.cpp      488    
err     V567 Unspecified behavior. The order of argument evaluation is not
defined for 'addAction' function. Consider inspecting the 'Size' variable.
/home/n/kde/src/multimedia/kdenlive/src/monitor/monitormanager.cpp      493    
err     V567 Unspecified behavior. The order of argument evaluation is not
defined for 'addAction' function. Consider inspecting the 'Size' variable.
/home/n/kde/src/multimedia/kdenlive/src/monitor/monitormanager.cpp      546    
err     V567 Unspecified behavior. The order of argument evaluation is not
defined for 'addAction' function. Consider inspecting the 'Size' variable.
/home/n/kde/src/multimedia/kdenlive/src/monitor/monitormanager.cpp      600    
err     V567 Unspecified behavior. The order of argument evaluation is not
defined for 'addAction' function. Consider inspecting the 'Size' variable.
/home/n/kde/src/multimedia/kdenlive/src/monitor/monitor.cpp     1134    warn   
V556 The values of different enum types are compared. Types: DataType,
ProducerType.
/home/n/kde/src/multimedia/kdenlive/src/monitor/monitor.cpp     2170    warn   
V668 There is no sense in testing the 'm_splitEffect' pointer against null, as
the memory was allocated using the 'new' operator. The exception will be
generated in the case of memory allocation error.
/home/n/kde/src/multimedia/kdenlive/src/monitor/monitor.cpp     2222    warn   
V668 There is no sense in testing the 'm_splitEffect' pointer against null, as
the memory was allocated using the 'new' operator. The exception will be
generated in the case of memory allocation error.
/home/n/kde/src/multimedia/kdenlive/src/profiles/profilemodel.cpp       177    
warn    V636 The 'm_frame_rate_num / m_frame_rate_den' expression was
implicitly cast from 'int' type to 'double' type. Consider utilizing an
explicit type cast to avoid the loss of a fractional part. An example: double A
= (double)(X) / Y;.
/home/n/kde/src/multimedia/kdenlive/src/profiles/profilemodel.cpp       178    
warn    V636 The expression was implicitly cast from 'int' type to 'double'
type. Consider utilizing an explicit type cast to avoid the loss of a
fractional part. An example: double A = (double)(X) / Y;.
/home/n/kde/src/multimedia/kdenlive/src/profiles/profilemodel.cpp       179    
warn    V636 The expression was implicitly cast from 'int' type to 'double'
type. Consider utilizing an explicit type cast to avoid the loss of a
fractional part. An example: double A = (double)(X) / Y;.
/home/n/kde/src/multimedia/kdenlive/src/doc/documentvalidator.cpp       1181   
err     V567 Unspecified behavior. The order of argument evaluation is not
defined for 'setAttribute' function. Consider inspecting the 'Size' variable.
/home/n/kde/src/multimedia/kdenlive/src/doc/documentvalidator.cpp       1513   
err     V567 Unspecified behavior. The order of argument evaluation is not
defined for 'replace' function. Consider inspecting the 'Size' variable.
/home/n/kde/src/multimedia/kdenlive/src/renderpresets/renderpresetrepository.cpp
       50      warn    V668 There is no sense in testing the 'consumer' pointer
against null, as the memory was allocated using the 'new' operator. The
exception will be generated in the case of memory allocation error.
/home/n/kde/src/multimedia/kdenlive/src/renderpresets/renderpresetrepository.cpp
       253     err     V567 Unspecified behavior. The order of argument
evaluation is not defined for 'RenderPresetModel' function. Consider inspecting
the 'Size' variable.
/home/n/kde/src/multimedia/kdenlive/src/scopes/abstractscopewidget.cpp  357    
err     V781 The value of the 'movement.x()' variable is checked after it was
used. Perhaps there is a mistake in program logic. Check lines: 357, 359.
/home/n/kde/src/multimedia/kdenlive/src/project/dialogs/projectsettings.cpp    
410     warn    V556 The values of different enum types are compared:
switch(ENUM_TYPE_A) { case ENUM_TYPE_B: ... }. Types: DataType, ProducerType.
/home/n/kde/src/multimedia/kdenlive/src/project/dialogs/projectsettings.cpp    
413     warn    V556 The values of different enum types are compared:
switch(ENUM_TYPE_A) { case ENUM_TYPE_B: ... }. Types: DataType, ProducerType.
/home/n/kde/src/multimedia/kdenlive/src/project/dialogs/projectsettings.cpp    
421     warn    V556 The values of different enum types are compared:
switch(ENUM_TYPE_A) { case ENUM_TYPE_B: ... }. Types: DataType, ProducerType.
/home/n/kde/src/multimedia/kdenlive/src/project/dialogs/projectsettings.cpp    
431     warn    V556 The values of different enum types are compared:
switch(ENUM_TYPE_A) { case ENUM_TYPE_B: ... }. Types: DataType, ProducerType.
/home/n/kde/src/multimedia/kdenlive/src/project/dialogs/projectsettings.cpp    
434     warn    V556 The values of different enum types are compared:
switch(ENUM_TYPE_A) { case ENUM_TYPE_B: ... }. Types: DataType, ProducerType.
/home/n/kde/src/multimedia/kdenlive/src/project/dialogs/projectsettings.cpp    
437     warn    V556 The values of different enum types are compared:
switch(ENUM_TYPE_A) { case ENUM_TYPE_B: ... }. Types: DataType, ProducerType.
/home/n/kde/src/multimedia/kdenlive/src/project/dialogs/projectsettings.cpp    
445     warn    V556 The values of different enum types are compared:
switch(ENUM_TYPE_A) { case ENUM_TYPE_B: ... }. Types: DataType, ProducerType.
/home/n/kde/src/multimedia/kdenlive/src/project/projectmanager.cpp      675    
err     V614 Potentially uninitialized pointer 'doc' used.
/home/n/kde/src/multimedia/kdenlive/src/project/projectmanager.cpp      701    
err     V567 Unspecified behavior. The order of argument evaluation is not
defined for 'updateTimeline' function. Consider inspecting the 'Size' variable.
/home/n/kde/src/multimedia/kdenlive/src/project/projectmanager.cpp      755    
err     V595 The 'm_project' pointer was utilized before it was verified
against nullptr. Check lines: 755, 758.
/home/n/kde/src/multimedia/kdenlive/src/mainwindow.cpp  696     err     V567
Unspecified behavior. The order of argument evaluation is not defined for
'setupMenu' function. Consider inspecting the 'Size' variable.
/home/n/kde/src/multimedia/kdenlive/src/mainwindow.cpp  978     err     V567
Unspecified behavior. The order of argument evaluation is not defined for
'setupMenu' function. Consider inspecting the 'Size' variable.
/home/n/kde/src/multimedia/kdenlive/src/mainwindow.cpp  1406    err     V567
Unspecified behavior. The order of argument evaluation is not defined for
'addAction' function. Consider inspecting the 'Size' variable.
/home/n/kde/src/multimedia/kdenlive/src/mainwindow.cpp  1411    err     V567
Unspecified behavior. The order of argument evaluation is not defined for
'addAction' function. Consider inspecting the 'Size' variable.
/home/n/kde/src/multimedia/kdenlive/src/mainwindow.cpp  1416    err     V567
Unspecified behavior. The order of argument evaluation is not defined for
'addAction' function. Consider inspecting the 'Size' variable.
/home/n/kde/src/multimedia/kdenlive/src/mainwindow.cpp  1421    err     V567
Unspecified behavior. The order of argument evaluation is not defined for
'addAction' function. Consider inspecting the 'Size' variable.
/home/n/kde/src/multimedia/kdenlive/src/mainwindow.cpp  1426    err     V567
Unspecified behavior. The order of argument evaluation is not defined for
'addAction' function. Consider inspecting the 'Size' variable.
/home/n/kde/src/multimedia/kdenlive/src/mainwindow.cpp  1498    err     V567
Unspecified behavior. The order of argument evaluation is not defined for
'addAction' function. Consider inspecting the 'Size' variable.
/home/n/kde/src/multimedia/kdenlive/src/timeline2/model/clipmodel.cpp   146    
warn    V1004 The 'binClip' pointer was used unsafely after it was verified
against nullptr. Check lines: 142, 146.
/home/n/kde/src/multimedia/kdenlive/src/timeline2/model/clipmodel.cpp   1311   
err     V567 Unspecified behavior. The order of argument evaluation is not
defined for 'setAttribute' function. Consider inspecting the 'Size' variable.
/home/n/kde/src/multimedia/kdenlive/src/timeline2/model/clipmodel.cpp   1313   
err     V567 Unspecified behavior. The order of argument evaluation is not
defined for 'setAttribute' function. Consider inspecting the 'Size' variable.
/home/n/kde/src/multimedia/kdenlive/src/timeline2/model/clipmodel.cpp   1470   
err     V567 Unspecified behavior. The order of argument evaluation is not
defined for 'setAttribute' function. Consider inspecting the 'Size' variable.
/home/n/kde/src/multimedia/kdenlive/src/timeline2/model/clipmodel.cpp   40     
err     V670 The uninitialized class member 'm_lock' is used to initialize the
'm_hasTimeRemap' member. Remember that members are initialized in the order of
their declarations inside a class.
/home/n/kde/src/multimedia/kdenlive/src/timeline2/model/builders/meltBuilder.cpp
       159     warn    V728 An excessive check can be simplified. The '||'
operator is surrounded by opposite expressions '!audioTrack' and 'audioTrack'. 
/home/n/kde/src/multimedia/kdenlive/src/timeline2/model/builders/meltBuilder.cpp
       339     warn    V728 An excessive check can be simplified. The '||'
operator is surrounded by opposite expressions '!audioTrack' and 'audioTrack'. 
/home/n/kde/src/multimedia/kdenlive/src/scopes/scopemanager.cpp 31      warn   
V730 It is possible that not all members of a class are initialized inside the
constructor. Consider inspecting: m_signalMapper.
/home/n/kde/src/multimedia/kdenlive/src/timeline2/view/qmltypes/thumbnailprovider.cpp
  39      err     V595 The 'size' pointer was utilized before it was verified
against nullptr. Check lines: 39, 49.
/home/n/kde/src/multimedia/kdenlive/src/timeline2/model/trackmodel.cpp  581    
warn    V778 Two similar code fragments were found. Perhaps, this is a typo and
'other_track' variable should be used instead of 'track'.
/home/n/kde/src/multimedia/kdenlive/src/timeline2/model/trackmodel.cpp  2119   
warn    V1048 The 'startMix.firstClipId' variable was assigned the same value.
/home/n/kde/src/multimedia/kdenlive/src/timeline2/model/trackmodel.cpp  2120   
warn    V1048 The 'startMix.secondClipId' variable was assigned the same value.
/home/n/kde/src/multimedia/kdenlive/src/timeline2/model/trackmodel.cpp  2141   
warn    V1048 The 'endMix.firstClipId' variable was assigned the same value.
/home/n/kde/src/multimedia/kdenlive/src/timeline2/model/trackmodel.cpp  2142   
warn    V1048 The 'endMix.secondClipId' variable was assigned the same value.
/home/n/kde/src/multimedia/kdenlive/src/timeline2/model/timelinefunctions.cpp  
692     err     V1065 Expression can be simplified, check
'mixData.first.secondClipInOut.first' and similar operands.
/home/n/kde/src/multimedia/kdenlive/src/timeline2/model/timelinefunctions.cpp  
717     err     V1065 Expression can be simplified, check
'mixData.second.firstClipInOut.second' and similar operands.
/home/n/kde/src/multimedia/kdenlive/src/timeline2/model/timelinemodel.cpp      
163     warn    V711 It is dangerous to create a local variable within a loop
with a same name as a variable controlling this loop.
/home/n/kde/src/multimedia/kdenlive/src/timeline2/model/timelinemodel.cpp      
1447    warn    V560 A part of conditional expression is always true:
sourceTrackId != - 1.
/home/n/kde/src/multimedia/kdenlive/src/timeline2/model/timelinemodel.cpp      
2886    err     V792 The 'requestItemResize' function located to the right of
the operator '&' will be called regardless of the value of the left operand.
Perhaps, it is better to use '&&'.
/home/n/kde/src/multimedia/kdenlive/src/timeline2/model/timelinemodel.cpp      
3763    warn    V788 The variable 'affectAllTracks', captured in a lambda
expression, has a constant value.
/home/n/kde/src/multimedia/kdenlive/src/timeline2/model/timelinemodel.cpp      
3765    warn    V1051 Consider checking for misprints. It's possible that the
'trackId' should be used inside 'getItemPosition' function.
/home/n/kde/src/multimedia/kdenlive/src/timeline2/model/timelinemodel.cpp      
5735    warn    V560 A part of conditional expression is always false:
foundCount > 1.
/home/n/kde/src/multimedia/kdenlive/src/titler/titledocument.cpp        496    
err     V567 Unspecified behavior. The order of argument evaluation is not
defined for 'QPen' function. Consider inspecting the 'Size' variable.
/home/n/kde/src/multimedia/kdenlive/src/titler/titledocument.cpp        697    
err     V567 Unspecified behavior. The order of argument evaluation is not
defined for 'setOffset' function. Consider inspecting the 'Size' variable.
/home/n/kde/src/multimedia/kdenlive/src/transitions/transitionlist/model/transitionfilter.cpp
  10      err     V730 Not all members of a class are initialized inside the
constructor. Consider inspecting: m_type_value.
/home/n/kde/src/multimedia/kdenlive/src/timeline2/view/timelinewidget.cpp      
450     err     V781 The value of the 'ix' index is checked after it was used.
Perhaps there is a mistake in program logic.
/home/n/kde/src/multimedia/kdenlive/src/timeline2/view/timelinecontroller.cpp  
312     err     V539 Consider inspecting iterators which are being passed as
arguments to function 'sort'.
/home/n/kde/src/multimedia/kdenlive/src/timeline2/view/timelinecontroller.cpp  
510     warn    V547 Expression 'position > minimumPos' is always true.
/home/n/kde/src/multimedia/kdenlive/src/timeline2/view/timelinecontroller.cpp  
528     warn    V1051 Consider checking for misprints. It's possible that the
'duration' should be checked here.
/home/n/kde/src/multimedia/kdenlive/src/timeline2/view/timelinecontroller.cpp  
1194    warn    V592 The expression was enclosed by parentheses twice:
((expression)). One pair of parentheses is unnecessary or misprint is present.
/home/n/kde/src/multimedia/kdenlive/src/timeline2/view/timelinecontroller.cpp  
2489    warn    V519 The 'm_model->m_overlayTrackCount' variable is assigned
values twice successively. Perhaps this is a mistake. Check lines: 2475, 2489.
/home/n/kde/src/multimedia/kdenlive/src/timeline2/view/timelinecontroller.cpp  
2598    warn    V601 The bool type is implicitly cast to the integer type.
Inspect the first argument.
/home/n/kde/src/multimedia/kdenlive/src/timeline2/view/timelinecontroller.cpp  
2757    warn    V601 The bool type is implicitly cast to the integer type.
Inspect the first argument.
/home/n/kde/src/multimedia/kdenlive/src/timeline2/view/timelinecontroller.cpp  
3360    err     V502 Perhaps the '?:' operator works in a different way than it
was expected. The '?:' operator has a lower priority than the '+' operator.
/home/n/kde/src/multimedia/kdenlive/src/timeline2/view/timelinecontroller.cpp  
3647    warn    V560 A part of conditional expression is always false: id == -
1.
/home/n/kde/src/multimedia/kdenlive/src/timeline2/view/timelinecontroller.cpp  
3759    warn    V556 The values of different enum types are compared:
binClip->clipType() != ClipType::Text. Types: DataType, ProducerType.
/home/n/kde/src/multimedia/kdenlive/src/timeline2/view/timelinecontroller.cpp  
3759    warn    V556 The values of different enum types are compared. Types:
DataType, ProducerType.
/home/n/kde/src/multimedia/kdenlive/src/timeline2/view/timelinecontroller.cpp  
4418    err     V674 The '0.5' literal of the 'double' type is compared to a
value of the 'int' type.
/home/n/kde/src/multimedia/kdenlive/src/utils/thumbnailcache.cpp        340    
err     V595 The 'ok' pointer was utilized before it was verified against
nullptr. Check lines: 340, 341.
/home/n/kde/src/multimedia/kdenlive/src/widgets/geometrywidget.cpp      188    
warn    V636 The expression was implicitly cast from 'int' type to 'double'
type. Consider utilizing an explicit type cast to avoid the loss of a
fractional part. An example: double A = (double)(X) / Y;.
/home/n/kde/src/multimedia/kdenlive/tests/catch.hpp     2245    err     V591
Non-void function should return a value.
/home/n/kde/src/multimedia/kdenlive/tests/catch.hpp     2252    err     V591
Non-void function should return a value.
/home/n/kde/src/multimedia/kdenlive/tests/catch.hpp     2259    err     V591
Non-void function should return a value.
/home/n/kde/src/multimedia/kdenlive/tests/catch.hpp     2266    err     V591
Non-void function should return a value.
/home/n/kde/src/multimedia/kdenlive/tests/catch.hpp     2273    err     V591
Non-void function should return a value.
/home/n/kde/src/multimedia/kdenlive/tests/catch.hpp     2280    err     V591
Non-void function should return a value.
/home/n/kde/src/multimedia/kdenlive/tests/catch.hpp     2287    err     V591
Non-void function should return a value.
/home/n/kde/src/multimedia/kdenlive/tests/catch.hpp     2294    err     V591
Non-void function should return a value.
/home/n/kde/src/multimedia/kdenlive/tests/catch.hpp     2391    err     V591
Non-void function should return a value.
/home/n/kde/src/multimedia/kdenlive/tests/catch.hpp     2398    err     V591
Non-void function should return a value.
/home/n/kde/src/multimedia/kdenlive/tests/catch.hpp     4379    warn    V1004
The 'IMutableContext::currentContext' pointer was used unsafely after it was
verified against nullptr. Check lines: 4376, 4379.
/home/n/kde/src/multimedia/kdenlive/tests/catch.hpp     7858    warn    V1068
Do not define an unnamed namespace in a header file.
/home/n/kde/src/multimedia/kdenlive/tests/catch.hpp     8182    warn    V1068
Do not define an unnamed namespace in a header file.
/home/n/kde/src/multimedia/kdenlive/tests/catch.hpp     8965    warn    V794
The assignment operator should be protected from the case of 'this == &other'.
/home/n/kde/src/multimedia/kdenlive/tests/catch.hpp     10209   warn    V536 Be
advised that the utilized constant value is represented by an octal form. Oct:
'\\033', Dec: 27.
/home/n/kde/src/multimedia/kdenlive/tests/catch.hpp     10172   warn    V1068
Do not define an unnamed namespace in a header file.
/home/n/kde/src/multimedia/kdenlive/tests/catch.hpp     10584   warn    V1068
Do not define an unnamed namespace in a header file.
/home/n/kde/src/multimedia/kdenlive/tests/catch.hpp     10773   warn    V1068
Do not define an unnamed namespace in a header file.
/home/n/kde/src/multimedia/kdenlive/tests/catch.hpp     11506   err     V503
This is a nonsensical comparison: pointer < 0.
/home/n/kde/src/multimedia/kdenlive/tests/catch.hpp     11479   warn    V1068
Do not define an unnamed namespace in a header file.
/home/n/kde/src/multimedia/kdenlive/tests/catch.hpp     12209   warn    V1068
Do not define an unnamed namespace in a header file.
/home/n/kde/src/multimedia/kdenlive/tests/catch.hpp     13291   warn    V1068
Do not define an unnamed namespace in a header file.
/home/n/kde/src/multimedia/kdenlive/tests/catch.hpp     13804   warn    V1068
Do not define an unnamed namespace in a header file.
/home/n/kde/src/multimedia/kdenlive/tests/catch.hpp     14016   warn    V1068
Do not define an unnamed namespace in a header file.
/home/n/kde/src/multimedia/kdenlive/tests/catch.hpp     15015   warn    V1068
Do not define an unnamed namespace in a header file.
/home/n/kde/src/multimedia/kdenlive/tests/catch.hpp     15435   warn    V1068
Do not define an unnamed namespace in a header file.
/home/n/kde/src/multimedia/kdenlive/tests/catch.hpp     15575   warn    V728 An
excessive check can be simplified. The '||' operator is surrounded by opposite
expressions 'value < 0x80' and '0x80 <= value'. 
/home/n/kde/src/multimedia/kdenlive/tests/catch.hpp     15828   warn    V1068
Do not define an unnamed namespace in a header file.
/home/n/kde/src/multimedia/kdenlive/tests/catch.hpp     15849   warn    V1068
Do not define an unnamed namespace in a header file.
/home/n/kde/src/multimedia/kdenlive/tests/catch.hpp     16125   warn    V1068
Do not define an unnamed namespace in a header file.
/home/n/kde/src/multimedia/kdenlive/tests/catch.hpp     16800   warn    V1068
Do not define an unnamed namespace in a header file.
/home/n/kde/src/multimedia/kdenlive/tests/catch.hpp     4404    warn    V730
Not all members of a class are initialized inside the constructor. Consider
inspecting: storage.
/home/n/kde/src/multimedia/kdenlive/tests/catch.hpp     4405    warn    V730
Not all members of a class are initialized inside the constructor. Consider
inspecting: storage.
/home/n/kde/src/multimedia/kdenlive/tests/catch.hpp     4408    warn    V730
Not all members of a class are initialized inside the constructor. Consider
inspecting: storage.
/home/n/kde/build-pvs/multimedia/kdenlive/tests/tests_definitions.h     3      
err     V1043 A global object variable 'sourcesPath' is declared in the header.
Multiple copies of it will be created in all translation units that include
this header file.
/home/n/kde/src/multimedia/kdenlive/tests/fakeit.hpp    6290    err     V522
Dereferencing of the null pointer 'ptr' might take place.
/home/n/kde/src/multimedia/kdenlive/tests/fakeit.hpp    8139    err     V1047
Lifetime of the lambda is greater than lifetime of the local variable
'instance' captured by reference.
/home/n/kde/src/multimedia/kdenlive/tests/fakeit.hpp    8139    err     V558
Function returns the reference to temporary local object: instance.
/home/n/kde/src/multimedia/kdenlive/tests/fakeit.hpp    8200    warn    V522
There might be dereferencing of a potential null pointer 'methodMock'.
/home/n/kde/src/multimedia/kdenlive/tests/fakeit.hpp    8209    warn    V522
There might be dereferencing of a potential null pointer 'dtorMock'.
/home/n/kde/src/multimedia/kdenlive/tests/fakeit.hpp    8702    warn    V560 A
part of conditional expression is always true: found.
/home/n/kde/src/multimedia/kdenlive/tests/catch.hpp     4404    err     V730
Not all members of a class are initialized inside the constructor. Consider
inspecting: storage.
/home/n/kde/src/multimedia/kdenlive/tests/catch.hpp     4405    err     V730
Not all members of a class are initialized inside the constructor. Consider
inspecting: storage.
/home/n/kde/src/multimedia/kdenlive/tests/catch.hpp     4408    err     V730
Not all members of a class are initialized inside the constructor. Consider
inspecting: storage.
/home/n/kde/src/multimedia/kdenlive/tests/fakeit.hpp    615     err     V730
Not all members of a class are initialized inside the constructor. Consider
inspecting: _file, _callingMethod.
/home/n/kde/src/multimedia/kdenlive/tests/fakeit.hpp    1135    err     V730
Not all members of a class are initialized inside the constructor. Consider
inspecting: _line.
/home/n/kde/src/multimedia/kdenlive/tests/fakeit.hpp    8760    err     V730
Not all members of a class are initialized inside the constructor. Consider
inspecting: _file, _testMethod.
/home/n/kde/src/multimedia/kdenlive/tests/fakeit.hpp    9099    err     V730
Not all members of a class are initialized inside the constructor. Consider
inspecting: _file, _callingMethod.
/home/n/kde/src/multimedia/kdenlive/tests/movetest.cpp  39      warn    V656
Variables 'tid1', 'tid3' are initialized through the call to the same function.
It's probably an error or un-optimized code. Check lines: 38, 39.
/home/n/kde/src/multimedia/kdenlive/src/assets/keyframes/model/keyframemodel.hpp
       108     warn    V1071 Consider inspecting the 'getKeyframe' function.
The return value is not always used. Total calls: 10, discarded results: 1.
/home/n/kde/src/multimedia/kdenlive/tests/subtitlestest.cpp     52      warn   
V656 Variables 'tid1', 'tid3' are initialized through the call to the same
function. It's probably an error or un-optimized code. Check lines: 51, 52.
/home/n/kde/src/multimedia/kdenlive/thumbnailer/mltpreview.cpp  102     err    
V1028 Possible overflow. Consider casting operands of the 'width * height * 4'
operator to the 'size_t' type, not the result.
/home/n/kde/src/multimedia/kdenlive/tests/trimmingtest.cpp      463     err    
V561 It's probably better to assign value to 'cid7' variable than to declare it
anew. Previous declaration: trimmingtest.cpp, line 48.
/home/n/kde/src/multimedia/kdenlive/src/timeline2/model/trackmodel.hpp  67     
warn    V1071 Consider inspecting the 'construct' function. The return value is
not always used. Total calls: 19, discarded results: 2.
/home/n/kde/src/multimedia/kdenlive/tests/mixtest.cpp   48      warn    V656
Variables 'tid1', 'tid3' are initialized through the call to the same function.
It's probably an error or un-optimized code. Check lines: 47, 48.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: Kubuntu 22.04
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to