dscanner v0.4.0-beta.6 (2017-02-04T06:22:52Z)
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_function
auto_ref_assignment
base
builtin_property_names
comma_expression
config
constructors
del
duplicate_attribute
enumarrayliteral
explicitly_annotated_unittests
final_attribute
fish
function_attributes
helpers
if_statements
ifelsesame
imports_sortedness
incorrect_infinite_range
label_var_same_name_check
lambda_return_check
length_subtraction
line_length
local_imports
logic_precedence
mismatched_args
numbers
objectconst
opequals_without_tohash
pokemon
range
redundant_parens
run
static_if_else
stats_collector
style
undocumented
unmodified
unused
unused_label
useless_assert