Skip to content

report_cppcheck

Vít Kučera edited this page Dec 19, 2025 · 10 revisions

Report from Cppcheck

To access the full raw file, add .md in the URL.

Summary

Per category

category issues
accessMoved 4
containerOutOfBounds 6
ctunullpointer 5
derefInvalidIteratorRedundantCheck 1
duplInheritedMember 1
duplicateAssignExpression 5
duplicateExpression 4
identicalConditionAfterEarlyExit 6
identicalInnerCondition 4
incorrectLogicOperator 1
invalidscanf 4
noCopyConstructor 2
noOperatorEq 2
nullPointerRedundantCheck 33
operatorEqVarError 4
resourceLeak 7
uninitMemberVar 89
virtualCallInConstructor 6
total 184

Per directory, per line

directory issues issues per 1000 lines
ALICE3 17 1.14
Common 19 0.446
DPG 1 0.0325
PWGCF 58 0.375
PWGDQ 4 0.0785
PWGEM 30 0.49
PWGHF 2 0.0193
PWGJE 6 0.0962
PWGLF 30 0.169
PWGUD 17 0.406
total 184 0.233

Issues

ALICE3

ALICE3/Core/DetLayer.h

ALICE3/Core/DetLayer.h:33:3: warning: Member variable 'DetLayer::mR' is not initialized in the constructor. [uninitMemberVar]
ALICE3/Core/DetLayer.h:33:3: warning: Member variable 'DetLayer::mZ' is not initialized in the constructor. [uninitMemberVar]
ALICE3/Core/DetLayer.h:33:3: warning: Member variable 'DetLayer::mX0' is not initialized in the constructor. [uninitMemberVar]
ALICE3/Core/DetLayer.h:33:3: warning: Member variable 'DetLayer::mXrho' is not initialized in the constructor. [uninitMemberVar]
ALICE3/Core/DetLayer.h:33:3: warning: Member variable 'DetLayer::mResRPhi' is not initialized in the constructor. [uninitMemberVar]
ALICE3/Core/DetLayer.h:33:3: warning: Member variable 'DetLayer::mResZ' is not initialized in the constructor. [uninitMemberVar]
ALICE3/Core/DetLayer.h:33:3: warning: Member variable 'DetLayer::mEff' is not initialized in the constructor. [uninitMemberVar]
ALICE3/Core/DetLayer.h:33:3: warning: Member variable 'DetLayer::mType' is not initialized in the constructor. [uninitMemberVar]

ALICE3/TableProducer/OTF/onTheFlyTofPid.cxx

ALICE3/TableProducer/OTF/onTheFlyTofPid.cxx:294:7: warning: Struct 'TOFLayerEfficiency' does not have a copy constructor which is recommended since it has dynamic memory/resource allocation(s). [noCopyConstructor]
ALICE3/TableProducer/OTF/onTheFlyTofPid.cxx:294:7: warning: Struct 'TOFLayerEfficiency' does not have a operator= which is recommended since it has dynamic memory/resource allocation(s). [noOperatorEq]

ALICE3/TableProducer/OTF/onTheFlyTracker.cxx

ALICE3/TableProducer/OTF/onTheFlyTracker.cxx:209:5: warning: Member variable 'TrackAlice3::mcLabel' is not initialized in the constructor. [uninitMemberVar]
ALICE3/TableProducer/OTF/onTheFlyTracker.cxx:209:5: warning: Member variable 'TrackAlice3::isDecayDau' is not initialized in the constructor. [uninitMemberVar]
ALICE3/TableProducer/OTF/onTheFlyTracker.cxx:209:5: warning: Member variable 'TrackAlice3::isWeakDecayDau' is not initialized in the constructor. [uninitMemberVar]
ALICE3/TableProducer/OTF/onTheFlyTracker.cxx:209:5: warning: Member variable 'TrackAlice3::isUsedInCascading' is not initialized in the constructor. [uninitMemberVar]
ALICE3/TableProducer/OTF/onTheFlyTracker.cxx:209:5: warning: Member variable 'TrackAlice3::nSiliconHits' is not initialized in the constructor. [uninitMemberVar]
ALICE3/TableProducer/OTF/onTheFlyTracker.cxx:209:5: warning: Member variable 'TrackAlice3::nTPCHits' is not initialized in the constructor. [uninitMemberVar]

ALICE3/Tasks/alice3-dilepton.cxx

ALICE3/Tasks/alice3-dilepton.cxx:680:13: warning: Identical condition '!mcParticle.isPhysicalPrimary()', second condition is always false [identicalConditionAfterEarlyExit]

Common

Common/TableProducer/PID/pidTPC.cxx

Common/TableProducer/PID/pidTPC.cxx:334:9: warning: Either the condition '!response' is redundant or there is possible null pointer dereference: response. [nullPointerRedundantCheck]
Common/TableProducer/PID/pidTPC.cxx:567:9: warning: Either the condition '!response' is redundant or there is possible null pointer dereference: response. [nullPointerRedundantCheck]
Common/TableProducer/PID/pidTPC.cxx:665:9: warning: Either the condition '!response' is redundant or there is possible null pointer dereference: response. [nullPointerRedundantCheck]
Common/TableProducer/PID/pidTPC.cxx:748:9: warning: Either the condition '!response' is redundant or there is possible null pointer dereference: response. [nullPointerRedundantCheck]

