dscanner v0.4.0-alpha2 (2016-04-28T22:52:05Z)
Dub
Repo
analysis.ifelsesame
analysis
Undocumented in source.
Members
Classes
IfElseSameCheck
class
IfElseSameCheck
Checks for duplicated code in conditional and logical expressions.
If statements whose "then" block is the same as the "else" block
|| and && expressions where the left and right are the same
== expressions where the left and right are the same
Meta
Source
See Source File
analysis
modules
alias_syntax_check
asm_style
auto_ref_assignment
base
builtin_property_names
comma_expression
config
constructors
del
duplicate_attribute
enumarrayliteral
fish
function_attributes
helpers
if_statements
ifelsesame
incorrect_infinite_range
label_var_same_name_check
length_subtraction
line_length
local_imports
logic_precedence
mismatched_args
numbers
objectconst
opequals_without_tohash
pokemon
range
redundant_parens
run
stats_collector
style
undocumented
unmodified
unused
unused_label
useless_assert