maliit-framework-2.3.0-8.fc42

List of Findings

Error: COMPILER_WARNING (CWE-1023): [#def1]
maliit-framework-2.3.0-build/framework-2.3.0/connection/minputcontextconnection.cpp:563:12: warning[-Wswitch]: enumeration value ‘ImAbsolutePosition’ not handled in switch
#  561|   QVariant MInputContextConnection::inputMethodQuery(Qt::InputMethodQuery query, const QVariant &argument) const
#  562|   {
#  563|->     switch (query) {
#  564|           case Qt::ImEnabled:
#  565|               return mWidgetState.value(QStringLiteral("focusState"));

Error: COMPILER_WARNING (CWE-1023): [#def2]
maliit-framework-2.3.0-build/framework-2.3.0/connection/minputcontextconnection.cpp:563:12: warning[-Wswitch]: enumeration value ‘ImAnchorRectangle’ not handled in switch
#  561|   QVariant MInputContextConnection::inputMethodQuery(Qt::InputMethodQuery query, const QVariant &argument) const
#  562|   {
#  563|->     switch (query) {
#  564|           case Qt::ImEnabled:
#  565|               return mWidgetState.value(QStringLiteral("focusState"));

Error: COMPILER_WARNING (CWE-1023): [#def3]
maliit-framework-2.3.0-build/framework-2.3.0/connection/minputcontextconnection.cpp: scope_hint: In member function ‘QVariant MInputContextConnection::inputMethodQuery(Qt::InputMethodQuery, const QVariant&) const’
maliit-framework-2.3.0-build/framework-2.3.0/connection/minputcontextconnection.cpp:563:12: warning[-Wswitch]: enumeration value ‘ImFont’ not handled in switch
#  563 |     switch (query) {
#      |            ^
#  561|   QVariant MInputContextConnection::inputMethodQuery(Qt::InputMethodQuery query, const QVariant &argument) const
#  562|   {
#  563|->     switch (query) {
#  564|           case Qt::ImEnabled:
#  565|               return mWidgetState.value(QStringLiteral("focusState"));

Error: COMPILER_WARNING (CWE-1023): [#def4]
maliit-framework-2.3.0-build/framework-2.3.0/connection/minputcontextconnection.cpp:563:12: warning[-Wswitch]: enumeration value ‘ImInputItemClipRectangle’ not handled in switch
#  561|   QVariant MInputContextConnection::inputMethodQuery(Qt::InputMethodQuery query, const QVariant &argument) const
#  562|   {
#  563|->     switch (query) {
#  564|           case Qt::ImEnabled:
#  565|               return mWidgetState.value(QStringLiteral("focusState"));

Error: COMPILER_WARNING (CWE-1023): [#def5]
maliit-framework-2.3.0-build/framework-2.3.0/connection/minputcontextconnection.cpp:563:12: warning[-Wswitch]: enumeration value ‘ImMaximumTextLength’ not handled in switch
#  561|   QVariant MInputContextConnection::inputMethodQuery(Qt::InputMethodQuery query, const QVariant &argument) const
#  562|   {
#  563|->     switch (query) {
#  564|           case Qt::ImEnabled:
#  565|               return mWidgetState.value(QStringLiteral("focusState"));

Error: COMPILER_WARNING (CWE-1023): [#def6]
maliit-framework-2.3.0-build/framework-2.3.0/connection/minputcontextconnection.cpp:563:12: warning[-Wswitch]: enumeration value ‘ImPlatformData’ not handled in switch
#  561|   QVariant MInputContextConnection::inputMethodQuery(Qt::InputMethodQuery query, const QVariant &argument) const
#  562|   {
#  563|->     switch (query) {
#  564|           case Qt::ImEnabled:
#  565|               return mWidgetState.value(QStringLiteral("focusState"));

Error: COMPILER_WARNING (CWE-1023): [#def7]
maliit-framework-2.3.0-build/framework-2.3.0/connection/minputcontextconnection.cpp:563:12: warning[-Wswitch]: enumeration value ‘ImPreferredLanguage’ not handled in switch
#  561|   QVariant MInputContextConnection::inputMethodQuery(Qt::InputMethodQuery query, const QVariant &argument) const
#  562|   {
#  563|->     switch (query) {
#  564|           case Qt::ImEnabled:
#  565|               return mWidgetState.value(QStringLiteral("focusState"));

Error: COMPILER_WARNING (CWE-1023): [#def8]
maliit-framework-2.3.0-build/framework-2.3.0/connection/minputcontextconnection.cpp:563:12: warning[-Wswitch]: enumeration value ‘ImQueryAll’ not handled in switch
#  561|   QVariant MInputContextConnection::inputMethodQuery(Qt::InputMethodQuery query, const QVariant &argument) const
#  562|   {
#  563|->     switch (query) {
#  564|           case Qt::ImEnabled:
#  565|               return mWidgetState.value(QStringLiteral("focusState"));

Error: COMPILER_WARNING (CWE-1023): [#def9]
maliit-framework-2.3.0-build/framework-2.3.0/connection/minputcontextconnection.cpp:563:12: warning[-Wswitch]: enumeration value ‘ImQueryInput’ not handled in switch
#  561|   QVariant MInputContextConnection::inputMethodQuery(Qt::InputMethodQuery query, const QVariant &argument) const
#  562|   {
#  563|->     switch (query) {
#  564|           case Qt::ImEnabled:
#  565|               return mWidgetState.value(QStringLiteral("focusState"));

Error: COMPILER_WARNING (CWE-1023): [#def10]
maliit-framework-2.3.0-build/framework-2.3.0/connection/minputcontextconnection.cpp:563:12: warning[-Wswitch]: enumeration value ‘ImTextAfterCursor’ not handled in switch
#  561|   QVariant MInputContextConnection::inputMethodQuery(Qt::InputMethodQuery query, const QVariant &argument) const
#  562|   {
#  563|->     switch (query) {
#  564|           case Qt::ImEnabled:
#  565|               return mWidgetState.value(QStringLiteral("focusState"));

Error: COMPILER_WARNING (CWE-1023): [#def11]
maliit-framework-2.3.0-build/framework-2.3.0/connection/minputcontextconnection.cpp:563:12: warning[-Wswitch]: enumeration value ‘ImTextBeforeCursor’ not handled in switch
#  561|   QVariant MInputContextConnection::inputMethodQuery(Qt::InputMethodQuery query, const QVariant &argument) const
#  562|   {
#  563|->     switch (query) {
#  564|           case Qt::ImEnabled:
#  565|               return mWidgetState.value(QStringLiteral("focusState"));

Error: COMPILER_WARNING (CWE-477): [#def12]
maliit-framework-2.3.0-build/framework-2.3.0/examples/plugins/cxx/helloworld/helloworldinputmethod.cpp: scope_hint: In member function ‘virtual void HelloWorldInputMethod::show()’
maliit-framework-2.3.0-build/framework-2.3.0/examples/plugins/cxx/helloworld/helloworldinputmethod.cpp:92:69: warning[-Wdeprecated-declarations]: ‘const QRect QDesktopWidget::screenGeometry(int) const’ is deprecated: Use QGuiApplication::screens()
#   92 |     const QSize screenSize = QApplication::desktop()->screenGeometry().size();
#      |                              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
/usr/include/qt5/QtWidgets/QDesktopWidget:1: included_from: Included from here.
maliit-framework-2.3.0-build/framework-2.3.0/examples/plugins/cxx/helloworld/helloworldinputmethod.cpp:20: included_from: Included from here.
/usr/include/qt5/QtWidgets/qdesktopwidget.h:79:67: note: declared here
#   79 |     QT_DEPRECATED_X("Use QGuiApplication::screens()") const QRect screenGeometry(int screen = -1) const;
#      |                                                                   ^~~~~~~~~~~~~~
#   90|   
#   91|       // Set size of our container to screen size
#   92|->     const QSize screenSize = QApplication::desktop()->screenGeometry().size();
#   93|       mainWidget->parentWidget()->resize(screenSize);
#   94|   

Error: COMPILER_WARNING (CWE-477): [#def13]
maliit-framework-2.3.0-build/framework-2.3.0/examples/plugins/cxx/override/overrideinputmethod.cpp: scope_hint: In member function ‘virtual void OverrideInputMethod::show()’
maliit-framework-2.3.0-build/framework-2.3.0/examples/plugins/cxx/override/overrideinputmethod.cpp:84:70: warning[-Wdeprecated-declarations]: ‘const QRect QDesktopWidget::screenGeometry(int) const’ is deprecated: Use QGuiApplication::screens()
#   84 |     const QSize &screenSize = QApplication::desktop()->screenGeometry().size();
#      |                               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
/usr/include/qt5/QtWidgets/QDesktopWidget:1: included_from: Included from here.
maliit-framework-2.3.0-build/framework-2.3.0/examples/plugins/cxx/override/overrideinputmethod.cpp:20: included_from: Included from here.
/usr/include/qt5/QtWidgets/qdesktopwidget.h:79:67: note: declared here
#   79 |     QT_DEPRECATED_X("Use QGuiApplication::screens()") const QRect screenGeometry(int screen = -1) const;
#      |                                                                   ^~~~~~~~~~~~~~
#   82|   
#   83|       // Set size of the input method
#   84|->     const QSize &screenSize = QApplication::desktop()->screenGeometry().size();
#   85|       const QSize size(screenSize.width() - 200, 200);
#   86|   

Error: COMPILER_WARNING (CWE-1164): [#def14]
maliit-framework-2.3.0-build/framework-2.3.0/src/mimonscreenplugins.cpp:66:19: warning[-Wunused-function]: ‘QSet<QString> {anonymous}::findEnabledPlugins(const QList<MImOnScreenPlugins::SubView>&)’ defined but not used
#   66 |     QSet<QString> findEnabledPlugins(const QList<MImOnScreenPlugins::SubView> &enabledSubViews)
#      |                   ^~~~~~~~~~~~~~~~~~
#   64|       }
#   65|   
#   66|->     QSet<QString> findEnabledPlugins(const QList<MImOnScreenPlugins::SubView> &enabledSubViews)
#   67|       {
#   68|           QSet<QString> result;

Scan Properties

analyzer-version-clippy1.82.0
analyzer-version-cppcheck2.16.0
analyzer-version-gcc14.2.1
analyzer-version-gcc-analyzer15.0.0
analyzer-version-shellcheck0.10.0
analyzer-version-unicontrol0.0.2
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-58.us-west-2.compute.internal
mock-configfedora-rawhide-gcc-latest-x86_64
project-namemaliit-framework-2.3.0-8.fc42
store-results-to/tmp/tmp8ww7ck5m/maliit-framework-2.3.0-8.fc42.tar.xz
time-created2024-11-13 02:03:01
time-finished2024-11-13 02:05:16
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '-t' 'clippy,cppcheck,gcc,unicontrol,shellcheck' '-o' '/tmp/tmp8ww7ck5m/maliit-framework-2.3.0-8.fc42.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install=gcc-latest' '--gcc-analyzer-bin=/opt/gcc-latest/bin/gcc' '/tmp/tmp8ww7ck5m/maliit-framework-2.3.0-8.fc42.src.rpm'
tool-versioncsmock-3.7.1.20241107.094801.gb3f0f26.pr_192-1.el9