Common/TableProducer/PID/pidTPCBase.h

Common/TableProducer/PID/pidTPCBase.h:103:69: warning: Either the condition 'i>static_cast<int>(vec1.size())' is redundant or 'i' can have the value vec1.size(). Expression 'vec1[i]' cause access out of bounds. [containerOutOfBounds]
Common/TableProducer/PID/pidTPCBase.h:104:69: warning: Either the condition 'j>static_cast<int>(vec2.size())' is redundant or 'j' can have the value vec2.size(). Expression 'vec2[j]' cause access out of bounds. [containerOutOfBounds]

Common/TableProducer/occupancyTableProducer.cxx

Common/TableProducer/occupancyTableProducer.cxx:480:142: warning: Identical condition 'meanRobustTableMode==checkTableMode', second condition is always false [identicalConditionAfterEarlyExit]
Common/TableProducer/occupancyTableProducer.cxx:1806:102: warning: Identical condition 'qaMode==checkQAMode', second condition is always false [identicalConditionAfterEarlyExit]
Common/TableProducer/occupancyTableProducer.cxx:1961:34: warning: Identical condition 'doAmbgUpdate', second condition is always false [identicalConditionAfterEarlyExit]
Common/TableProducer/occupancyTableProducer.cxx:1966:15: warning: Identical condition 'doAmbgUpdate', second condition is always false [identicalConditionAfterEarlyExit]

Common/Tools/Multiplicity/macros/runGlauberFit.C

Common/Tools/Multiplicity/macros/runGlauberFit.C:101:21: warning: Either the condition '!file' is redundant or there is possible null pointer dereference: file. [nullPointerRedundantCheck]
Common/Tools/Multiplicity/macros/runGlauberFit.C:104:44: warning: Either the condition '!hV0Mfine' is redundant or there is possible null pointer dereference: hV0Mfine. [nullPointerRedundantCheck]
Common/Tools/Multiplicity/macros/runGlauberFit.C:105:3: warning: Either the condition '!hV0Mfine' is redundant or there is possible null pointer dereference: hV0Mfine. [nullPointerRedundantCheck]
Common/Tools/Multiplicity/macros/runGlauberFit.C:112:25: warning: Either the condition '!hV0Mfine' is redundant or there is possible null pointer dereference: hV0Mfine. [nullPointerRedundantCheck]
Common/Tools/Multiplicity/macros/runGlauberFit.C:113:25: warning: Either the condition '!hV0Mfine' is redundant or there is possible null pointer dereference: hV0Mfine. [nullPointerRedundantCheck]
Common/Tools/Multiplicity/macros/runGlauberFit.C:114:23: warning: Either the condition '!hV0Mfine' is redundant or there is possible null pointer dereference: hV0Mfine. [nullPointerRedundantCheck]

Common/Tools/PID/pidTPCModule.h

Common/Tools/PID/pidTPCModule.h:204:3: warning: Member variable 'pidTPCModule::response' is not initialized in the constructor. [uninitMemberVar]
Common/Tools/PID/pidTPCModule.h:192:69: warning: Either the condition 'i>static_cast<int>(vec1.size())' is redundant or 'i' can have the value vec1.size(). Expression 'vec1[i]' cause access out of bounds. [containerOutOfBounds]
Common/Tools/PID/pidTPCModule.h:193:69: warning: Either the condition 'j>static_cast<int>(vec2.size())' is redundant or 'j' can have the value vec2.size(). Expression 'vec2[j]' cause access out of bounds. [containerOutOfBounds]

DPG

DPG/Tasks/FV0/qaFV0.cxx

DPG/Tasks/FV0/qaFV0.cxx:363:13: warning: Identical inner 'if' condition is always true. [identicalInnerCondition]

PWGCF

PWGCF/EbyEFluctuations/Tasks/antiprotonCumulantsMc.cxx

PWGCF/EbyEFluctuations/Tasks/antiprotonCumulantsMc.cxx:1445:11: style: Same expression used in consecutive assignments of 'fQ112122_110' and 'fQ1141_11'. [duplicateAssignExpression]
PWGCF/EbyEFluctuations/Tasks/antiprotonCumulantsMc.cxx:2375:11: style: Same expression used in consecutive assignments of 'fQ112122_110' and 'fQ1141_11'. [duplicateAssignExpression]

PWGCF/EbyEFluctuations/Tasks/netprotonCumulantsMc.cxx

PWGCF/EbyEFluctuations/Tasks/netprotonCumulantsMc.cxx:1444:11: style: Same expression used in consecutive assignments of 'fQ112122_110' and 'fQ1141_11'. [duplicateAssignExpression]
PWGCF/EbyEFluctuations/Tasks/netprotonCumulantsMc.cxx:2374:11: style: Same expression used in consecutive assignments of 'fQ112122_110' and 'fQ1141_11'. [duplicateAssignExpression]

PWGCF/Femto3D/Core/femto3dPairTask.h

