Are there static analysis tools for Asp.Net that measure the DRY-ness ("Don't开发者_如何转开发 Repeat Yourself") of code?
I would like to get a report of where code is being duplicated within a Asp.Net project.
Our CloneDR tool can detect duplicated code across VB.net and C# code, which form a substantial part of an ASP.net application. CloneDR handles detection across very large systems.
We can build clone detectors (using the same foundations) trivially for HTML; we have all the pieces but literally haven't assembled them.
We don't have something specically for ASP.net files with interwoven ASP code (it looks like HTML but isnt quite) with intermixed .net code; we could build such without much effort. You can see something like this in our CloneDR for JavaScript, which will process HTML pages containing javascript elements.
精彩评论