Please enable JavaScript.
Coggle requires JavaScript to display documents.
Code smells, First sets of refactorings, Code smells v2 - Coggle Diagram
Code smells
Mutable data
Encapsulate variable
Split variable
Extract function
Separate query from modifer
Remove setting method
Replace derived variable with query
Combine functions into class
Combine functions into transform
Change reference to value
Long function
Replace temp with query
Extract function
Introduce parameter object
Preserve whole object
Replace function with command
Decompose conditional
Conditional with poylymorphism
Split loop
Shotgun surgery
Move function
Move field
Combine function into class
Combine function into transform
Split phase
Inline function
Inline class
Long parameter list
Replace parameter with query
Preserve whole object
Introduce parameter object
Remove flag argument
Combine function into class
Primitive obsessoin
Replace primitive with obejct
Replace type code with subclasses
Replace conditional with polymorphism
Extract class
Introduce parameter object
speculative generality
Collapse hierachy
Inline function
Inline class
Change function declaration
Remove dead code
Divergent change
Split phase
Extraction func
Extract class
Move function
Mysterious name
Change function declaration
Rename vairable
Rename field
Duplicated code
Extract function
Slide Statement
Pull up method
Data clump
Extract class
Introduce parameter object
Preserve whole object
Feature envy
Move function
Extract function
Glolble data
Encapsulate variable
First sets of refactorings
Extraction function
Nested function
Inline function
Extract variable
Inline variable
Change function declaration
Encapsulate variable, value
Rename variable, constant
Introduce Parameter Object
Combine functions into class
Combine functions into transform
Encapsulate mutable data - in class
Code smells v2
Middle man
Remove middle man
Replace superclass with delegate
Replace subclass with delegate
Inline function
Data class
Encapsulate record
Remove setting method
Refused bequest
Pushdown method
Pushdown field
Message chain
Temporary field
Loop
Repeated switch
Lazy element
Larger sclas
Comment