PWGCF/Femto3D/Core/femto3dPairTask.h:180:14: warning: Member variable 'FemtoPair::_magfield1' is not assigned a value in 'FemtoPair::operator='. [operatorEqVarError]
PWGCF/Femto3D/Core/femto3dPairTask.h:180:14: warning: Member variable 'FemtoPair::_magfield2' is not assigned a value in 'FemtoPair::operator='. [operatorEqVarError]
PWGCF/Femto3D/Core/femto3dPairTask.h:180:14: warning: Member variable 'FemtoPair::_PDG1' is not assigned a value in 'FemtoPair::operator='. [operatorEqVarError]
PWGCF/Femto3D/Core/femto3dPairTask.h:180:14: warning: Member variable 'FemtoPair::_PDG2' is not assigned a value in 'FemtoPair::operator='. [operatorEqVarError]

PWGCF/FemtoDream/Core/femtoDreamContainerThreeBody.h

PWGCF/FemtoDream/Core/femtoDreamContainerThreeBody.h:193:5: warning: Either the condition 'mHistogramRegistry' is redundant or there is possible null pointer dereference: mHistogramRegistry. [nullPointerRedundantCheck]
PWGCF/FemtoDream/Core/femtoDreamContainerThreeBody.h:194:5: warning: Either the condition 'mHistogramRegistry' is redundant or there is possible null pointer dereference: mHistogramRegistry. [nullPointerRedundantCheck]
PWGCF/FemtoDream/Core/femtoDreamContainerThreeBody.h:195:5: warning: Either the condition 'mHistogramRegistry' is redundant or there is possible null pointer dereference: mHistogramRegistry. [nullPointerRedundantCheck]
PWGCF/FemtoDream/Core/femtoDreamContainerThreeBody.h:196:5: warning: Either the condition 'mHistogramRegistry' is redundant or there is possible null pointer dereference: mHistogramRegistry. [nullPointerRedundantCheck]

PWGCF/FemtoDream/Core/femtoDreamTrackSelection.h

PWGCF/FemtoDream/Core/femtoDreamTrackSelection.h:72:3: warning: Member variable 'FemtoDreamTrackSelection::nITSclsMin' is not initialized in the constructor. [uninitMemberVar]
PWGCF/FemtoDream/Core/femtoDreamTrackSelection.h:72:3: warning: Member variable 'FemtoDreamTrackSelection::nITSclsIbMin' is not initialized in the constructor. [uninitMemberVar]

PWGCF/FemtoUniverse/Core/FemtoUniverseTrackSelection.h

PWGCF/FemtoUniverse/Core/FemtoUniverseTrackSelection.h:71:3: warning: Member variable 'FemtoUniverseTrackSelection::nTPCsFracMaxSel' is not initialized in the constructor. [uninitMemberVar]
PWGCF/FemtoUniverse/Core/FemtoUniverseTrackSelection.h:71:3: warning: Member variable 'FemtoUniverseTrackSelection::nITSclsMin' is not initialized in the constructor. [uninitMemberVar]
PWGCF/FemtoUniverse/Core/FemtoUniverseTrackSelection.h:71:3: warning: Member variable 'FemtoUniverseTrackSelection::nITSclsIbMin' is not initialized in the constructor. [uninitMemberVar]

PWGCF/FemtoUniverse/Core/femtoUtils.h

PWGCF/FemtoUniverse/Core/femtoUtils.h:44:108: warning: Either the condition 'it==vNsigma.end()' is redundant or there is possible dereference of an invalid iterator: it. [derefInvalidIteratorRedundantCheck]

PWGCF/FemtoWorld/Core/FemtoWorldTrackSelection.h

PWGCF/FemtoWorld/Core/FemtoWorldTrackSelection.h:67:3: warning: Member variable 'FemtoWorldTrackSelection::nITSclsMin' is not initialized in the constructor. [uninitMemberVar]
PWGCF/FemtoWorld/Core/FemtoWorldTrackSelection.h:67:3: warning: Member variable 'FemtoWorldTrackSelection::nITSclsIbMin' is not initialized in the constructor. [uninitMemberVar]

PWGCF/GenericFramework/Core/FlowContainer.cxx

PWGCF/GenericFramework/Core/FlowContainer.cxx:231:10: warning: fscanf() without field width limits can crash with huge input data. [invalidscanf]
PWGCF/GenericFramework/Core/FlowContainer.cxx:239:19: warning: fscanf() without field width limits can crash with huge input data. [invalidscanf]

PWGCF/GenericFramework/Core/GFWWeights.cxx

PWGCF/GenericFramework/Core/GFWWeights.cxx:291:10: warning: fscanf() without field width limits can crash with huge input data. [invalidscanf]
PWGCF/GenericFramework/Core/GFWWeights.cxx:315:19: warning: fscanf() without field width limits can crash with huge input data. [invalidscanf]

PWGCF/JCorran/Core/FlowJSPCAnalysis.h

PWGCF/JCorran/Core/FlowJSPCAnalysis.h:32:3: warning: Member variable 'FlowJSPCAnalysis::qvecs' is not initialized in the constructor. [uninitMemberVar]
PWGCF/JCorran/Core/FlowJSPCAnalysis.h:32:3: warning: Member variable 'FlowJSPCAnalysis::fHarmosArray' is not initialized in the constructor. [uninitMemberVar]
PWGCF/JCorran/Core/FlowJSPCAnalysis.h:32:3: warning: Member variable 'FlowJSPCAnalysis::fCorrelDenoms' is not initialized in the constructor. [uninitMemberVar]

