kf5-kitemviews-5.116.0-1.fc41

List of Defects

Error: CLANG_WARNING: [#def1]
kf5-kitemviews-5.116.0-build/kitemviews-5.116.0/src/kcategorizedview.cpp:368:39: warning[core.CallAndMessage]: Called C++ object pointer is null
#  366|   QString KCategorizedViewPrivate::categoryForIndex(const QModelIndex &index) const
#  367|   {
#  368|->     const QModelIndex categoryIndex = index.model()->index(index.row(), proxyModel->sortColumn(), index.parent());
#  369|       return categoryIndex.data(KCategorizedSortFilterProxyModel::CategoryDisplayRole).toString();
#  370|   }

Error: CLANG_WARNING: [#def2]
kf5-kitemviews-5.116.0-build/kitemviews-5.116.0/src/kcategorizedview.cpp:514:9: warning[core.CallAndMessage]: Called C++ object pointer is null
#  512|   
#  513|       // if the model already had information inserted, update our data structures to it
#  514|->     if (model->rowCount()) {
#  515|           slotLayoutChanged();
#  516|       }

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-180.us-west-2.compute.internal
mock-configfedora-41-x86_64
project-namekf5-kitemviews-5.116.0-1.fc41
store-results-to/tmp/tmpxhb2rkpn/kf5-kitemviews-5.116.0-1.fc41.tar.xz
time-created2024-07-03 13:50:34
time-finished2024-07-03 13:52:06
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmpxhb2rkpn/kf5-kitemviews-5.116.0-1.fc41.tar.xz' '--gcc-analyze' '/tmp/tmpxhb2rkpn/kf5-kitemviews-5.116.0-1.fc41.src.rpm'
tool-versioncsmock-3.5.3-1.el9