dscanner v0.2.0 (2015-09-18T06:39:38Z)
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
asm_style
base
builtin_property_names
comma_expression
config
constructors
del
duplicate_attribute
enumarrayliteral
fish
function_attributes
helpers
if_statements
ifelsesame
label_var_same_name_check
length_subtraction
linespan
local_imports
logic_precedence
numbers
objectconst
opequals_without_tohash
pokemon
range
redundant_parens
run
stats_collector
style
undocumented
unmodified
unused
unused_label