PWGCF/JCorran/Core/JEPFlowAnalysis.h

PWGCF/JCorran/Core/JEPFlowAnalysis.h:29:3: warning: Member variable 'JEPFlowAnalysis::mHistRegistry' is not initialized in the constructor. [uninitMemberVar]

PWGCF/JCorran/Core/JFFlucAnalysis.cxx

PWGCF/JCorran/Core/JFFlucAnalysis.cxx:22:17: warning: Member variable 'JFFlucAnalysis::ph1' is not initialized in the constructor. [uninitMemberVar]
PWGCF/JCorran/Core/JFFlucAnalysis.cxx:22:17: warning: Member variable 'JFFlucAnalysis::pht' is not initialized in the constructor. [uninitMemberVar]
PWGCF/JCorran/Core/JFFlucAnalysis.cxx:22:17: warning: Member variable 'JFFlucAnalysis::phs' is not initialized in the constructor. [uninitMemberVar]
PWGCF/JCorran/Core/JFFlucAnalysis.cxx:36:17: warning: Member variable 'JFFlucAnalysis::ph1' is not initialized in the constructor. [uninitMemberVar]
PWGCF/JCorran/Core/JFFlucAnalysis.cxx:36:17: warning: Member variable 'JFFlucAnalysis::pht' is not initialized in the constructor. [uninitMemberVar]
PWGCF/JCorran/Core/JFFlucAnalysis.cxx:36:17: warning: Member variable 'JFFlucAnalysis::phs' is not initialized in the constructor. [uninitMemberVar]

PWGCF/MultiparticleCorrelations/Core/MuPa-MemberFunctions.h

PWGCF/MultiparticleCorrelations/Core/MuPa-MemberFunctions.h:1133:18: warning: Either the condition '!oa' is redundant or there is possible null pointer dereference: oa. [nullPointerRedundantCheck]
PWGCF/MultiparticleCorrelations/Core/MuPa-MemberFunctions.h:1310:58: warning: Either the condition '!oa' is redundant or there is possible null pointer dereference: oa. [nullPointerRedundantCheck]
PWGCF/MultiparticleCorrelations/Core/MuPa-MemberFunctions.h:1950:18: warning: Either the condition '!oa' is redundant or there is possible null pointer dereference: oa. [nullPointerRedundantCheck]
PWGCF/MultiparticleCorrelations/Core/MuPa-MemberFunctions.h:14099:5: warning: Either the condition '!hist' is redundant or there is possible null pointer dereference: hist. [nullPointerRedundantCheck]
PWGCF/MultiparticleCorrelations/Core/MuPa-MemberFunctions.h:14100:5: warning: Either the condition '!hist' is redundant or there is possible null pointer dereference: hist. [nullPointerRedundantCheck]
PWGCF/MultiparticleCorrelations/Core/MuPa-MemberFunctions.h:14130:29: warning: Either the condition '!hist' is redundant or there is possible null pointer dereference: hist. [nullPointerRedundantCheck]
PWGCF/MultiparticleCorrelations/Core/MuPa-MemberFunctions.h:14134:20: warning: Either the condition '!oa' is redundant or there is possible null pointer dereference: oa. [nullPointerRedundantCheck]
PWGCF/MultiparticleCorrelations/Core/MuPa-MemberFunctions.h:14178:45: warning: Either the condition '!hist' is redundant or there is possible null pointer dereference: hist. [nullPointerRedundantCheck]
PWGCF/MultiparticleCorrelations/Core/MuPa-MemberFunctions.h:14402:3: warning: Either the condition '!sparseHist' is redundant or there is possible null pointer dereference: sparseHist. [nullPointerRedundantCheck]
PWGCF/MultiparticleCorrelations/Core/MuPa-MemberFunctions.h:14456:63: warning: Either the condition '!sparseHist' is redundant or there is possible null pointer dereference: sparseHist. [nullPointerRedundantCheck]
PWGCF/MultiparticleCorrelations/Core/MuPa-MemberFunctions.h:14659:3: warning: Either the condition '!hist' is redundant or there is possible null pointer dereference: hist. [nullPointerRedundantCheck]
PWGCF/MultiparticleCorrelations/Core/MuPa-MemberFunctions.h:14660:3: warning: Either the condition '!hist' is redundant or there is possible null pointer dereference: hist. [nullPointerRedundantCheck]
PWGCF/MultiparticleCorrelations/Core/MuPa-MemberFunctions.h:13712:3: warning: Null pointer dereference: hist [ctunullpointer]
PWGCF/MultiparticleCorrelations/Core/MuPa-MemberFunctions.h:13757:3: warning: Null pointer dereference: hist [ctunullpointer]
PWGCF/MultiparticleCorrelations/Core/MuPa-MemberFunctions.h:13854:3: warning: Null pointer dereference: hist [ctunullpointer]

PWGCF/TableProducer/dptDptFilter.h

PWGCF/TableProducer/dptDptFilter.h:556:5: warning: Struct 'DptDptTrackSelection' does not have a copy constructor which is recommended since it has dynamic memory/resource allocation(s). [noCopyConstructor]
PWGCF/TableProducer/dptDptFilter.h:556:5: warning: Struct 'DptDptTrackSelection' does not have a operator= which is recommended since it has dynamic memory/resource allocation(s). [noOperatorEq]

