qt6-qtvirtualkeyboard-6.6.2-1.fc40
List of Defects
Error: CPPCHECK_WARNING: [#def1]
qt6-qtvirtualkeyboard-6.6.2-build/qtvirtualkeyboard-everywhere-src-6.6.2/src/plugins/openwnn/3rdparty/openwnn/wnnDictionary/engine/ndapi.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: GCC_ANALYZER_WARNING (CWE-457): [#def2]
qt6-qtvirtualkeyboard-6.6.2-build/qtvirtualkeyboard-everywhere-src-6.6.2/src/plugins/openwnn/3rdparty/openwnn/wnnDictionary/engine/ndapi.c: scope_hint: In function ‘get_word_and_search_next_word’
qt6-qtvirtualkeyboard-6.6.2-build/qtvirtualkeyboard-everywhere-src-6.6.2/src/plugins/openwnn/3rdparty/openwnn/wnnDictionary/engine/ndapi.c:204:18: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘tmp_word.stem.loc.relation[0]’
# 202| njd_init_word(&tmp_word);
# 203|
# 204|-> result->word = tmp_word;
# 205| tmp_result.word = tmp_word;
# 206|
Error: CLANG_WARNING: [#def3]
qt6-qtvirtualkeyboard-6.6.2-build/qtvirtualkeyboard-everywhere-src-6.6.2/src/plugins/openwnn/3rdparty/openwnn/wnnDictionary/engine/ndapi.c:419:9: warning[deadcode.DeadStores]: Value stored to 'dictype' is never read
# 417| if (dicinfo->handle == NULL) {
# 418|
# 419|-> dictype = NJ_DIC_STATIC;
# 420| return;
# 421| }
Error: CPPCHECK_WARNING: [#def4]
qt6-qtvirtualkeyboard-6.6.2-build/qtvirtualkeyboard-everywhere-src-6.6.2/src/plugins/openwnn/3rdparty/openwnn/wnnDictionary/engine/ndbdic.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def5]
qt6-qtvirtualkeyboard-6.6.2-build/qtvirtualkeyboard-everywhere-src-6.6.2/src/plugins/openwnn/3rdparty/openwnn/wnnDictionary/engine/ndbdic.c:470:17: warning[deadcode.DeadStores]: Value stored to 'ytbl' is never read
# 468|
# 469| yidx = *(ydata+i);
# 470|-> ytbl = ytbl_top + ((yidx-1) * ysize);
# 471| len += UTL_CHAR(ytbl);
# 472|
Error: CLANG_WARNING: [#def6]
qt6-qtvirtualkeyboard-6.6.2-build/qtvirtualkeyboard-everywhere-src-6.6.2/src/plugins/openwnn/3rdparty/openwnn/wnnDictionary/engine/ndbdic.c:1591:5: warning[deadcode.DeadStores]: Value stored to 'now' is never read
# 1589|
# 1590| node_mid = root + NODE_AREA_MID_ADDR(loctset->loct.handle);
# 1591|-> now = node_mid;
# 1592|
# 1593| bit_left = BIT_NODE_AREA_LEFT_LEN(loctset->loct.handle);
Error: CLANG_WARNING: [#def7]
qt6-qtvirtualkeyboard-6.6.2-build/qtvirtualkeyboard-everywhere-src-6.6.2/src/plugins/openwnn/3rdparty/openwnn/wnnDictionary/engine/ndbdic.c:1605:5: warning[deadcode.DeadStores]: Value stored to 'abPtrIdx' is never read
# 1603| endflg = 0x00;
# 1604| cmpflg = 0x00;
# 1605|-> abPtrIdx = 0;
# 1606| key = condition->ds->keyword;
# 1607|
Error: CPPCHECK_WARNING: [#def8]
qt6-qtvirtualkeyboard-6.6.2-build/qtvirtualkeyboard-everywhere-src-6.6.2/src/plugins/openwnn/3rdparty/openwnn/wnnDictionary/engine/ndcommon.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def9]
qt6-qtvirtualkeyboard-6.6.2-build/qtvirtualkeyboard-everywhere-src-6.6.2/src/plugins/openwnn/3rdparty/openwnn/wnnDictionary/engine/ndfdic.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def10]
qt6-qtvirtualkeyboard-6.6.2-build/qtvirtualkeyboard-everywhere-src-6.6.2/src/plugins/openwnn/3rdparty/openwnn/wnnDictionary/engine/ndfdic.c:453:30: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
# 451| } else {
# 452| for (j = 0; j < len; j++) {
# 453|-> candidate[j] = work[j];
# 454| }
# 455| }
Error: CPPCHECK_WARNING: [#def11]
qt6-qtvirtualkeyboard-6.6.2-build/qtvirtualkeyboard-everywhere-src-6.6.2/src/plugins/openwnn/3rdparty/openwnn/wnnDictionary/engine/ndldic.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def12]
qt6-qtvirtualkeyboard-6.6.2-build/qtvirtualkeyboard-everywhere-src-6.6.2/src/plugins/openwnn/3rdparty/openwnn/wnnDictionary/engine/ndldic.c:1113:5: warning[deadcode.DeadStores]: Value stored to 'eval' is never read
# 1111|
# 1112| p = ptr + (loctset->loct.top * NJ_INDEX_SIZE);
# 1113|-> eval = current;
# 1114| for (i = (NJ_UINT16)loctset->loct.top; i <= (NJ_UINT16)loctset->loct.bottom; i++) {
# 1115| que_id = GET_UINT16(p);
Error: CLANG_WARNING: [#def13]
qt6-qtvirtualkeyboard-6.6.2-build/qtvirtualkeyboard-everywhere-src-6.6.2/src/plugins/openwnn/3rdparty/openwnn/wnnDictionary/engine/ndldic.c:1578:5: warning[deadcode.DeadStores]: Value stored to 'queKouhoByte' is never read
# 1576|
# 1577| queYomiByte = GET_YSIZE_FROM_DATA(queYomi);
# 1578|-> queKouhoByte= GET_KSIZE_FROM_DATA(queYomi);
# 1579|
# 1580| top_addr = LEARN_DATA_TOP_ADDR(handle);
Error: CLANG_WARNING: [#def14]
qt6-qtvirtualkeyboard-6.6.2-build/qtvirtualkeyboard-everywhere-src-6.6.2/src/plugins/openwnn/3rdparty/openwnn/wnnDictionary/engine/ndldic.c:1587:5: warning[deadcode.DeadStores]: Value stored to 'complete' is never read
# 1585| queYomiSearchArea = (NJ_UINT8)(QUE_SIZE(handle) - LEARN_QUE_STRING_OFFSET);
# 1586|
# 1587|-> complete = 0;
# 1588| yomiPos = 0; queYomiPos = 0;
# 1589| yomiPtr = (NJ_UINT8*)yomi;
Error: CLANG_WARNING: [#def15]
qt6-qtvirtualkeyboard-6.6.2-build/qtvirtualkeyboard-everywhere-src-6.6.2/src/plugins/openwnn/3rdparty/openwnn/wnnDictionary/engine/ndldic.c:1593:34: warning[core.UndefinedBinaryOperatorResult]: The left operand of '-' is a garbage value
# 1591|
# 1592|
# 1593|-> while ((complete = (*yomiPtr - *queYomi)) == 0) {
# 1594| yomiPos++; queYomiPos++;
# 1595|
Error: CLANG_WARNING: [#def16]
qt6-qtvirtualkeyboard-6.6.2-build/qtvirtualkeyboard-everywhere-src-6.6.2/src/plugins/openwnn/3rdparty/openwnn/wnnDictionary/engine/ndldic.c:2233:5: warning[deadcode.DeadStores]: Value stored to 'que_id' is never read
# 2231| }
# 2232| p = ptr + (psrhCache->storebuff[abIdx].top * NJ_INDEX_SIZE);
# 2233|-> que_id = GET_UINT16(p);
# 2234| eval = current;
# 2235|
Error: CLANG_WARNING: [#def17]
qt6-qtvirtualkeyboard-6.6.2-build/qtvirtualkeyboard-everywhere-src-6.6.2/src/plugins/openwnn/3rdparty/openwnn/wnnDictionary/engine/ndldic.c:2234:5: warning[deadcode.DeadStores]: Value stored to 'eval' is never read
# 2232| p = ptr + (psrhCache->storebuff[abIdx].top * NJ_INDEX_SIZE);
# 2233| que_id = GET_UINT16(p);
# 2234|-> eval = current;
# 2235|
# 2236|
Error: CLANG_WARNING: [#def18]
qt6-qtvirtualkeyboard-6.6.2-build/qtvirtualkeyboard-everywhere-src-6.6.2/src/plugins/openwnn/3rdparty/openwnn/wnnDictionary/engine/ndldic.c:2246:13: warning[deadcode.DeadStores]: Value stored to 'que_id' is never read
# 2244| for (m = abIdx; m < endIdx; m++) {
# 2245| p = ptr + (psrhCache->storebuff[m].top * NJ_INDEX_SIZE);
# 2246|-> que_id = GET_UINT16(p);
# 2247| eval = current;
# 2248|
Error: CLANG_WARNING: [#def19]
qt6-qtvirtualkeyboard-6.6.2-build/qtvirtualkeyboard-everywhere-src-6.6.2/src/plugins/openwnn/3rdparty/openwnn/wnnDictionary/engine/ndldic.c:2247:13: warning[deadcode.DeadStores]: Value stored to 'eval' is never read
# 2245| p = ptr + (psrhCache->storebuff[m].top * NJ_INDEX_SIZE);
# 2246| que_id = GET_UINT16(p);
# 2247|-> eval = current;
# 2248|
# 2249| for (i = (NJ_UINT16)psrhCache->storebuff[m].top; i <= (NJ_UINT16)psrhCache->storebuff[m].bottom; i++) {
Error: CLANG_WARNING: [#def20]
qt6-qtvirtualkeyboard-6.6.2-build/qtvirtualkeyboard-everywhere-src-6.6.2/src/plugins/openwnn/3rdparty/openwnn/wnnEngine/composingtext.cpp:345:30: warning[core.UndefinedBinaryOperatorResult]: The right operand of '>=' is a garbage value due to array index out of bounds
# 343| for (int i = 0; i < strLayer.size(); i++) {
# 344| const StrSegment &ss = strLayer.at(i);
# 345|-> if ((ss.from >= fromL[lv-1] && ss.from <= toL[lv-1]) ||
# 346| (ss.to >= fromL[lv-1] && ss.to <= toL[lv-1]) ) {
# 347| if (fromL[lv] < 0) {
Error: CLANG_WARNING: [#def21]
qt6-qtvirtualkeyboard-6.6.2-build/qtvirtualkeyboard-everywhere-src-6.6.2/src/plugins/openwnn/3rdparty/openwnn/wnnEngine/composingtext.cpp:363:31: warning[core.UndefinedBinaryOperatorResult]: The right operand of '!=' is a garbage value due to array index out of bounds
# 361| }
# 362| }
# 363|-> if (boundary_from != fromL[lv-1] || boundary_to != toL[lv-1]) {
# 364| d->deleteStrSegment0((TextLayer)lv, fromL[lv] + 1, toL[lv], diff);
# 365| boundary_to -= diff;
Error: CLANG_WARNING: [#def22]
qt6-qtvirtualkeyboard-6.6.2-build/qtvirtualkeyboard-everywhere-src-6.6.2/src/plugins/openwnn/openwnninputmethod.cpp:247:17: warning[core.CallAndMessage]: Called C++ object pointer is null
# 245| case ComposingText::LAYER2: /* convert */
# 246| if (commitCount == 0)
# 247|-> converter->convert(composingText);
# 248|
# 249| if (converter->makeCandidateListOf(commitCount) != 0) {
Error: CLANG_WARNING: [#def23]
qt6-qtvirtualkeyboard-6.6.2-build/qtvirtualkeyboard-everywhere-src-6.6.2/src/plugins/openwnn/openwnninputmethod.cpp:249:17: warning[core.CallAndMessage]: Called C++ object pointer is null
# 247| converter->convert(composingText);
# 248|
# 249|-> if (converter->makeCandidateListOf(commitCount) != 0) {
# 250| composingText.setCursor(ComposingText::LAYER2, 1);
# 251| displayCandidates();
Error: CLANG_WARNING: [#def24]
qt6-qtvirtualkeyboard-6.6.2-build/qtvirtualkeyboard-everywhere-src-6.6.2/src/plugins/pinyin/3rdparty/pinyin/share/dicttrie.cpp:397:15: warning[deadcode.DeadStores]: Value stored to 'node' during its initialization is never read
# 395| // 2. Begin exgtending
# 396| // 2.1 Get the LmaPsbItem list
# 397|-> LmaNodeLE0 *node = root_;
# 398| size_t son_start = splid_le0_index_[id_start - kFullSplIdStart];
# 399| size_t son_end = splid_le0_index_[id_start + id_num - kFullSplIdStart];
Error: CLANG_WARNING: [#def25]
qt6-qtvirtualkeyboard-6.6.2-build/qtvirtualkeyboard-everywhere-src-6.6.2/src/plugins/pinyin/3rdparty/pinyin/share/dicttrie.cpp:507:5: warning[deadcode.DeadStores]: Value stored to 'ret_val' is never read
# 505| ret_handle = mile_stones_pos_;
# 506| mile_stones_pos_++;
# 507|-> ret_val = 1;
# 508| }
# 509|
Error: CLANG_WARNING: [#def26]
qt6-qtvirtualkeyboard-6.6.2-build/qtvirtualkeyboard-everywhere-src-6.6.2/src/plugins/pinyin/3rdparty/pinyin/share/dicttrie.cpp:692:21: warning[deadcode.DeadStores]: Value stored to 'node' during its initialization is never read
# 690| if (0 == spl_pos) { // From LmaNodeLE0 (root) to LmaNodeLE0 nodes
# 691| for (size_t node_fr_pos = 0; node_fr_pos < node_fr_num; node_fr_pos++) {
# 692|-> LmaNodeLE0 *node = node_fr_le0[node_fr_pos];
# 693| assert(node == root_ && 1 == node_fr_num);
# 694| size_t son_start = splid_le0_index_[id_start - kFullSplIdStart];
Error: CLANG_WARNING: [#def27]
qt6-qtvirtualkeyboard-6.6.2-build/qtvirtualkeyboard-everywhere-src-6.6.2/src/plugins/pinyin/3rdparty/pinyin/share/matrixsearch.cpp:415:14: warning[deadcode.DeadStores]: Value stored to 'b_ac_tmp' during its initialization is never read
# 413| uint16 c_py_pos = 0;
# 414| while (c_py_pos < spl_start_[c_phrase_.length]) {
# 415|-> bool b_ac_tmp = add_char(pys_[c_py_pos]);
# 416| assert(b_ac_tmp);
# 417| c_py_pos++;
Error: CLANG_WARNING: [#def28]
qt6-qtvirtualkeyboard-6.6.2-build/qtvirtualkeyboard-everywhere-src-6.6.2/src/plugins/pinyin/3rdparty/pinyin/share/matrixsearch.cpp:585:12: warning[deadcode.DeadStores]: Value stored to 'b_ac_tmp' during its initialization is never read
# 583| uint16 c_py_pos = 0;
# 584| while (c_py_pos < c_py_len) {
# 585|-> bool b_ac_tmp = add_char(pys_[c_py_pos]);
# 586| assert(b_ac_tmp);
# 587| c_py_pos++;
Error: CLANG_WARNING: [#def29]
qt6-qtvirtualkeyboard-6.6.2-build/qtvirtualkeyboard-everywhere-src-6.6.2/src/plugins/pinyin/3rdparty/pinyin/share/matrixsearch.cpp:693:12: warning[deadcode.DeadStores]: Value stored to 'tmp' during its initialization is never read
# 691| utf16_strncpy(spl_ids + spl_id_fr, spl_id_ + lma_start_[pos], lma_len);
# 692|
# 693|-> uint16 tmp = get_lemma_str(lma_id, word_str + spl_id_fr,
# 694| kMaxLemmaSize + 1 - spl_id_fr);
# 695| assert(tmp == lma_len);
Error: CLANG_WARNING: [#def30]
qt6-qtvirtualkeyboard-6.6.2-build/qtvirtualkeyboard-everywhere-src-6.6.2/src/plugins/pinyin/3rdparty/pinyin/share/matrixsearch.cpp:893:10: warning[deadcode.DeadStores]: Value stored to 'b' during its initialization is never read
# 891|
# 892| while (step_to != pys_decoded_len) {
# 893|-> bool b = add_char(pys_[step_to]);
# 894| assert(b);
# 895| step_to++;
Error: CLANG_WARNING: [#def31]
qt6-qtvirtualkeyboard-6.6.2-build/qtvirtualkeyboard-everywhere-src-6.6.2/src/plugins/pinyin/3rdparty/pinyin/share/matrixsearch.cpp:932:12: warning[deadcode.DeadStores]: Value stored to 'b' during its initialization is never read
# 930|
# 931| while (pys_[step_start] != '\0') {
# 932|-> bool b = add_char(pys_[step_start]);
# 933| assert(b);
# 934| step_start++;
Error: CLANG_WARNING: [#def32]
qt6-qtvirtualkeyboard-6.6.2-build/qtvirtualkeyboard-everywhere-src-6.6.2/src/plugins/pinyin/3rdparty/pinyin/share/matrixsearch.cpp:1172:16: warning[core.UndefinedBinaryOperatorResult]: The left operand of '>' is a garbage value
# 1170| // check whether a lemma's string is the same to the unfixed part of the full
# 1171| // sentence candidate, so, set it to NULL;
# 1172|-> if (sent_len > kMaxLemmaSize)
# 1173| pfullsent = NULL;
# 1174|
Error: CLANG_WARNING: [#def33]
qt6-qtvirtualkeyboard-6.6.2-build/qtvirtualkeyboard-everywhere-src-6.6.2/src/plugins/pinyin/3rdparty/pinyin/share/matrixsearch.cpp:1448:17: warning[core.NullDereference]: Array access (via field 'dict_handles') results in a null pointer dereference
# 1446|
# 1447| if (0 != dep->splids_extended) {
# 1448|-> from_h[0] = dmi_s->dict_handles[0];
# 1449| from_h[1] = dmi_s->dict_handles[1];
# 1450| }
Error: CLANG_WARNING: [#def34]
qt6-qtvirtualkeyboard-6.6.2-build/qtvirtualkeyboard-everywhere-src-6.6.2/src/plugins/pinyin/3rdparty/pinyin/share/matrixsearch.cpp:1465:5: warning[deadcode.DeadStores]: Value stored to 'mtrx_dmi_fr' is never read
# 1463| if (NULL == dmi_s) { // from root
# 1464| assert(0 != handles[0]);
# 1465|-> mtrx_dmi_fr = dmi_pool_used_;
# 1466| }
# 1467|
Error: CLANG_WARNING: [#def35]
qt6-qtvirtualkeyboard-6.6.2-build/qtvirtualkeyboard-everywhere-src-6.6.2/src/plugins/pinyin/3rdparty/pinyin/share/matrixsearch.cpp:1674:11: warning[core.UndefinedBinaryOperatorResult]: The right operand of '==' is a garbage value due to array index out of bounds
# 1672| do {
# 1673| id_num--;
# 1674|-> if (0 == idxs[id_num])
# 1675| continue;
# 1676|
Error: CLANG_WARNING: [#def36]
qt6-qtvirtualkeyboard-6.6.2-build/qtvirtualkeyboard-everywhere-src-6.6.2/src/plugins/pinyin/3rdparty/pinyin/share/matrixsearch.cpp:1902:5: warning[deadcode.DeadStores]: Value stored to 'res_this' is never read
# 1900| // How many blank items are available
# 1901| this_max = npre_items_len_ - res_total;
# 1902|-> res_this = 0;
# 1903| if (!kOnlyUserDictPredict) {
# 1904| res_this =
Error: CLANG_WARNING: [#def37]
qt6-qtvirtualkeyboard-6.6.2-build/qtvirtualkeyboard-everywhere-src-6.6.2/src/plugins/pinyin/3rdparty/pinyin/share/ngram.cpp:109:12: warning[deadcode.DeadStores]: Value stored to 'changed' during its initialization is never read
# 107| double delta_last = 0;
# 108| do {
# 109|-> size_t changed = update_code_idx(freqs, num, code_book, code_idx);
# 110|
# 111| double delta = recalculate_kernel(freqs, num, code_book, code_idx);
Error: CLANG_WARNING: [#def38]
qt6-qtvirtualkeyboard-6.6.2-build/qtvirtualkeyboard-everywhere-src-6.6.2/src/plugins/pinyin/3rdparty/pinyin/share/pinyinime.cpp:166:7: warning[deadcode.DeadStores]: Value stored to 'fixed_ptr' is never read
# 164| const char16 *fixed_ptr = his_buf;
# 165| if (fixed_len > kMaxPredictSize) {
# 166|-> fixed_ptr += fixed_len - kMaxPredictSize;
# 167| fixed_len = kMaxPredictSize;
# 168| }
Error: CLANG_WARNING: [#def39]
qt6-qtvirtualkeyboard-6.6.2-build/qtvirtualkeyboard-everywhere-src-6.6.2/src/plugins/pinyin/3rdparty/pinyin/share/pinyinime.cpp:167:7: warning[deadcode.DeadStores]: Value stored to 'fixed_len' is never read
# 165| if (fixed_len > kMaxPredictSize) {
# 166| fixed_ptr += fixed_len - kMaxPredictSize;
# 167|-> fixed_len = kMaxPredictSize;
# 168| }
# 169|
Error: CLANG_WARNING: [#def40]
qt6-qtvirtualkeyboard-6.6.2-build/qtvirtualkeyboard-everywhere-src-6.6.2/src/plugins/pinyin/3rdparty/pinyin/share/spellingtrie.cpp:91:5: warning[cplusplus.NewDelete]: Attempt to free released memory
# 89|
# 90| if (NULL != spl_ym_ids_)
# 91|-> delete [] spl_ym_ids_;
# 92|
# 93| if (NULL != root_) {
Error: CLANG_WARNING: [#def41]
qt6-qtvirtualkeyboard-6.6.2-build/qtvirtualkeyboard-everywhere-src-6.6.2/src/plugins/pinyin/3rdparty/pinyin/share/spellingtrie.cpp:94:5: warning[cplusplus.NewDelete]: Use of memory after it is freed
# 92|
# 93| if (NULL != root_) {
# 94|-> free_son_trie(root_);
# 95| delete root_;
# 96| }
Error: CLANG_WARNING: [#def42]
qt6-qtvirtualkeyboard-6.6.2-build/qtvirtualkeyboard-everywhere-src-6.6.2/src/plugins/pinyin/3rdparty/pinyin/share/spellingtrie.cpp:99:5: warning[cplusplus.NewDelete]: Attempt to free released memory
# 97|
# 98| if (NULL != dumb_node_) {
# 99|-> delete [] dumb_node_;
# 100| }
# 101|
Error: CLANG_WARNING: [#def43]
qt6-qtvirtualkeyboard-6.6.2-build/qtvirtualkeyboard-everywhere-src-6.6.2/src/plugins/pinyin/3rdparty/pinyin/share/spellingtrie.cpp:103:5: warning[cplusplus.NewDelete]: Attempt to free released memory
# 101|
# 102| if (NULL != splitter_node_) {
# 103|-> delete [] splitter_node_;
# 104| }
# 105|
Error: CLANG_WARNING: [#def44]
qt6-qtvirtualkeyboard-6.6.2-build/qtvirtualkeyboard-everywhere-src-6.6.2/src/plugins/pinyin/3rdparty/pinyin/share/spellingtrie.cpp:111:15: warning[cplusplus.NewDelete]: Use of memory after it is freed
# 109| }
# 110|
# 111|-> if (NULL != ym_buf_)
# 112| delete [] ym_buf_;
# 113|
Error: CPPCHECK_WARNING: [#def45]
qt6-qtvirtualkeyboard-6.6.2-build/qtvirtualkeyboard-everywhere-src-6.6.2/src/plugins/pinyin/3rdparty/pinyin/share/utf16reader.cpp: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def46]
qt6-qtvirtualkeyboard-6.6.2-build/qtvirtualkeyboard-everywhere-src-6.6.2/src/plugins/tcime/tcinputmethod.cpp:389:9: warning[deadcode.DeadStores]: Value stored to 'inputMode' is never read
# 387| }
# 388| if (!result)
# 389|-> inputMode = QVirtualKeyboardInputEngine::InputMode::Latin;
# 390| return result;
# 391| }
Error: CLANG_WARNING: [#def47]
qt6-qtvirtualkeyboard-6.6.2-build/qtvirtualkeyboard-everywhere-src-6.6.2/src/virtualkeyboard/desktopinputselectioncontrol.cpp:31:14: warning[deadcode.DeadStores]: Value stored to 'focusWindow' during its initialization is never read
# 29| m_handleWindowSize(40, 40*1.12) // because a finger patch is slightly taller than its width
# 30| {
# 31|-> QWindow *focusWindow = QGuiApplication::focusWindow();
# 32| Q_ASSERT(focusWindow);
# 33| connect(m_inputContext, &QVirtualKeyboardInputContext::selectionControlVisibleChanged, this, &DesktopInputSelectionControl::updateVisibility);
Scan Properties
analyzer-version-clang | 18.1.7 |
analyzer-version-cppcheck | 2.14.2 |
analyzer-version-gcc | 14.1.1 |
analyzer-version-gcc-analyzer | 14.1.1 |
analyzer-version-shellcheck | 0.10.0 |
enabled-plugins | clang, cppcheck, gcc, shellcheck |
exit-code | 0 |
host | ip-172-16-1-31.us-west-2.compute.internal |
mock-config | fedora-41-x86_64 |
project-name | qt6-qtvirtualkeyboard-6.6.2-1.fc40 |
store-results-to | /tmp/tmpu26i2tj4/qt6-qtvirtualkeyboard-6.6.2-1.fc40.tar.xz |
time-created | 2024-07-03 17:44:49 |
time-finished | 2024-07-03 17:49:18 |
tool | csmock |
tool-args | '/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmpu26i2tj4/qt6-qtvirtualkeyboard-6.6.2-1.fc40.tar.xz' '--gcc-analyze' '/tmp/tmpu26i2tj4/qt6-qtvirtualkeyboard-6.6.2-1.fc40.src.rpm' |
tool-version | csmock-3.5.3-1.el9 |