Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

resolve some issues from static analyzer (mostly in RECO) #12676

Conversation

slava77
Copy link
Contributor

@slava77 slava77 commented Dec 4, 2015

  • clear "using namespace" cases
  • nonconst static in a test code in InterpolationDebug (since I didn't find any use cases where it's changing run time)
  • MagneticFieldGrid assert the valid range of input grid types to clear reports of possible uninitialized or values used
  • mem leak in EndcapPiZeroDiscriminatorAlgo
  • some cleanup in Multi5x5BremRecoveryClusterAlgo:
    • assert temp array sizes are above zero (static analyzer can't tell that from a vector::empty() call)
    • const arguments where relevant
    • for auto loops
  • some cleanup in ClusterShapeAlgo
    • reduce vector copying
    • for auto loops
  • assert valid range in Basic2DGenericPFlowPositionCalc

tested in CMSSW_8_0_X_2015-11-30-1100: no differences in comparisons

@slava77
Copy link
Contributor Author

slava77 commented Dec 4, 2015

@cmsbuild please test

@cmsbuild cmsbuild added this to the Next CMSSW_8_0_X milestone Dec 4, 2015
@cmsbuild
Copy link
Contributor

cmsbuild commented Dec 4, 2015

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-any-integration/10157/console

@cmsbuild
Copy link
Contributor

cmsbuild commented Dec 4, 2015

A new Pull Request was created by @slava77 (Slava Krutelyov) for CMSSW_8_0_X.

It involves the following packages:

MagneticField/Interpolation
RecoEcal/EgammaClusterAlgos
RecoEcal/EgammaCoreTools
RecoParticleFlow/PFClusterProducer
Validation/MuonGEMDigis
Validation/MuonGEMRecHits

@cvuosalo, @cmsbuild, @deguio, @slava77, @vanbesien, @davidlange6 can you please review it and eventually sign? Thanks.
@namapane, @Sam-Harper, @mmarionncern, @argiro, @lgray, @bachtis this is something you requested to watch as well.
@slava77, @Degano, @smuzaffar you are the release manager for this.

Following commands in first line of a comment are recognized

  • +1|approve[d]|sign[ed]: L1/L2's to approve it
  • -1|reject[ed]: L1/L2's to reject it
  • assign <category>[,<category>[,...]]: L1/L2's to request signatures from other categories
  • unassign <category>[,<category>[,...]]: L1/L2's to remove signatures from other categories
  • hold: L1/all L2's/release manager to mark it as on hold
  • unhold: L1/user who put this PR on hold
  • merge: L1/release managers to merge this request
  • [@cmsbuild,] please test: L1/L2 and selected users to start jenkins tests
  • [@cmsbuild,] please test with cms-sw/cmsdist#<PR>: L1/L2 and selected users to start jenkins tests using externals from cmsdist

@cmsbuild
Copy link
Contributor

cmsbuild commented Dec 5, 2015

@cmsbuild
Copy link
Contributor

cmsbuild commented Dec 5, 2015

@deguio
Copy link
Contributor

deguio commented Dec 7, 2015

+1

@slava77
Copy link
Contributor Author

slava77 commented Dec 7, 2015

+1

for #12676 5f2128f

  • jenkins tests confirmed no changes in monitored quantities

@cmsbuild
Copy link
Contributor

cmsbuild commented Dec 7, 2015

This pull request is fully signed and it will be integrated in one of the next CMSSW_8_0_X IBs (tests are also fine). This pull request requires discussion in the ORP meeting before it's merged. @slava77, @davidlange6, @Degano, @smuzaffar

@davidlange6
Copy link
Contributor

+1

cmsbuild added a commit that referenced this pull request Dec 8, 2015
…gn643/codeRules

resolve some issues from static analyzer (mostly in RECO)
@cmsbuild cmsbuild merged commit 215912e into cms-sw:CMSSW_8_0_X Dec 8, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants