-
CodeSonar Manual
-
Notices
-
Welcome
-
Getting Started With CodeSonar
-
Using CodeSonar
-
Building and Analyzing Projects
-
Eclipse Plug-In
-
Visual Studio Plug-In
-
Bugs, Weaknesses and Warnings
-
Warning Classes
-
The Warning Mnemonic Hierarchy
-
Warning Class Significance
-
C and C++ Warnings
-
Java Warnings
-
C# Warnings
-
Go Warnings
-
Staticcheck (Go) Warning Classes
-
GO.CONCURRENCY
-
GO.CORRECTNESS
-
GO.DEADCODE
-
GO.DEADCODE.AFAIOB: A Function Argument Is Overwritten Before Its First Use (Staticcheck)
-
GO.DEADCODE.AIEICH: An If Else If Chain Has Repeated Conditions and No Side-effects; If the Condition Didn't Match the First Time, It Won't Match the Second Time, Either (Staticcheck)
-
GO.DEADCODE.AVATAV: A Value Assigned to a Variable Is Never Read Before Being Overwritten. Forgotten Error Check or Dead Code? (Staticcheck)
-
GO.DEADCODE.BOHIEO: Binary Operator Has Identical Expressions on Both Sides (Staticcheck)
-
GO.DEADCODE.BSWNED: Break Statement With No Effect. Did You Mean to Break Out of an Outer Loop? (Staticcheck)
-
GO.DEADCODE.CAVANE: Comparing a Value Against NaN Even Though No Value Is Equal to NaN (Staticcheck)
-
GO.DEADCODE.CBOSAX: Certain Bitwise Operations, Such As 'x ^ 0', Do Not Do Anything Useful (Staticcheck)
-
GO.DEADCODE.CFIRVF: Checking for Impossible Return Value From a Builtin Function (Staticcheck)
-
GO.DEADCODE.CFLMCO: Calling Functions Like 'math.Ceil' on Floats Converted From Integers Doesn't Do Anything Useful (Staticcheck)
-
GO.DEADCODE.CNVAN: Checking Never-nil Value Against Nil (Staticcheck)
-
GO.DEADCODE.CRGORG: Comparing 'runtime.GOOS' or 'runtime.GOARCH' Against Impossible Value (Staticcheck)
-
GO.DEADCODE.CTAOAV: Comparing the Address of a Variable Against Nil (Staticcheck)
-
GO.DEADCODE.CUVANV: Comparing Unsigned Values Against Negative Values Is Pointless (Staticcheck)
-
GO.DEADCODE.DTRVOA: Discarding the Return Values of a Function Without Side Effects, Making the Call Pointless (Staticcheck)
-
GO.DEADCODE.FATWNB: Field Assignment That Will Never Be Observed. Did You Mean to Use a Pointer Receiver? (Staticcheck)
-
GO.DEADCODE.GCCENZ: Go Constants Cannot Express Negative Zero (Staticcheck)
-
GO.DEADCODE.IAAGRN: Ineffective Attempt at Generating Random Number (Staticcheck)
-
GO.DEADCODE.IAASS: Ineffective Attempt at Sorting Slice (Staticcheck)
-
GO.DEADCODE.ICOIVW: Impossible Comparison of Interface Value With Untyped Nil (Staticcheck)
-
GO.DEADCODE.IDOLTR: Integer Division of Literals That Results in Zero (Staticcheck)
-
GO.DEADCODE.MIBCIT: Multiple, Identical Build Constraints in the Same File (Staticcheck)
-
GO.DEADCODE.NABTBI: Negating a Boolean Twice ('!!b') Is the Same As Writing 'b'. This Is Either Redundant, or a Typo. (Staticcheck)
-
GO.DEADCODE.NUUQRA: '(*net Url.URL).Query' Returns a Copy, Modifying It Doesn't Change the URL (Staticcheck)
-
GO.DEADCODE.SOV: Self-assignment of Variables (Staticcheck)
-
GO.DEADCODE.TLEUAO: The Loop Exits Unconditionally After One Iteration (Staticcheck)
-
GO.DEADCODE.TROAWN: The Result of 'append' Will Never Be Observed Anywhere (Staticcheck)
-
GO.DEADCODE.TVITLC: The Variable in the Loop Condition Never Changes, Are You Incrementing the Wrong Variable? (Staticcheck)
-
GO.DEADCODE.UCCIAT: Unreachable Case Clause in a Type Switch (Staticcheck)
-
GO.DEADCODE.X1IAZ: 'x % 1' Is Always Zero (Staticcheck)
-
GO.DEADCODE.XAIETX: "x = Append(y)" Is Equivalent to "x = Y" (Staticcheck)
-
GO.DEADCODE.XGSTXI: '&*x' Gets Simplified to 'x', It Does Not Copy 'x' (Staticcheck)
-
GO.DUBIOUS
-
GO.PERFORMANCE
-
GO.SIMPLIFICATION
-
GO.STDLIB
-
GO.STYLE
-
GO.TESTING
-
GO.UC
-
Kotlin Warnings (detekt)
-
JavaScript Warnings
-
TypeScript Warnings
-
Python Warnings
-
Rust Warnings
-
Crashing and Non-Crashing Vulnerabilities
-
Inspecting Warnings
-
Warnings: Internal Representation (IR) Influence
-
Helping CodeSonar Out
-
CodeSonar and assert()
-
Ignoring True Positives
-
Warning Categories
-
Typical CodeSonar Tasks
-
GUI Reference
-
Hub API
-
codesonar Subcommands
-
Frequently Asked Questions
-
Extending and Customizing CodeSonar
-
How CodeSonar Works
-
Role-Based Access Control (RBAC)
-
Appendices