Skip to content

report_cppcheck

Vít Kučera edited this page Dec 24, 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 4
ctunullpointer 5
dangerousTypeCast 3
derefInvalidIteratorRedundantCheck 2
duplInheritedMember 1
identicalConditionAfterEarlyExit 5
identicalInnerCondition 2
incorrectLogicOperator 2
invalidscanf 4
noCopyConstructor 8
noOperatorEq 7
nullPointerDefaultArg 4
nullPointerRedundantCheck 34
operatorEqVarError 4
throwInEntryPoint 1
uninitMemberVar 89
total 179

Per directory, per line

directory issues issues per 1000 lines
ALICE3 17 1.14
Common 20 0.469
PWGCF 55 0.354
PWGDQ 2 0.0392
PWGEM 31 0.508
PWGHF 4 0.0386
PWGJE 9 0.143
PWGLF 31 0.174
PWGUD 10 0.239
total 179 0.227

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 management. [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 management. [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]' causes 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]' causes 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/Multiplicity/macros/runGlauberFit.C:114:47: 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]' causes 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]' causes access out of bounds. [containerOutOfBounds]

PWGCF

PWGCF/Core/CorrelationContainer.cxx

PWGCF/Core/CorrelationContainer.cxx:1003:14: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast]
PWGCF/Core/CorrelationContainer.cxx:1013:14: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast]

PWGCF/Femto/Core/mcBuilder.h

PWGCF/Femto/Core/mcBuilder.h:124:42: warning: Either the condition 'it==mCollisionMap.end()' is redundant or there is possible dereference of an invalid iterator: it. [derefInvalidIteratorRedundantCheck]

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/JCorran/Tasks/jflucAnalysisTask.cxx

PWGCF/JCorran/Tasks/jflucAnalysisTask.cxx:53:14: warning: Struct 'jflucAnalysisTask' does not have a copy constructor which is recommended since it has dynamic memory/resource management. [noCopyConstructor]
PWGCF/JCorran/Tasks/jflucAnalysisTask.cxx:53:14: warning: Struct 'jflucAnalysisTask' does not have a operator= which is recommended since it has dynamic memory/resource management. [noOperatorEq]

PWGCF/JCorran/Tasks/jflucWeightsLoader.cxx

PWGCF/JCorran/Tasks/jflucWeightsLoader.cxx:69:14: warning: Struct 'JflucWeightsLoader' does not have a copy constructor which is recommended since it has dynamic memory/resource management. [noCopyConstructor]
PWGCF/JCorran/Tasks/jflucWeightsLoader.cxx:69:14: warning: Struct 'JflucWeightsLoader' does not have a operator= which is recommended since it has dynamic memory/resource management. [noOperatorEq]

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 management. [noCopyConstructor]
PWGCF/TableProducer/dptDptFilter.h:556:5: warning: Struct 'DptDptTrackSelection' does not have a operator= which is recommended since it has dynamic memory/resource management. [noOperatorEq]

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/AnalysisCompositeCut.h

PWGDQ/Core/AnalysisCompositeCut.h:36:36: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast]

PWGDQ/Core/MuonMatchingMlResponse.h

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

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/PhotonHBT.h

PWGEM/PhotonMeson/Core/PhotonHBT.h:170:12: warning: Struct 'PhotonHBT' does not have a copy constructor which is recommended since it has dynamic memory/resource management. [noCopyConstructor]
PWGEM/PhotonMeson/Core/PhotonHBT.h:170:12: warning: Struct 'PhotonHBT' does not have a operator= which is recommended since it has dynamic memory/resource management. [noOperatorEq]

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]

PWGHF/D2H/Macros/runMassFitter.C

PWGHF/D2H/Macros/runMassFitter.C:685:5: error: Unhandled exception thrown in function that is an entry point. [throwInEntryPoint]

PWGHF/HFC/Macros/DhCorrelationFitter.cxx

PWGHF/HFC/Macros/DhCorrelationFitter.cxx:125:12: warning: Class 'DhCorrelationFitter' has dynamic memory/resource allocation(s). The copy constructor is explicitly defaulted but the default copy constructor does not work well. It is recommended to define or delete the copy constructor. [noCopyConstructor]

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/emcalGammaGammaBcWise.cxx

PWGJE/Tasks/emcalGammaGammaBcWise.cxx:78:38: warning: Possible null pointer dereference if the default parameter value is used: emcalGeom [nullPointerDefaultArg]
PWGJE/Tasks/emcalGammaGammaBcWise.cxx:79:23: warning: Possible null pointer dereference if the default parameter value is used: emcalGeom [nullPointerDefaultArg]
PWGJE/Tasks/emcalGammaGammaBcWise.cxx:83:7: warning: Possible null pointer dereference if the default parameter value is used: emcalGeom [nullPointerDefaultArg]
PWGJE/Tasks/emcalGammaGammaBcWise.cxx:105:14: warning: Possible null pointer dereference if the default parameter value is used: emcalGeom [nullPointerDefaultArg]

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/TableProducer/Nuspex/hypKfTreeCreator.cxx:77:14: warning: Struct 'HyperNucleus' does not have a copy constructor which is recommended since it has dynamic memory/resource management. [noCopyConstructor]
PWGLF/TableProducer/Nuspex/hypKfTreeCreator.cxx:77:14: warning: Struct 'HyperNucleus' does not have a operator= which is recommended since it has dynamic memory/resource management. [noOperatorEq]

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/spectraTOF.cxx

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

PWGLF/Tasks/Strangeness/hStrangeCorrelation.cxx

PWGLF/Tasks/Strangeness/hStrangeCorrelation.cxx:756:42: warning: Logical conjunction always evaluates to false: std::abs(deltaphi) > 1 && std::abs(deltaphi) < 2. [incorrectLogicOperator]

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/DGSelector.h

PWGUD/Core/DGSelector.h:32:26: warning: Class 'DGSelector' does not have a copy constructor which is recommended since it has dynamic memory/resource management. [noCopyConstructor]
PWGUD/Core/DGSelector.h:32:26: warning: Class 'DGSelector' does not have a operator= which is recommended since it has dynamic memory/resource management. [noOperatorEq]

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]

Clone this wiki locally