PWGCF/TwoParticleCorrelations/Core/EventSelectionFilterAndAnalysis.h

PWGCF/TwoParticleCorrelations/Core/EventSelectionFilterAndAnalysis.h:106:7: style: Virtual function 'CalculateMaskLength' is called from constructor 'EventSelectionFilterAndAnalysis(const TString&,selmodes)' at line 110. Dynamic binding is not used. [virtualCallInConstructor]
PWGCF/TwoParticleCorrelations/Core/EventSelectionFilterAndAnalysis.h:106:7: style: Virtual function 'CalculateMaskLength' is called from constructor 'EventSelectionFilterAndAnalysis(const EventSelectionConfigurable&,selmodes)' at line 142. Dynamic binding is not used. [virtualCallInConstructor]
PWGCF/TwoParticleCorrelations/Core/EventSelectionFilterAndAnalysis.h:107:16: style: Virtual function 'StoreArmedMask' is called from constructor 'EventSelectionFilterAndAnalysis(const EventSelectionConfigurable&,selmodes)' at line 148. Dynamic binding is not used. [virtualCallInConstructor]

PWGCF/TwoParticleCorrelations/Core/PIDSelectionFilterAndAnalysis.h

PWGCF/TwoParticleCorrelations/Core/PIDSelectionFilterAndAnalysis.h:132:15: style: Virtual function 'CalculateMaskLength' is called from constructor 'PIDSelectionFilterAndAnalysis(const TString&,selmodes)' at line 129. Dynamic binding is not used. [virtualCallInConstructor]
PWGCF/TwoParticleCorrelations/Core/PIDSelectionFilterAndAnalysis.h:132:15: style: Virtual function 'CalculateMaskLength' is called from constructor 'PIDSelectionFilterAndAnalysis(const PIDSelectionConfigurable&pidsel,selmodes mode)' at line 178. Dynamic binding is not used. [virtualCallInConstructor]
PWGCF/TwoParticleCorrelations/Core/PIDSelectionFilterAndAnalysis.h:133:16: style: Virtual function 'StoreArmedMask' is called from constructor 'PIDSelectionFilterAndAnalysis(const PIDSelectionConfigurable&pidsel,selmodes mode)' at line 184. Dynamic binding is not used. [virtualCallInConstructor]

PWGCF/TwoParticleCorrelations/Core/SkimmingConfigurableCuts.h

PWGCF/TwoParticleCorrelations/Core/SkimmingConfigurableCuts.h:451:3: warning: The class 'CutWithVariations < float >' defines member function with name 'ClassDef' also defined in its parent class 'CutBrick < float >'. [duplInheritedMember]

PWGDQ

PWGDQ/Core/MuonMatchingMlResponse.h

PWGDQ/Core/MuonMatchingMlResponse.h:187:3: warning: Member variable 'MlResponseMFTMuonMatch::mCachedIndexBinning' is not initialized in the constructor. [uninitMemberVar]

PWGDQ/Tasks/dqEfficiency.cxx

PWGDQ/Tasks/dqEfficiency.cxx:1266:129: style: Same expression 'TTrackFillMap&VarManager::ObjTypes::ReducedMuon' found multiple times in chain of '||' operators. [duplicateExpression]
PWGDQ/Tasks/dqEfficiency.cxx:1207:44: error: Out of bounds access in expression 'trackGlobalIndexes.at(0)' because 'trackGlobalIndexes' is empty. [containerOutOfBounds]

PWGDQ/Tasks/tableReader.cxx

PWGDQ/Tasks/tableReader.cxx:1969:44: error: Out of bounds access in expression 'trackGlobalIndexes.at(0)' because 'trackGlobalIndexes' is empty. [containerOutOfBounds]

PWGEM

PWGEM/Dilepton/Utils/MlResponseDielectronSingleTrack.h

PWGEM/Dilepton/Utils/MlResponseDielectronSingleTrack.h:217:3: warning: Member variable 'MlResponseDielectronSingleTrack::mCachedIndexBinning' is not initialized in the constructor. [uninitMemberVar]

PWGEM/Dilepton/Utils/MlResponseO2Track.h

PWGEM/Dilepton/Utils/MlResponseO2Track.h:190:3: warning: Member variable 'MlResponseO2Track::mCachedIndexBinning' is not initialized in the constructor. [uninitMemberVar]

PWGEM/Dilepton/Utils/MomentumSmearer.h

