daq/copper/test_program/copper/jig-start.c:184 Variable 'ret' is reassigned a value before the old one has been used. [redundantAssignment]
daq/copper/test_program/copper/readcpr.c:93 Variable 'ret' is reassigned a value before the old one has been used. [redundantAssignment]
daq/copper/test_program/copper/readhslb.c:152 Identical condition '!use_slot[k]', second condition is always false [identicalConditionAfterEarlyExit]
daq/copper/test_program/copper/readhslb.c:148 Modulo of one is always equal to zero [moduloofone]
daq/copper/test_program/copper/record-nakao.highrate.c:290 Code 'std::strftime' is invalid C code. Use --std or --language to configure the language. [syntaxError]
daq/copper/test_program/copper/reset-fifo-and-finesse.c:23 'start' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer]
daq/copper/test_program/copper/reset-fifo.c:23 'start' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer]
daq/copper/test_program/copper/single-read-fifo.c:40 'start' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer]
daq/copper/test_program/hslb/boothslb.c:321 Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition]
daq/copper/test_program/hslb/boothslb.c:288 Variable 'ch' is reassigned a value before the old one has been used. [redundantAssignment]
daq/copper/test_program/hslb/paraconf.c:193 Condition 'argc<2' is always false [knownConditionTrueFalse]
daq/copper/test_program/hslb/time.c:17 Code 'std::strftime' is invalid C code. Use --std or --language to configure the language. [syntaxError]
daq/dqm/src/HistoManager.cc:53 Searching before insertion is not necessary. [stlFindInsert]
daq/dqm/src/HistoManager2.cc:57 Searching before insertion is not necessary. [stlFindInsert]
daq/dqm/src/HistoServer2.cc:160 The scope of the variable 'mbstr' can be reduced. [variableScope]
daq/dqm/src/HistoServer2.cc:161 The scope of the variable 'mbstr2' can be reduced. [variableScope]
daq/dqm/src/HistoServer2.cc:162 The scope of the variable 'mbstr3' can be reduced. [variableScope]
daq/dqm/src/HistoServer2.cc:75 Uninitialized variable: now [uninitvar]
daq/expreco/src/EventSampler.cc:46 Iterator 'it' used after element has been erased. [eraseDereference]
daq/expreco/src/ERecoMasterCallback.cc:398 Statements following return, break, continue, goto or throw will never be executed. [unreachableCode]
daq/expreco/src/ERecoMasterCallback.cc:446 Statements following return, break, continue, goto or throw will never be executed. [unreachableCode]
daq/hbasf2/modules/src/HLTDs2ZMQRaw.cc:13 There is an unknown macro here somewhere. Configuration is required. If REG_MODULE is a macro then please configure it. [unknownMacro]
daq/hbasf2/modules/src/StorageZMQ2Ds.cc:17 There is an unknown macro here somewhere. Configuration is required. If REG_MODULE is a macro then please configure it. [unknownMacro]
daq/hbasf2/utils/src/HistogramMapping.cc:65 Unused variable: _ [unusedVariable]
daq/hbasf2/utils/src/HistogramMapping.cc:83 Variable 'key' is not assigned a value. [unassignedVariable]
daq/rawdata/modules/src/DeSerializer.cc:213 Checking if unsigned expression 'fwrite(buf,size,1,m_fp_dump)' is less than zero. [unsignedLessThanZero]
daq/rawdata/modules/src/DeSerializer.cc:443 The scope of the variable 'ret' can be reduced. [variableScope]
daq/rawdata/modules/src/DeSerializerFILE.cc:233 The if condition is the same as the previous if condition [duplicateCondition]
daq/rawdata/modules/src/DeSerializerFILE.cc:201 Condition '(read_size=fread((char*)temp_buf+recvd_byte,1,bytes_to_read-recvd_byte,fp_in))<0' is always false [knownConditionTrueFalse]
daq/rawdata/modules/src/DeSerializerCOPPER.cc:375 Local variable 'err_str' shadows outer variable [shadowVariable]
daq/rawdata/src/DesSer.cc:408 Either the condition '(fp=popen(cmdline,"r"))==NULL' is redundant or there is possible null pointer dereference: fp. [nullPointerRedundantCheck]
daq/rawdata/modules/src/Serializer.cc:540 The scope of the variable 'ret' can be reduced. [variableScope]
daq/rawdata/src/DesSerCOPPER.cc:426 Variable 'temp_buf[0]' is reassigned a value before the old one has been used. [redundantAssignment]
daq/rawdata/tools/dummy_data_threads.cc:422 Skipping configuration '_PACKAGE_=PACKAGE;__GNUC__=8;_BELLE2_EPICS=1;AIUEO;MAX_EVENT;USE_DUMMY_DATA_THREADS' since the value of 'MAX_EVENT' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly. [ConfigurationNotChecked]
daq/rawdata/tools/dummy_data_threads.cc:556 Skipping configuration '_PACKAGE_=PACKAGE;__GNUC__=8;_BELLE2_EPICS=1;AIUEO;MAX_EVENT;USE_DUMMY_DATA_THREADS' since the value of 'MAX_EVENT' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly. [ConfigurationNotChecked]
daq/rawdata/tools/dummy_data_threads.cc:349 Either the condition '(fp=popen(cmdline,"r"))==NULL' is redundant or there is possible null pointer dereference: fp. [nullPointerRedundantCheck]
daq/rawdata/tools/dummy_data_threads.cc:422 Skipping configuration '_PACKAGE_=PACKAGE;__GNUC__=8;_BELLE2_EPICS=1;MAX_EVENT;USE_DUMMY_DATA_THREADS' since the value of 'MAX_EVENT' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly. [ConfigurationNotChecked]
daq/rfarm/event/modules/src/FastRbuf2DsModule.cc:131 Condition 'size==0' is always false [knownConditionTrueFalse]
daq/rfarm/event/modules/src/Raw2DsModule.cc:166 Variable 'utime' is assigned a value that is never used. [unreadVariable]
daq/rfarm/event/modules/src/Raw2DsModule.cc:167 Variable 'ctime' is assigned a value that is never used. [unreadVariable]
daq/rfarm/event/tools/file2sockr.cc:50 fscanf() without field width limits can crash with huge input data. [invalidscanf]
daq/rfarm/manager/src/RFConf.cc:56 Condition '!top.key' is always true [knownConditionTrueFalse]
daq/slc/database/src/RunNumberTable.cc:78 Condition 'expno==0' is always false [knownConditionTrueFalse]
daq/slc/nsm2/b2lib/belle2nsm.c:400 Condition 'fmt' is always true [knownConditionTrueFalse]
daq/slc/nsm2/b2lib/belle2nsm.c:356 Either the condition '!msg' is redundant or there is possible null pointer dereference: msg. [nullPointerRedundantCheck]
daq/slc/nsm2/b2lib/belle2nsm.c:391 Either the condition '!msg' is redundant or there is possible null pointer dereference: msg. [nullPointerRedundantCheck]
daq/slc/nsm2/b2lib/belle2nsm.c:355 The scope of the variable 'ap' can be reduced. [variableScope]
daq/slc/nsm2/b2lib/belle2nsm.c:358 The scope of the variable 'str' can be reduced. [variableScope]
daq/slc/nsm2/b2lib/belle2nsm.c:390 The scope of the variable 'ap' can be reduced. [variableScope]
daq/slc/nsm2/b2lib/belle2nsm.c:539 The scope of the variable 'nodename_uprcase' can be reduced. [variableScope]
daq/slc/nsm2/b2lib/belle2nsm.c:271 Unused variable: oldsig [unusedVariable]
daq/slc/nsm2/b2lib/belle2nsm.c:308 Unused variable: oldsig [unusedVariable]
daq/slc/nsm2/b2lib/belle2nsm.c:358 Variable 'str' is assigned a value that is never used. [unreadVariable]
daq/slc/nsm2/b2lib/belle2nsm.c:377 Variable 'str' is assigned a value that is never used. [unreadVariable]
daq/slc/nsm2/corelib/nsmparse.c:278 sprintf format string requires 0 parameters but 1 is given. [wrongPrintfScanfArgNum]
daq/slc/nsm2/corelib/nsmparse.c:126 Memory leak: p [memleak]
daq/slc/nsm2/corelib/nsmparse.c:70 Either the condition '!ptr' is redundant or there is overflow in pointer subtraction. [nullPointerArithmeticRedundantCheck]
daq/slc/nsm2/corelib/nsmparse.c:144 The scope of the variable 'len' can be reduced. [variableScope]
daq/slc/nsm2/corelib/nsmparse.c:342 Variable 'structp' is assigned a value that is never used. [unreadVariable]
daq/slc/nsm2/corelib/nsmparse.c:343 Variable 'definep' is assigned a value that is never used. [unreadVariable]
daq/slc/nsm2/corelib/nsmparse.c:720 Unused variable: datlist [unusedVariable]
daq/slc/nsm2/corelib/nsmparse.c:784 Unused variable: filelen [unusedVariable]
daq/slc/nsm2/corelib/nsmparse.c:865 Uninitialized variable: parsep [uninitvar]
daq/slc/nsm2/corelib/nsmlib2.c:1957 Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg]
daq/slc/nsm2/corelib/nsmlib2.c:228 The address of local variable 'h' is accessed at non-zero index. [objectIndex]
daq/slc/nsm2/corelib/nsmlib2.c:229 The address of local variable 'n' is accessed at non-zero index. [objectIndex]
daq/slc/nsm2/corelib/nsmlib2.c:496 Found a exit path from function with non-void return type that has missing return statement [missingReturn]
daq/slc/nsm2/corelib/nsmlib2.c:1357 The if condition is the same as the previous if condition [duplicateCondition]
daq/slc/nsm2/corelib/nsmlib2.c:875 Condition 'ret<=0' is always true [knownConditionTrueFalse]
daq/slc/nsm2/corelib/nsmlib2.c:206 Memory leak: p [memleak]
daq/slc/nsm2/corelib/nsmlib2.c:1184 Either the condition '!nsmc' is redundant or there is possible null pointer dereference: nsmc. [nullPointerRedundantCheck]
daq/slc/nsm2/corelib/nsmlib2.c:1185 Either the condition '!nsmc' is redundant or there is possible null pointer dereference: nsmc. [nullPointerRedundantCheck]
daq/slc/nsm2/corelib/nsmlib2.c:1871 Either the condition '!nsmc' is redundant or there is possible null pointer dereference: nsmc. [nullPointerRedundantCheck]
daq/slc/nsm2/corelib/nsmlib2.c:1872 Either the condition '!nsmc' is redundant or there is possible null pointer dereference: nsmc. [nullPointerRedundantCheck]
daq/slc/nsm2/corelib/nsmlib2.c:1117 Variable 'nsmlib_checkpoints[nsmlib_currecursive]' is reassigned a value before the old one has been used. [redundantAssignment]
daq/slc/nsm2/corelib/nsmlib2.c:297 The scope of the variable 'ap' can be reduced. [variableScope]
daq/slc/nsm2/corelib/nsmlib2.c:312 The scope of the variable 'ap' can be reduced. [variableScope]
daq/slc/nsm2/corelib/nsmlib2.c:324 The scope of the variable 'ap' can be reduced. [variableScope]
daq/slc/nsm2/corelib/nsmlib2.c:1801 The scope of the variable 'dpos' can be reduced. [variableScope]
daq/slc/nsm2/corelib/nsmlib2.c:1802 The scope of the variable 'dsiz' can be reduced. [variableScope]
daq/slc/nsm2/corelib/nsmlib2.c:1973 The scope of the variable 'i' can be reduced. [variableScope]
daq/slc/nsm2/corelib/nsmlib2.c:1816 Checking if unsigned expression 'ppos' is less than zero. [unsignedLessThanZero]
daq/slc/nsm2/corelib/nsmlib2.c:1759 Local variable 'refp' shadows outer variable [shadowVariable]
daq/slc/nsm2/corelib/nsmlib2.c:1509 Parameter 'pars' can be declared with const [constParameter]
daq/slc/nsm2/corelib/nsmlib2.c:526 Unused variable: i [unusedVariable]
daq/slc/nsm2/corelib/nsmlib2.c:528 Unused variable: namep [unusedVariable]
daq/slc/nsm2/corelib/nsmlib2.c:560 Unused variable: i [unusedVariable]
daq/slc/nsm2/corelib/nsmlib2.c:1348 Unused variable: oldsig [unusedVariable]
daq/slc/nsm2/corelib/nsmlib2.c:1579 Unused variable: reqid [unusedVariable]
daq/slc/nsm2/corelib/nsmlib2.c:1608 Unused variable: msg [unusedVariable]
daq/slc/nsm2/corelib/nsmlib2.c:1609 Unused variable: ret [unusedVariable]
daq/slc/nsm2/corelib/nsmlib2.c:1709 Unused variable: refp [unusedVariable]
daq/slc/nsm2/corelib/nsmlib2.c:1801 Variable 'dpos' is assigned a value that is never used. [unreadVariable]
daq/slc/nsm2/corelib/nsmlib2.c:1802 Variable 'dsiz' is assigned a value that is never used. [unreadVariable]
daq/slc/nsm2/corelib/nsmlib2.c:1868 Unused variable: reqid [unusedVariable]
daq/slc/nsm2/corelib/nsmlib2.c:1957 Variable 'nsmc' is assigned a value that is never used. [unreadVariable]
daq/storage/modules/src/PartialSeqRootReader.cc:78 Variable 'ret' is reassigned a value before the old one has been used. [redundantAssignment]
daq/storage/modules/src/StorageSerializer.cc:105 The scope of the variable 'subno' can be reduced. [variableScope]
daq/storage/modules/src/StorageRootOutputModule.cc:48 There is an unknown macro here somewhere. Configuration is required. If REG_MODULE is a macro then please configure it. [unknownMacro]
daq/storage/tools/stevtserver.cc:41 Class 'EvtBuffer' does not have a copy constructor which is recommended since it has dynamic memory/resource allocation(s). [noCopyConstructor]
daq/storage/tools/stevtserver.cc:41 Class 'EvtBuffer' does not have a operator= which is recommended since it has dynamic memory/resource allocation(s). [noOperatorEq]
daq/storage/tools/stevtserver.cc:41 Class 'EvtBuffer' does not have a destructor which is recommended since it has dynamic memory/resource allocation(s). [noDestructor]
daq/storage/tools/stevtserver.cc:38 Class 'EvtBuffer' has a constructor with 1 argument that is not explicit. [noExplicitConstructor]
daq/storage/tools/stevtserver.cc:103 Class 'EvtBuffer' is unsafe, 'EvtBuffer::m_evtbuf' can leak by wrong usage. [unsafeClassCanLeak]
daq/storage/tools/storagerecord_arich.cc:339 Modulo of one is always equal to zero [moduloofone]
daq/storage/tools/storagerecord.cc:404 Modulo of one is always equal to zero [moduloofone]
daq/pcie40/src/des_ser_PCIe40_main.cc:2250 Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition]
daq/pcie40/src/des_ser_PCIe40_main.cc:2527 Condition 'writeInFile' is always false [knownConditionTrueFalse]
daq/pcie40/src/des_ser_PCIe40_main.cc:1986 Either the condition '(fp=popen(cmdline,"r"))==NULL' is redundant or there is possible null pointer dereference: fp. [nullPointerRedundantCheck]
daq/pcie40/src/des_ser_PCIe40_main.cc:2159 Local variable 'ret' shadows outer variable [shadowVariable]
daq/pcie40/src/des_ser_PCIe40_main.cc:2210 Local variable 'ret' shadows outer variable [shadowVariable]
daq/pcie40/src/des_ser_PCIe40_main.cc:3026 Uninitialized variable: run_no [uninitvar]
daq/pcie40/src/des_ser_PCIe40_main.cc:2071 Variable 'tot_event_nwords' is assigned a value that is never used. [unreadVariable]
daq/slc/nsm2/corelib/nsmlib2.c:1276 Skipping configuration '_PACKAGE_=PACKAGE;__GNUC__=8;_BELLE2_EPICS=1;SIGRTMIN' since the value of 'SIGRTMIN' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly. [ConfigurationNotChecked]
daq/pcie40/src/des_ser_PCIe40_main.cc:2074 Skipping configuration '_PACKAGE_=PACKAGE;__GNUC__=8;_BELLE2_EPICS=1;MAX_EVENT' since the value of 'MAX_EVENT' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly. [ConfigurationNotChecked]