code-duplication
How do I get Simian to produce a nice HTML report I can email to everyone on the team?
I am trying to discover how great our problem is with duplicate code, therefore I need to be able to mail a nice report (HTML, PDF, or word) to everyone on the team that lists all the duplicates that[详细]
2022-12-20 02:32 分类:问答Java Prevent code duplication when getting a list of a property in each Object from a list of Objects
I have several objects that look like this: class PhoneNumber { StringgetNumber(); StringgetExtension(); DateTime getLastCalled();[详细]
2022-12-18 20:12 分类:问答Eliminating code duplication in a single file
Sadly, a project that I have been working on lately has a large amount of copy-and-paste code, ev开发者_JS百科en within single files.Are there any tools or techniques that can detect duplication or ne[详细]
2022-12-18 14:26 分类:问答Is it possible to add a reference to some source code to include in a source file in vb.net, winforms?
I don\'t know what this is called so I\'ve struggled to find an answer from google but I have a vague memory of it from t\'old days.[详细]
2022-12-18 06:18 分类:问答any ideas for avoiding duplicate code in C# and javascript
i have an asp.net mvc website where i build up most of the page using C# for example building up html tables given a set of data from my viewmodel[详细]
2022-12-17 12:35 分类:问答Need help avoiding code duplication across multiple method signatures
I have a need to restrict certain numbers to valid ranges in my application. I created delegates to handle this. I don\'t know if this is the right way to do it; I\'m running into something that feels[详细]
2022-12-16 23:04 分类:问答How can I codegen classes like this in C#?
I have multiple classes in a project that are exactly the same except for the name of the class. Basically, they represent glorified enums loaded at runtime from config files. The classes look like th[详细]
2022-12-16 02:05 分类:问答What's the best way to avoid code duplication in these two functions that do the same thing?
Given this form (which contains a submit button): <form id=\"review_form\"> <input type=\"submit\" id=\"btn_submit\" value=\"Submit with ajax! (submit button)\">[详细]
2022-12-10 02:43 分类:问答