PWGEM/Dilepton/Utils/MomentumSmearer.h:44:3: warning: Member variable 'MomentumSmearer::fResoND' is not initialized in the constructor. [uninitMemberVar]
PWGEM/Dilepton/Utils/MomentumSmearer.h:44:3: warning: Member variable 'MomentumSmearer::fResoPt' is not initialized in the constructor. [uninitMemberVar]
PWGEM/Dilepton/Utils/MomentumSmearer.h:44:3: warning: Member variable 'MomentumSmearer::fResoEta' is not initialized in the constructor. [uninitMemberVar]
PWGEM/Dilepton/Utils/MomentumSmearer.h:44:3: warning: Member variable 'MomentumSmearer::fResoPhi_Pos' is not initialized in the constructor. [uninitMemberVar]
PWGEM/Dilepton/Utils/MomentumSmearer.h:44:3: warning: Member variable 'MomentumSmearer::fResoPhi_Neg' is not initialized in the constructor. [uninitMemberVar]
PWGEM/Dilepton/Utils/MomentumSmearer.h:44:3: warning: Member variable 'MomentumSmearer::fEff' is not initialized in the constructor. [uninitMemberVar]
PWGEM/Dilepton/Utils/MomentumSmearer.h:44:3: warning: Member variable 'MomentumSmearer::fDCA' is not initialized in the constructor. [uninitMemberVar]
PWGEM/Dilepton/Utils/MomentumSmearer.h:44:3: warning: Member variable 'MomentumSmearer::fTimestamp' is not initialized in the constructor. [uninitMemberVar]
PWGEM/Dilepton/Utils/MomentumSmearer.h:47:3: warning: Member variable 'MomentumSmearer::fTimestamp' is not initialized in the constructor. [uninitMemberVar]
PWGEM/Dilepton/Utils/MomentumSmearer.h:62:3: warning: Member variable 'MomentumSmearer::fTimestamp' is not initialized in the constructor. [uninitMemberVar]
PWGEM/Dilepton/Utils/MomentumSmearer.h:79:3: warning: Member variable 'MomentumSmearer::fTimestamp' is not initialized in the constructor. [uninitMemberVar]
PWGEM/Dilepton/Utils/MomentumSmearer.h:94:3: warning: Member variable 'MomentumSmearer::fTimestamp' is not initialized in the constructor. [uninitMemberVar]
PWGEM/Dilepton/Utils/MomentumSmearer.h:138:21: warning: Either the condition '!fDCA' is redundant or there is possible null pointer dereference: fReso. [nullPointerRedundantCheck]
PWGEM/Dilepton/Utils/MomentumSmearer.h:151:17: warning: Either the condition '!fResoND' is redundant or there is possible null pointer dereference: hs_reso. [nullPointerRedundantCheck]
PWGEM/Dilepton/Utils/MomentumSmearer.h:152:16: warning: Either the condition '!fResoND' is redundant or there is possible null pointer dereference: hs_reso. [nullPointerRedundantCheck]
PWGEM/Dilepton/Utils/MomentumSmearer.h:153:17: warning: Either the condition '!fResoND' is redundant or there is possible null pointer dereference: hs_reso. [nullPointerRedundantCheck]
PWGEM/Dilepton/Utils/MomentumSmearer.h:154:17: warning: Either the condition '!fResoND' is redundant or there is possible null pointer dereference: hs_reso. [nullPointerRedundantCheck]
PWGEM/Dilepton/Utils/MomentumSmearer.h:155:16: warning: Either the condition '!fResoND' is redundant or there is possible null pointer dereference: hs_reso. [nullPointerRedundantCheck]
PWGEM/Dilepton/Utils/MomentumSmearer.h:138:21: warning: Null pointer dereference: fReso [ctunullpointer]
PWGEM/Dilepton/Utils/MomentumSmearer.h:151:17: warning: Null pointer dereference: hs_reso [ctunullpointer]

PWGEM/PhotonMeson/Core/EMCPhotonCut.h

PWGEM/PhotonMeson/Core/EMCPhotonCut.h:101:26: warning: Identical condition 'requires', second condition is always false [identicalConditionAfterEarlyExit]

PWGEM/Tasks/phosAlign.cxx

PWGEM/Tasks/phosAlign.cxx:317:17: warning: Identical inner 'if' condition is always true. [identicalInnerCondition]

PWGEM/Tasks/phosCalibration.cxx

PWGEM/Tasks/phosCalibration.cxx:57:5: warning: Member variable 'photon::fBC' is not initialized in the constructor. [uninitMemberVar]
PWGEM/Tasks/phosCalibration.cxx:57:5: warning: Member variable 'photon::fabsId' is not initialized in the constructor. [uninitMemberVar]
PWGEM/Tasks/phosCalibration.cxx:57:5: warning: Member variable 'photon::fBad' is not initialized in the constructor. [uninitMemberVar]
PWGEM/Tasks/phosCalibration.cxx:59:14: warning: Member variable 'photon::fBC' is not initialized in the constructor. [uninitMemberVar]
PWGEM/Tasks/phosCalibration.cxx:60:14: warning: Member variable 'photon::fBC' is not initialized in the constructor. [uninitMemberVar]

PWGEM/Tasks/phosNonlin.cxx

PWGEM/Tasks/phosNonlin.cxx:101:5: warning: Member variable 'Photon::mod' is not initialized in the constructor. [uninitMemberVar]

PWGHF

PWGHF/D2H/Macros/HFInvMassFitter.cxx

PWGHF/D2H/Macros/HFInvMassFitter.cxx:60:18: warning: Member variable 'HFInvMassFitter::mRatioFrame' is not initialized in the constructor. [uninitMemberVar]
PWGHF/D2H/Macros/HFInvMassFitter.cxx:133:18: warning: Member variable 'HFInvMassFitter::mRatioFrame' is not initialized in the constructor. [uninitMemberVar]

PWGJE

PWGJE/DataModel/EMCALClusterDefinition.h

PWGJE/DataModel/EMCALClusterDefinition.h:46:3: warning: Member variable 'EMCALClusterDefinition::algorithm' is not initialized in the constructor. [uninitMemberVar]

PWGJE/TableProducer/secondaryVertexReconstruction.cxx

PWGJE/TableProducer/secondaryVertexReconstruction.cxx:248:27: warning: Access of moved variable 'arrayMomenta'. [accessMoved]
PWGJE/TableProducer/secondaryVertexReconstruction.cxx:257:27: warning: Access of moved variable 'arrayMomenta'. [accessMoved]
PWGJE/TableProducer/secondaryVertexReconstruction.cxx:266:26: warning: Access of moved variable 'arrayMomenta'. [accessMoved]
PWGJE/TableProducer/secondaryVertexReconstruction.cxx:275:26: warning: Access of moved variable 'arrayMomenta'. [accessMoved]

PWGJE/Tasks/jetTaggerHFQA.cxx

PWGJE/Tasks/jetTaggerHFQA.cxx:762:9: style: Same expression used in consecutive assignments of 'varImpXY' and 'varSigmaImpXY'. [duplicateAssignExpression]

PWGLF

PWGLF/TableProducer/Common/lfTPCPID.cxx

PWGLF/TableProducer/Common/lfTPCPID.cxx:382:86: warning: Either the condition '!h' is redundant or there is possible null pointer dereference: h. [nullPointerRedundantCheck]

PWGLF/TableProducer/Nuspex/hypKfRecoTask.cxx

PWGLF/TableProducer/Nuspex/hypKfRecoTask.cxx:231:3: warning: Member variable 'DaughterKf::dcaToPv' is not initialized in the constructor. [uninitMemberVar]
PWGLF/TableProducer/Nuspex/hypKfRecoTask.cxx:231:3: warning: Member variable 'DaughterKf::dcaToPvXY' is not initialized in the constructor. [uninitMemberVar]
PWGLF/TableProducer/Nuspex/hypKfRecoTask.cxx:231:3: warning: Member variable 'DaughterKf::dcaToPvZ' is not initialized in the constructor. [uninitMemberVar]
PWGLF/TableProducer/Nuspex/hypKfRecoTask.cxx:231:3: warning: Member variable 'DaughterKf::active' is not initialized in the constructor. [uninitMemberVar]
PWGLF/TableProducer/Nuspex/hypKfRecoTask.cxx:232:3: warning: Member variable 'DaughterKf::tpcNsigma' is not initialized in the constructor. [uninitMemberVar]
PWGLF/TableProducer/Nuspex/hypKfRecoTask.cxx:232:3: warning: Member variable 'DaughterKf::tpcNsigmaNLP' is not initialized in the constructor. [uninitMemberVar]
PWGLF/TableProducer/Nuspex/hypKfRecoTask.cxx:232:3: warning: Member variable 'DaughterKf::tpcNsigmaNHP' is not initialized in the constructor. [uninitMemberVar]
PWGLF/TableProducer/Nuspex/hypKfRecoTask.cxx:232:3: warning: Member variable 'DaughterKf::active' is not initialized in the constructor. [uninitMemberVar]

PWGLF/TableProducer/Nuspex/hypKfTreeCreator.cxx

PWGLF/TableProducer/Nuspex/hypKfTreeCreator.cxx:61:3: warning: Member variable 'HyperNucleus::cent' is not initialized in the constructor. [uninitMemberVar]
PWGLF/TableProducer/Nuspex/hypKfTreeCreator.cxx:61:3: warning: Member variable 'HyperNucleus::occu' is not initialized in the constructor. [uninitMemberVar]
PWGLF/TableProducer/Nuspex/hypKfTreeCreator.cxx:61:3: warning: Member variable 'HyperNucleus::runNumber' is not initialized in the constructor. [uninitMemberVar]

PWGLF/Tasks/GlobalEventProperties/dndeta-mft-pp.cxx

PWGLF/Tasks/GlobalEventProperties/dndeta-mft-pp.cxx:850:45: warning: Logical disjunction always evaluates to true: retrack.ambDegree() > 1 || retrack.ambDegree() <= 1. [incorrectLogicOperator]

PWGLF/Tasks/Nuspex/nucleiEbye.cxx

PWGLF/Tasks/Nuspex/nucleiEbye.cxx:539:139: style: Same expression 'candidateV0s[0].globalIndexPos==-999' found multiple times in chain of '&&' operators. [duplicateExpression]

PWGLF/Tasks/Nuspex/spectraTOF.cxx

PWGLF/Tasks/Nuspex/spectraTOF.cxx:2086:15: warning: Identical inner 'if' condition is always true. [identicalInnerCondition]

PWGLF/Tasks/Strangeness/strangeCascTrack.cxx

PWGLF/Tasks/Strangeness/strangeCascTrack.cxx:514:25: warning: Identical inner 'if' condition is always true. [identicalInnerCondition]

PWGLF/Utils/decay3bodyBuilderHelper.h

PWGLF/Utils/decay3bodyBuilderHelper.h:98:3: warning: Member variable 'decay3bodyBuilderHelper::decay3body' is not initialized in the constructor. [uninitMemberVar]
PWGLF/Utils/decay3bodyBuilderHelper.h:98:3: warning: Member variable 'decay3bodyBuilderHelper::decay3bodyselections' is not initialized in the constructor. [uninitMemberVar]
PWGLF/Utils/decay3bodyBuilderHelper.h:98:3: warning: Member variable 'decay3bodyBuilderHelper::svertexerselections' is not initialized in the constructor. [uninitMemberVar]

PWGLF/Utils/nucleiUtils.h

PWGLF/Utils/nucleiUtils.h:452:3: warning: Member variable 'PidManager::mTpcBetheBlochParams' is not initialized in the constructor. [uninitMemberVar]
PWGLF/Utils/nucleiUtils.h:452:3: warning: Member variable 'PidManager::mSpecies' is not initialized in the constructor. [uninitMemberVar]

PWGLF/Utils/strangenessBuilderHelper.h

PWGLF/Utils/strangenessBuilderHelper.h:236:3: warning: Member variable 'strangenessBuilderHelper::v0' is not initialized in the constructor. [uninitMemberVar]
PWGLF/Utils/strangenessBuilderHelper.h:236:3: warning: Member variable 'strangenessBuilderHelper::cascade' is not initialized in the constructor. [uninitMemberVar]
PWGLF/Utils/strangenessBuilderHelper.h:236:3: warning: Member variable 'strangenessBuilderHelper::cascadeselections' is not initialized in the constructor. [uninitMemberVar]

PWGLF/Utils/strangenessBuilderModule.h

PWGLF/Utils/strangenessBuilderModule.h:381:3: warning: Member variable 'BuilderModule::mRunNumber' is not initialized in the constructor. [uninitMemberVar]
PWGLF/Utils/strangenessBuilderModule.h:381:3: warning: Member variable 'BuilderModule::thisCascInfo' is not initialized in the constructor. [uninitMemberVar]

PWGLF/Utils/svPoolCreator.h

PWGLF/Utils/svPoolCreator.h:48:3: warning: Member variable 'svPoolCreator::track0Pdg' is not initialized in the constructor. [uninitMemberVar]
PWGLF/Utils/svPoolCreator.h:48:3: warning: Member variable 'svPoolCreator::track1Pdg' is not initialized in the constructor. [uninitMemberVar]
PWGLF/Utils/svPoolCreator.h:48:3: warning: Member variable 'svPoolCreator::trForpool' is not initialized in the constructor. [uninitMemberVar]
PWGLF/Utils/svPoolCreator.h:49:3: warning: Member variable 'svPoolCreator::trForpool' is not initialized in the constructor. [uninitMemberVar]

PWGUD

PWGUD/Core/UDGoodRunSelector.cxx

PWGUD/Core/UDGoodRunSelector.cxx:122:5: error: Resource leak: fjson [resourceLeak]
PWGUD/Core/UDGoodRunSelector.cxx:132:5: error: Resource leak: fjson [resourceLeak]
PWGUD/Core/UDGoodRunSelector.cxx:138:5: error: Resource leak: fjson [resourceLeak]

PWGUD/Core/decayTree.cxx

PWGUD/Core/decayTree.cxx:222:12: warning: Member variable 'decayTree::fStatus' is not initialized in the constructor. [uninitMemberVar]
PWGUD/Core/decayTree.cxx:222:12: warning: Member variable 'decayTree::fnTracksMin' is not initialized in the constructor. [uninitMemberVar]
PWGUD/Core/decayTree.cxx:222:12: warning: Member variable 'decayTree::fnTracksMax' is not initialized in the constructor. [uninitMemberVar]
PWGUD/Core/decayTree.cxx:222:12: warning: Member variable 'decayTree::frgtwtofMin' is not initialized in the constructor. [uninitMemberVar]
PWGUD/Core/decayTree.cxx:222:12: warning: Member variable 'decayTree::fdBCMin' is not initialized in the constructor. [uninitMemberVar]
PWGUD/Core/decayTree.cxx:222:12: warning: Member variable 'decayTree::fdBCMax' is not initialized in the constructor. [uninitMemberVar]
PWGUD/Core/decayTree.cxx:222:12: warning: Member variable 'decayTree::fChargeState' is not initialized in the constructor. [uninitMemberVar]
PWGUD/Core/decayTree.cxx:222:12: warning: Member variable 'decayTree::fnFinals' is not initialized in the constructor. [uninitMemberVar]
PWGUD/Core/decayTree.cxx:252:5: error: Resource leak: fjson [resourceLeak]
PWGUD/Core/decayTree.cxx:259:5: error: Resource leak: fjson [resourceLeak]
PWGUD/Core/decayTree.cxx:275:5: error: Resource leak: fjson [resourceLeak]
PWGUD/Core/decayTree.cxx:279:5: error: Resource leak: fjson [resourceLeak]

PWGUD/Tasks/upcTauTau13topo.cxx

PWGUD/Tasks/upcTauTau13topo.cxx:4642:48: style: Same expression 'flagEl[i]' found multiple times in chain of '&&' operators. [duplicateExpression]
PWGUD/Tasks/upcTauTau13topo.cxx:4887:44: style: Same expression 'trkHasTof[matchedElIndexToData]' found multiple times in chain of '&&' operators. [duplicateExpression]

Clone this wiki locally