Skip to content

Latest commit

 

History

History
11 lines (6 loc) · 356 Bytes

duplicateBranch.md

File metadata and controls

11 lines (6 loc) · 356 Bytes

Pattern: Duplicate branch

Issue: -

Description

Finding the same code in an if and related else branch is suspicious and might indicate a cut and paste or logic error. Please examine this code carefully to determine if it is correct.

Further Reading