An experiment in trying to automate some of concepts described in Uncle Bob's books on Clean Code.
This is a ReSharper extension to analyse your C# code to highlight a symptom that your code is becoming too complex, is not "clean" enough. Increased complexity can make your code harder to read, understand and maintain. The plugin currently checks:
if
statement with the method. This is an indication that the method has more than one responsibility.if
statement contains too many expressions.Handler
, Manager
, Controller
. The list of names is configurable.The limits used by each analysis are configurable in the options page.
Please log feature requests and bugs in Issues. Note that this version only supports C# and VB.Net.
Install from ReSharper → Extension Manager.
This project is a fork from Hadi Hariri work.
Licensed under MIT (c) 2012 - 2017 Hadi Hariri and Contributors
Note: All references to Clean Code, including but not limited to the Clean Code icon are used with permission of Robert C. Martin (a.k.a. UncleBob)