Asp.Net Code Drying Measurement Using Static Analysis

Are there static analysis tools for Asp.Net that measure DRY-ness ("Do not Repeat Yourself") code?

I would like to get a report on where the code is duplicated in an Asp.Net project.

+4
source share
1 answer

Our CloneDR tool can detect duplicate code through VB.net and C # code, which make up a significant part of the ASP.net application. CloneDR handles discovery on very large systems.

We can create clone detectors (using the same basics) trivially for HTML; we have all the parts, but literally did not assemble them.

We have nothing special for ASP.net files with bound ASP code (it looks like HTML, but not quite) with mixed .net code; we could build such without much effort. You can see something similar in our CloneDR for JavaScript, which will process HTML pages containing javascript elements.

+1
source

Source: https://habr.com/ru/post/1336074/


All Articles