Reviewer finds problems in source code
How to use CodeGuru Reviewer’s source-code findings and CodeGuru Profiler’s runtime hotspots to decide what to fix or optimize.
CodeGuru Reviewer analyzes source code without running the application. In an existing repository association, it can review pull request changes and point to code that may contain a bug, leak a resource, or misuse an API. New repository associations can no longer be created.
Read a recommendation as a lead, not a confirmed defect. If Reviewer flags a stream that may stay open, follow the flagged code through both the success and error paths to see who closes it. If a path leaves it open, fix that path and add a test that exercises it. The finding tells you where to look, not how often that path runs in production.
Next up: Sort the statements on what you just read.