CS 405 5-3 Activity Static Code Analysis(revised)

docx

School

Southern New Hampshire University *

*We aren’t endorsed by this school

Course

405

Subject

Computer Science

Date

Apr 3, 2024

Type

docx

Pages

2

Uploaded by BailiffSpider1312

Report
Koehler Radder 06-02-2023 CS 405 5-3 Activity: Static Code Analysis Cppcheck and Visual Studio IDE differ in how much detail they look into each error, warning, or styles within the code. Each discovered issue is broken down and categorized with a brief summary of what it entails, with a specific Id for each issue and a general severity of risk. The Visual Studio IDE only mentions 3 issues in three lines of text, a buff overrun issue on line 66, an uninitialized variable on line 42 and a type issue on line 127. Cppcheck found 7 instances of style issues that had nothing come up in Visual Studio. Cppcheck found 7 warning and error
issues, one of which was not noticed by Visual Studio. The last issue was a performance issue on line 50, which could lead to exploitable vulnerabilities if not fixed.
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help