kf6-kuserfeedback-6.3.0-1.fc41

List of Defects

Error: CLANG_WARNING: [#def1]
kf6-kuserfeedback-6.3.0-build/kuserfeedback-6.3.0/src/cli/main.cpp:199:12: warning[cplusplus.NewDeleteLeaks]: Potential leak of memory pointed to by 'job'
#  197|       });
#  198|   
#  199|->     return app.exec();
#  200|   }

Error: COMPILER_WARNING (CWE-477): [#def2]
kf6-kuserfeedback-6.3.0-build/kuserfeedback-6.3.0/src/common/surveytargetexpression.cpp: scope_hint: In constructor ‘KUserFeedback::SurveyTargetExpression::SurveyTargetExpression(const QString&, const QVariant&, const QString&)’
kf6-kuserfeedback-6.3.0-build/kuserfeedback-6.3.0/src/common/surveytargetexpression.cpp:22:19: warning[-Wdeprecated-declarations]: ‘QVariant::Type QVariant::type() const’ is deprecated: Use typeId() or metaType().
#   22 |     if (index.type() == QVariant::Int)
#      |         ~~~~~~~~~~^~
/usr/include/qt6/QtCore/QVariant:1: included_from: Included from here.
kf6-kuserfeedback-6.3.0-build/kuserfeedback-6.3.0/src/common/surveytargetexpression.h:12: included_from: Included from here.
kf6-kuserfeedback-6.3.0-build/kuserfeedback-6.3.0/src/common/surveytargetexpression.cpp:7: included_from: Included from here.
/usr/include/qt6/QtCore/qvariant.h:432:10: note: declared here
#  432 |     Type type() const
#      |          ^~~~
#   20|       , m_sourceElement(elem)
#   21|   {
#   22|->     if (index.type() == QVariant::Int)
#   23|           m_type = ListElement;
#   24|       else if (index.type() == QVariant::String)

Error: COMPILER_WARNING (CWE-477): [#def3]
kf6-kuserfeedback-6.3.0-build/kuserfeedback-6.3.0/src/common/surveytargetexpression.cpp:24:24: warning[-Wdeprecated-declarations]: ‘QVariant::Type QVariant::type() const’ is deprecated: Use typeId() or metaType().
#   24 |     else if (index.type() == QVariant::String)
#      |              ~~~~~~~~~~^~
/usr/include/qt6/QtCore/qvariant.h:432:10: note: declared here
#  432 |     Type type() const
#      |          ^~~~
#   22|       if (index.type() == QVariant::Int)
#   23|           m_type = ListElement;
#   24|->     else if (index.type() == QVariant::String)
#   25|           m_type = MapElement;
#   26|       else

Error: COMPILER_WARNING (CWE-477): [#def4]
kf6-kuserfeedback-6.3.0-build/kuserfeedback-6.3.0/src/common/surveytargetexpressionevaluator.cpp: scope_hint: In member function ‘bool KUserFeedback::SurveyTargetExpressionEvaluator::evaluate(KUserFeedback::SurveyTargetExpression*)’
kf6-kuserfeedback-6.3.0-build/kuserfeedback-6.3.0/src/common/surveytargetexpressionevaluator.cpp:68:17: warning[-Wdeprecated-declarations]: ‘QVariant::Type QVariant::type() const’ is deprecated: Use typeId() or metaType().
#   68 |     if (lhs.type() == QVariant::Invalid || rhs.type() == QVariant::Invalid) // invalid element access can never succeed
#      |         ~~~~~~~~^~
/usr/include/qt6/QtCore/QVariant:1: included_from: Included from here.
kf6-kuserfeedback-6.3.0-build/kuserfeedback-6.3.0/src/common/surveytargetexpression.h:12: included_from: Included from here.
kf6-kuserfeedback-6.3.0-build/kuserfeedback-6.3.0/src/common/surveytargetexpressionevaluator.cpp:8: included_from: Included from here.
/usr/include/qt6/QtCore/qvariant.h:432:10: note: declared here
#  432 |     Type type() const
#      |          ^~~~
#   66|       const auto lhs = value(expression->left());
#   67|       const auto rhs = value(expression->right());
#   68|->     if (lhs.type() == QVariant::Invalid || rhs.type() == QVariant::Invalid) // invalid element access can never succeed
#   69|           return false;
#   70|       if ((lhs.type() == QVariant::String && rhs.type() != QVariant::String)

Error: COMPILER_WARNING (CWE-477): [#def5]
kf6-kuserfeedback-6.3.0-build/kuserfeedback-6.3.0/src/common/surveytargetexpressionevaluator.cpp:68:52: warning[-Wdeprecated-declarations]: ‘QVariant::Type QVariant::type() const’ is deprecated: Use typeId() or metaType().
#   68 |     if (lhs.type() == QVariant::Invalid || rhs.type() == QVariant::Invalid) // invalid element access can never succeed
#      |                                            ~~~~~~~~^~
/usr/include/qt6/QtCore/qvariant.h:432:10: note: declared here
#  432 |     Type type() const
#      |          ^~~~
#   66|       const auto lhs = value(expression->left());
#   67|       const auto rhs = value(expression->right());
#   68|->     if (lhs.type() == QVariant::Invalid || rhs.type() == QVariant::Invalid) // invalid element access can never succeed
#   69|           return false;
#   70|       if ((lhs.type() == QVariant::String && rhs.type() != QVariant::String)

Error: COMPILER_WARNING (CWE-477): [#def6]
kf6-kuserfeedback-6.3.0-build/kuserfeedback-6.3.0/src/common/surveytargetexpressionevaluator.cpp:70:18: warning[-Wdeprecated-declarations]: ‘QVariant::Type QVariant::type() const’ is deprecated: Use typeId() or metaType().
#   70 |     if ((lhs.type() == QVariant::String && rhs.type() != QVariant::String)
#      |          ~~~~~~~~^~
/usr/include/qt6/QtCore/qvariant.h:432:10: note: declared here
#  432 |     Type type() const
#      |          ^~~~
#   68|       if (lhs.type() == QVariant::Invalid || rhs.type() == QVariant::Invalid) // invalid element access can never succeed
#   69|           return false;
#   70|->     if ((lhs.type() == QVariant::String && rhs.type() != QVariant::String)
#   71|           || (lhs.type() != QVariant::String && rhs.type() == QVariant::String))
#   72|           return false; // strings can only be compared to strings

Error: COMPILER_WARNING (CWE-477): [#def7]
kf6-kuserfeedback-6.3.0-build/kuserfeedback-6.3.0/src/common/surveytargetexpressionevaluator.cpp:70:52: warning[-Wdeprecated-declarations]: ‘QVariant::Type QVariant::type() const’ is deprecated: Use typeId() or metaType().
#   70 |     if ((lhs.type() == QVariant::String && rhs.type() != QVariant::String)
#      |                                            ~~~~~~~~^~
/usr/include/qt6/QtCore/qvariant.h:432:10: note: declared here
#  432 |     Type type() const
#      |          ^~~~
#   68|       if (lhs.type() == QVariant::Invalid || rhs.type() == QVariant::Invalid) // invalid element access can never succeed
#   69|           return false;
#   70|->     if ((lhs.type() == QVariant::String && rhs.type() != QVariant::String)
#   71|           || (lhs.type() != QVariant::String && rhs.type() == QVariant::String))
#   72|           return false; // strings can only be compared to strings

Error: COMPILER_WARNING (CWE-477): [#def8]
kf6-kuserfeedback-6.3.0-build/kuserfeedback-6.3.0/src/common/surveytargetexpressionevaluator.cpp:71:21: warning[-Wdeprecated-declarations]: ‘QVariant::Type QVariant::type() const’ is deprecated: Use typeId() or metaType().
#   71 |         || (lhs.type() != QVariant::String && rhs.type() == QVariant::String))
#      |             ~~~~~~~~^~
/usr/include/qt6/QtCore/qvariant.h:432:10: note: declared here
#  432 |     Type type() const
#      |          ^~~~
#   69|           return false;
#   70|       if ((lhs.type() == QVariant::String && rhs.type() != QVariant::String)
#   71|->         || (lhs.type() != QVariant::String && rhs.type() == QVariant::String))
#   72|           return false; // strings can only be compared to strings
#   73|   

Error: COMPILER_WARNING (CWE-477): [#def9]
kf6-kuserfeedback-6.3.0-build/kuserfeedback-6.3.0/src/common/surveytargetexpressionevaluator.cpp:71:55: warning[-Wdeprecated-declarations]: ‘QVariant::Type QVariant::type() const’ is deprecated: Use typeId() or metaType().
#   71 |         || (lhs.type() != QVariant::String && rhs.type() == QVariant::String))
#      |                                               ~~~~~~~~^~
/usr/include/qt6/QtCore/qvariant.h:432:10: note: declared here
#  432 |     Type type() const
#      |          ^~~~
#   69|           return false;
#   70|       if ((lhs.type() == QVariant::String && rhs.type() != QVariant::String)
#   71|->         || (lhs.type() != QVariant::String && rhs.type() == QVariant::String))
#   72|           return false; // strings can only be compared to strings
#   73|   

Error: CLANG_WARNING: [#def10]
kf6-kuserfeedback-6.3.0-build/kuserfeedback-6.3.0/src/console/analytics/analyticsview.cpp:317:5: warning[core.CallAndMessage]: Called C++ object pointer is null
#  315|       Q_ASSERT(scene);
#  316|   
#  317|->     chart->setTheme(QChart::ChartThemeLight);
#  318|   
#  319|       switch (dlg.type()) {

Error: COMPILER_WARNING (CWE-477): [#def11]
kf6-kuserfeedback-6.3.0-build/kuserfeedback-6.3.0/src/console/analytics/categoryaggregator.cpp: scope_hint: In member function ‘void KUserFeedback::Console::CategoryAggregator::updateTimelineChart()’
kf6-kuserfeedback-6.3.0-build/kuserfeedback-6.3.0/src/console/analytics/categoryaggregator.cpp:105:54: warning[-Wdeprecated-declarations]: ‘QAbstractAxis* QChart::axisX(QAbstractSeries*) const’ is deprecated
#  105 |         areaSeries->attachAxis(m_timelineChart->axisX());
#      |                                ~~~~~~~~~~~~~~~~~~~~~~^~
/usr/include/qt6/QtCharts/QChart:1: included_from: Included from here.
kf6-kuserfeedback-6.3.0-build/kuserfeedback-6.3.0/src/console/analytics/categoryaggregator.cpp:17: included_from: Included from here.
/usr/include/qt6/QtCharts/qchart.h:83:38: note: declared here
#   83 |     Q_DECL_DEPRECATED QAbstractAxis *axisX(QAbstractSeries *series = nullptr) const;
#      |                                      ^~~~~
#  103|           m_timelineChart->addSeries(areaSeries);
#  104|   
#  105|->         areaSeries->attachAxis(m_timelineChart->axisX());
#  106|           areaSeries->attachAxis(m_timelineChart->axisY());
#  107|   

Error: COMPILER_WARNING (CWE-477): [#def12]
kf6-kuserfeedback-6.3.0-build/kuserfeedback-6.3.0/src/console/analytics/categoryaggregator.cpp:106:54: warning[-Wdeprecated-declarations]: ‘QAbstractAxis* QChart::axisY(QAbstractSeries*) const’ is deprecated
#  106 |         areaSeries->attachAxis(m_timelineChart->axisY());
#      |                                ~~~~~~~~~~~~~~~~~~~~~~^~
/usr/include/qt6/QtCharts/qchart.h:84:38: note: declared here
#   84 |     Q_DECL_DEPRECATED QAbstractAxis *axisY(QAbstractSeries *series = nullptr) const;
#      |                                      ^~~~~
#  104|   
#  105|           areaSeries->attachAxis(m_timelineChart->axisX());
#  106|->         areaSeries->attachAxis(m_timelineChart->axisY());
#  107|   
#  108|           prevSeries = series;

Error: COMPILER_WARNING (CWE-477): [#def13]
kf6-kuserfeedback-6.3.0-build/kuserfeedback-6.3.0/src/console/analytics/categoryaggregator.cpp:112:27: warning[-Wdeprecated-declarations]: ‘QAbstractAxis* QChart::axisY(QAbstractSeries*) const’ is deprecated
#  112 |     m_timelineChart->axisY()->setRange(0, max);
#      |     ~~~~~~~~~~~~~~~~~~~~~~^~
/usr/include/qt6/QtCharts/qchart.h:84:38: note: declared here
#   84 |     Q_DECL_DEPRECATED QAbstractAxis *axisY(QAbstractSeries *series = nullptr) const;
#      |                                      ^~~~~
#  110|   
#  111|       const auto max = timeAggregationModel()->index(0, 0).data(TimeAggregationModel::MaximumValueRole).toInt();
#  112|->     m_timelineChart->axisY()->setRange(0, max);
#  113|       qobject_cast<QValueAxis*>(m_timelineChart->axisY())->applyNiceNumbers();
#  114|   }

Error: COMPILER_WARNING (CWE-477): [#def14]
kf6-kuserfeedback-6.3.0-build/kuserfeedback-6.3.0/src/console/analytics/categoryaggregator.cpp:113:53: warning[-Wdeprecated-declarations]: ‘QAbstractAxis* QChart::axisY(QAbstractSeries*) const’ is deprecated
#  113 |     qobject_cast<QValueAxis*>(m_timelineChart->axisY())->applyNiceNumbers();
#      |                               ~~~~~~~~~~~~~~~~~~~~~~^~
/usr/include/qt6/QtCharts/qchart.h:84:38: note: declared here
#   84 |     Q_DECL_DEPRECATED QAbstractAxis *axisY(QAbstractSeries *series = nullptr) const;
#      |                                      ^~~~~
#  111|       const auto max = timeAggregationModel()->index(0, 0).data(TimeAggregationModel::MaximumValueRole).toInt();
#  112|       m_timelineChart->axisY()->setRange(0, max);
#  113|->     qobject_cast<QValueAxis*>(m_timelineChart->axisY())->applyNiceNumbers();
#  114|   }
#  115|   

Error: COMPILER_WARNING (CWE-477): [#def15]
kf6-kuserfeedback-6.3.0-build/kuserfeedback-6.3.0/src/console/analytics/numericaggregator.cpp: scope_hint: In member function ‘void KUserFeedback::Console::NumericAggregator::updateTimelineChart()’
kf6-kuserfeedback-6.3.0-build/kuserfeedback-6.3.0/src/console/analytics/numericaggregator.cpp:81:46: warning[-Wdeprecated-declarations]: ‘QAbstractAxis* QChart::axisX(QAbstractSeries*) const’ is deprecated
#   81 |     series->attachAxis(m_timelineChart->axisX());
#      |                        ~~~~~~~~~~~~~~~~~~~~~~^~
/usr/include/qt6/QtCharts/QChart:1: included_from: Included from here.
kf6-kuserfeedback-6.3.0-build/kuserfeedback-6.3.0/src/console/analytics/numericaggregator.cpp:15: included_from: Included from here.
/usr/include/qt6/QtCharts/qchart.h:83:38: note: declared here
#   83 |     Q_DECL_DEPRECATED QAbstractAxis *axisX(QAbstractSeries *series = nullptr) const;
#      |                                      ^~~~~
#   79|       m_timelineChart->addSeries(series);
#   80|   
#   81|->     series->attachAxis(m_timelineChart->axisX());
#   82|       series->attachAxis(m_timelineChart->axisY());
#   83|   

Error: COMPILER_WARNING (CWE-477): [#def16]
kf6-kuserfeedback-6.3.0-build/kuserfeedback-6.3.0/src/console/analytics/numericaggregator.cpp:82:46: warning[-Wdeprecated-declarations]: ‘QAbstractAxis* QChart::axisY(QAbstractSeries*) const’ is deprecated
#   82 |     series->attachAxis(m_timelineChart->axisY());
#      |                        ~~~~~~~~~~~~~~~~~~~~~~^~
/usr/include/qt6/QtCharts/qchart.h:84:38: note: declared here
#   84 |     Q_DECL_DEPRECATED QAbstractAxis *axisY(QAbstractSeries *series = nullptr) const;
#      |                                      ^~~~~
#   80|   
#   81|       series->attachAxis(m_timelineChart->axisX());
#   82|->     series->attachAxis(m_timelineChart->axisY());
#   83|   
#   84|       QStringList l;

Error: COMPILER_WARNING (CWE-477): [#def17]
kf6-kuserfeedback-6.3.0-build/kuserfeedback-6.3.0/src/console/analytics/numericaggregator.cpp:89:59: warning[-Wdeprecated-declarations]: ‘QAbstractAxis* QChart::axisX(QAbstractSeries*) const’ is deprecated
#   89 |     qobject_cast<QBarCategoryAxis*>(m_timelineChart->axisX())->setCategories(l);
#      |                                     ~~~~~~~~~~~~~~~~~~~~~~^~
/usr/include/qt6/QtCharts/qchart.h:83:38: note: declared here
#   83 |     Q_DECL_DEPRECATED QAbstractAxis *axisX(QAbstractSeries *series = nullptr) const;
#      |                                      ^~~~~
#   87|       }
#   88|   
#   89|->     qobject_cast<QBarCategoryAxis*>(m_timelineChart->axisX())->setCategories(l);
#   90|       const auto max = timeAggregationModel()->index(0, 0).data(TimeAggregationModel::MaximumValueRole).toInt();
#   91|       m_timelineChart->axisY()->setRange(0, max);

Error: COMPILER_WARNING (CWE-477): [#def18]
kf6-kuserfeedback-6.3.0-build/kuserfeedback-6.3.0/src/console/analytics/numericaggregator.cpp:91:27: warning[-Wdeprecated-declarations]: ‘QAbstractAxis* QChart::axisY(QAbstractSeries*) const’ is deprecated
#   91 |     m_timelineChart->axisY()->setRange(0, max);
#      |     ~~~~~~~~~~~~~~~~~~~~~~^~
/usr/include/qt6/QtCharts/qchart.h:84:38: note: declared here
#   84 |     Q_DECL_DEPRECATED QAbstractAxis *axisY(QAbstractSeries *series = nullptr) const;
#      |                                      ^~~~~
#   89|       qobject_cast<QBarCategoryAxis*>(m_timelineChart->axisX())->setCategories(l);
#   90|       const auto max = timeAggregationModel()->index(0, 0).data(TimeAggregationModel::MaximumValueRole).toInt();
#   91|->     m_timelineChart->axisY()->setRange(0, max);
#   92|       qobject_cast<QValueAxis*>(m_timelineChart->axisY())->applyNiceNumbers();
#   93|   }

Error: COMPILER_WARNING (CWE-477): [#def19]
kf6-kuserfeedback-6.3.0-build/kuserfeedback-6.3.0/src/console/analytics/numericaggregator.cpp:92:53: warning[-Wdeprecated-declarations]: ‘QAbstractAxis* QChart::axisY(QAbstractSeries*) const’ is deprecated
#   92 |     qobject_cast<QValueAxis*>(m_timelineChart->axisY())->applyNiceNumbers();
#      |                               ~~~~~~~~~~~~~~~~~~~~~~^~
/usr/include/qt6/QtCharts/qchart.h:84:38: note: declared here
#   84 |     Q_DECL_DEPRECATED QAbstractAxis *axisY(QAbstractSeries *series = nullptr) const;
#      |                                      ^~~~~
#   90|       const auto max = timeAggregationModel()->index(0, 0).data(TimeAggregationModel::MaximumValueRole).toInt();
#   91|       m_timelineChart->axisY()->setRange(0, max);
#   92|->     qobject_cast<QValueAxis*>(m_timelineChart->axisY())->applyNiceNumbers();
#   93|   }

Error: COMPILER_WARNING (CWE-477): [#def20]
kf6-kuserfeedback-6.3.0-build/kuserfeedback-6.3.0/src/console/analytics/ratiosetaggregator.cpp: scope_hint: In member function ‘void KUserFeedback::Console::RatioSetAggregator::updateTimelineChart()’
kf6-kuserfeedback-6.3.0-build/kuserfeedback-6.3.0/src/console/analytics/ratiosetaggregator.cpp:100:54: warning[-Wdeprecated-declarations]: ‘QAbstractAxis* QChart::axisX(QAbstractSeries*) const’ is deprecated
#  100 |         areaSeries->attachAxis(m_timelineChart->axisX());
#      |                                ~~~~~~~~~~~~~~~~~~~~~~^~
/usr/include/qt6/QtCharts/QChart:1: included_from: Included from here.
kf6-kuserfeedback-6.3.0-build/kuserfeedback-6.3.0/src/console/analytics/ratiosetaggregator.cpp:16: included_from: Included from here.
/usr/include/qt6/QtCharts/qchart.h:83:38: note: declared here
#   83 |     Q_DECL_DEPRECATED QAbstractAxis *axisX(QAbstractSeries *series = nullptr) const;
#      |                                      ^~~~~
#   98|           m_timelineChart->addSeries(areaSeries);
#   99|   
#  100|->         areaSeries->attachAxis(m_timelineChart->axisX());
#  101|           areaSeries->attachAxis(m_timelineChart->axisY());
#  102|   

Error: COMPILER_WARNING (CWE-477): [#def21]
kf6-kuserfeedback-6.3.0-build/kuserfeedback-6.3.0/src/console/analytics/ratiosetaggregator.cpp:101:54: warning[-Wdeprecated-declarations]: ‘QAbstractAxis* QChart::axisY(QAbstractSeries*) const’ is deprecated
#  101 |         areaSeries->attachAxis(m_timelineChart->axisY());
#      |                                ~~~~~~~~~~~~~~~~~~~~~~^~
/usr/include/qt6/QtCharts/qchart.h:84:38: note: declared here
#   84 |     Q_DECL_DEPRECATED QAbstractAxis *axisY(QAbstractSeries *series = nullptr) const;
#      |                                      ^~~~~
#   99|   
#  100|           areaSeries->attachAxis(m_timelineChart->axisX());
#  101|->         areaSeries->attachAxis(m_timelineChart->axisY());
#  102|   
#  103|           prevSeries = series;

Error: COMPILER_WARNING (CWE-477): [#def22]
kf6-kuserfeedback-6.3.0-build/kuserfeedback-6.3.0/src/console/analytics/ratiosetaggregator.cpp:106:56: warning[-Wdeprecated-declarations]: ‘QAbstractAxis* QChart::axisX(QAbstractSeries*) const’ is deprecated
#  106 |     qobject_cast<QDateTimeAxis*>(m_timelineChart->axisX())->setTickCount(std::min(model->rowCount(), 12));
#      |                                  ~~~~~~~~~~~~~~~~~~~~~~^~
/usr/include/qt6/QtCharts/qchart.h:83:38: note: declared here
#   83 |     Q_DECL_DEPRECATED QAbstractAxis *axisX(QAbstractSeries *series = nullptr) const;
#      |                                      ^~~~~
#  104|       }
#  105|   
#  106|->     qobject_cast<QDateTimeAxis*>(m_timelineChart->axisX())->setTickCount(std::min(model->rowCount(), 12));
#  107|       m_timelineChart->axisY()->setRange(0, 1); // TODO can we turn this into *100% for display?
#  108|   }

Error: COMPILER_WARNING (CWE-477): [#def23]
kf6-kuserfeedback-6.3.0-build/kuserfeedback-6.3.0/src/console/analytics/ratiosetaggregator.cpp:107:27: warning[-Wdeprecated-declarations]: ‘QAbstractAxis* QChart::axisY(QAbstractSeries*) const’ is deprecated
#  107 |     m_timelineChart->axisY()->setRange(0, 1); // TODO can we turn this into *100% for display?
#      |     ~~~~~~~~~~~~~~~~~~~~~~^~
/usr/include/qt6/QtCharts/qchart.h:84:38: note: declared here
#   84 |     Q_DECL_DEPRECATED QAbstractAxis *axisY(QAbstractSeries *series = nullptr) const;
#      |                                      ^~~~~
#  105|   
#  106|       qobject_cast<QDateTimeAxis*>(m_timelineChart->axisX())->setTickCount(std::min(model->rowCount(), 12));
#  107|->     m_timelineChart->axisY()->setRange(0, 1); // TODO can we turn this into *100% for display?
#  108|   }
#  109|   

Error: COMPILER_WARNING (CWE-477): [#def24]
kf6-kuserfeedback-6.3.0-build/kuserfeedback-6.3.0/src/console/analytics/totalaggregator.cpp: scope_hint: In member function ‘void KUserFeedback::Console::TotalAggregator::updateTimelineChart()’
kf6-kuserfeedback-6.3.0-build/kuserfeedback-6.3.0/src/console/analytics/totalaggregator.cpp:84:46: warning[-Wdeprecated-declarations]: ‘QAbstractAxis* QChart::axisX(QAbstractSeries*) const’ is deprecated
#   84 |     series->attachAxis(m_timelineChart->axisX());
#      |                        ~~~~~~~~~~~~~~~~~~~~~~^~
/usr/include/qt6/QtCharts/QChart:1: included_from: Included from here.
kf6-kuserfeedback-6.3.0-build/kuserfeedback-6.3.0/src/console/analytics/totalaggregator.cpp:12: included_from: Included from here.
/usr/include/qt6/QtCharts/qchart.h:83:38: note: declared here
#   83 |     Q_DECL_DEPRECATED QAbstractAxis *axisX(QAbstractSeries *series = nullptr) const;
#      |                                      ^~~~~
#   82|       m_timelineChart->addSeries(series);
#   83|   
#   84|->     series->attachAxis(m_timelineChart->axisX());
#   85|       series->attachAxis(m_timelineChart->axisY());
#   86|   

Error: COMPILER_WARNING (CWE-477): [#def25]
kf6-kuserfeedback-6.3.0-build/kuserfeedback-6.3.0/src/console/analytics/totalaggregator.cpp:85:46: warning[-Wdeprecated-declarations]: ‘QAbstractAxis* QChart::axisY(QAbstractSeries*) const’ is deprecated
#   85 |     series->attachAxis(m_timelineChart->axisY());
#      |                        ~~~~~~~~~~~~~~~~~~~~~~^~
/usr/include/qt6/QtCharts/qchart.h:84:38: note: declared here
#   84 |     Q_DECL_DEPRECATED QAbstractAxis *axisY(QAbstractSeries *series = nullptr) const;
#      |                                      ^~~~~
#   83|   
#   84|       series->attachAxis(m_timelineChart->axisX());
#   85|->     series->attachAxis(m_timelineChart->axisY());
#   86|   
#   87|       const auto beginDt = timeAggregationModel()->index(0, 0).data(TimeAggregationModel::DateTimeRole).toDateTime();

Error: COMPILER_WARNING (CWE-477): [#def26]
kf6-kuserfeedback-6.3.0-build/kuserfeedback-6.3.0/src/console/analytics/totalaggregator.cpp:89:27: warning[-Wdeprecated-declarations]: ‘QAbstractAxis* QChart::axisX(QAbstractSeries*) const’ is deprecated
#   89 |     m_timelineChart->axisX()->setRange(beginDt, endDt);
#      |     ~~~~~~~~~~~~~~~~~~~~~~^~
/usr/include/qt6/QtCharts/qchart.h:83:38: note: declared here
#   83 |     Q_DECL_DEPRECATED QAbstractAxis *axisX(QAbstractSeries *series = nullptr) const;
#      |                                      ^~~~~
#   87|       const auto beginDt = timeAggregationModel()->index(0, 0).data(TimeAggregationModel::DateTimeRole).toDateTime();
#   88|       const auto endDt = timeAggregationModel()->index(timeAggregationModel()->rowCount() - 1, 0).data(TimeAggregationModel::DateTimeRole).toDateTime();
#   89|->     m_timelineChart->axisX()->setRange(beginDt, endDt);
#   90|       qobject_cast<QDateTimeAxis*>(m_timelineChart->axisX())->setTickCount(std::min(timeAggregationModel()->rowCount(), 12));
#   91|       const auto max = timeAggregationModel()->index(0, 0).data(TimeAggregationModel::MaximumValueRole).toInt();

Error: COMPILER_WARNING (CWE-477): [#def27]
kf6-kuserfeedback-6.3.0-build/kuserfeedback-6.3.0/src/console/analytics/totalaggregator.cpp:90:56: warning[-Wdeprecated-declarations]: ‘QAbstractAxis* QChart::axisX(QAbstractSeries*) const’ is deprecated
#   90 |     qobject_cast<QDateTimeAxis*>(m_timelineChart->axisX())->setTickCount(std::min(timeAggregationModel()->rowCount(), 12));
#      |                                  ~~~~~~~~~~~~~~~~~~~~~~^~
/usr/include/qt6/QtCharts/qchart.h:83:38: note: declared here
#   83 |     Q_DECL_DEPRECATED QAbstractAxis *axisX(QAbstractSeries *series = nullptr) const;
#      |                                      ^~~~~
#   88|       const auto endDt = timeAggregationModel()->index(timeAggregationModel()->rowCount() - 1, 0).data(TimeAggregationModel::DateTimeRole).toDateTime();
#   89|       m_timelineChart->axisX()->setRange(beginDt, endDt);
#   90|->     qobject_cast<QDateTimeAxis*>(m_timelineChart->axisX())->setTickCount(std::min(timeAggregationModel()->rowCount(), 12));
#   91|       const auto max = timeAggregationModel()->index(0, 0).data(TimeAggregationModel::MaximumValueRole).toInt();
#   92|       m_timelineChart->axisY()->setRange(0, max);

Error: COMPILER_WARNING (CWE-477): [#def28]
kf6-kuserfeedback-6.3.0-build/kuserfeedback-6.3.0/src/console/analytics/totalaggregator.cpp:92:27: warning[-Wdeprecated-declarations]: ‘QAbstractAxis* QChart::axisY(QAbstractSeries*) const’ is deprecated
#   92 |     m_timelineChart->axisY()->setRange(0, max);
#      |     ~~~~~~~~~~~~~~~~~~~~~~^~
/usr/include/qt6/QtCharts/qchart.h:84:38: note: declared here
#   84 |     Q_DECL_DEPRECATED QAbstractAxis *axisY(QAbstractSeries *series = nullptr) const;
#      |                                      ^~~~~
#   90|       qobject_cast<QDateTimeAxis*>(m_timelineChart->axisX())->setTickCount(std::min(timeAggregationModel()->rowCount(), 12));
#   91|       const auto max = timeAggregationModel()->index(0, 0).data(TimeAggregationModel::MaximumValueRole).toInt();
#   92|->     m_timelineChart->axisY()->setRange(0, max);
#   93|       qobject_cast<QValueAxis*>(m_timelineChart->axisY())->applyNiceNumbers();
#   94|   }

Error: COMPILER_WARNING (CWE-477): [#def29]
kf6-kuserfeedback-6.3.0-build/kuserfeedback-6.3.0/src/console/analytics/totalaggregator.cpp:93:53: warning[-Wdeprecated-declarations]: ‘QAbstractAxis* QChart::axisY(QAbstractSeries*) const’ is deprecated
#   93 |     qobject_cast<QValueAxis*>(m_timelineChart->axisY())->applyNiceNumbers();
#      |                               ~~~~~~~~~~~~~~~~~~~~~~^~
/usr/include/qt6/QtCharts/qchart.h:84:38: note: declared here
#   84 |     Q_DECL_DEPRECATED QAbstractAxis *axisY(QAbstractSeries *series = nullptr) const;
#      |                                      ^~~~~
#   91|       const auto max = timeAggregationModel()->index(0, 0).data(TimeAggregationModel::MaximumValueRole).toInt();
#   92|       m_timelineChart->axisY()->setRange(0, max);
#   93|->     qobject_cast<QValueAxis*>(m_timelineChart->axisY())->applyNiceNumbers();
#   94|   }

Error: CLANG_WARNING: [#def30]
kf6-kuserfeedback-6.3.0-build/kuserfeedback-6.3.0/src/provider/core/provider.cpp:517:24: warning[core.CallAndMessage]: Called C++ object pointer is null
#  515|   
#  516|       d->dataSources.push_back(source);
#  517|->     d->dataSourcesById[source->id()] = source;
#  518|   
#  519|       auto s = d->makeSettings();

Scan Properties

analyzer-version-clang18.1.7
analyzer-version-cppcheck2.14.2
analyzer-version-gcc14.1.1
analyzer-version-gcc-analyzer14.1.1
analyzer-version-shellcheck0.10.0
enabled-pluginsclang, cppcheck, gcc, shellcheck
exit-code0
hostip-172-16-1-209.us-west-2.compute.internal
mock-configfedora-41-x86_64
project-namekf6-kuserfeedback-6.3.0-1.fc41
store-results-to/tmp/tmpz71boabi/kf6-kuserfeedback-6.3.0-1.fc41.tar.xz
time-created2024-07-03 14:21:24
time-finished2024-07-03 14:25:00
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmpz71boabi/kf6-kuserfeedback-6.3.0-1.fc41.tar.xz' '--gcc-analyze' '/tmp/tmpz71boabi/kf6-kuserfeedback-6.3.0-1.fc41.src.rpm'
tool-versioncsmock-3.5.3-1.el9