Cloned code finder offered for Visual Studio
- 28 August, 2008 09:49
- Comments
Clone Detective for Visual Studio is available under the Apache 2.0 license
An open-source technology has been launched to help developers using Microsoft Visual Studio 2008 find duplicated code in their software projects.
Called Clone Detective for Visual Studio, the product allows developers to analyze C# projects for source code duplicated elsewhere. These duplicates can lead to inconsistencies and indicate poorly factored code, according to the Clone Detective Web page at Microsoft's CodePlex site for open-source projects.
Version 1.0.0.0 of Clone Detective for Visual Studio was released on August 16 under an Apache 2.0 license.
"Duplicated source code can be an indicator for quality problems," said project coordinator Immo Landwerth. "Having the same algorithm spread across the whole application in slightly different variations will lead to increased maintenance effort, which ultimately may result in inconsistencies."
Among the reasons for code duplication is "lazy" developers who only know how to cut and paste, Landwerth said. Other reasons could include architectural constraints and methodology issues.
While currently limited to C# code, the next release will add capabilities to examine Visual Basic .Net and C++ code, Landwerth said. The integration between Clone Detective and Visual Studio was developed by Landwerth and colleague Thomas Dallmair in cooperation with Technical University of Munich.
"Clone Detective makes it easy for developers to perform a clone detection and visualize the existing clones. However, in some cases, the source duplication cannot be easily removed (e.g. the cost of removing the clones outweighs the costs of keeping them due to heavy design change requirements)," Landwerth said. "In this case, Clone Detective helps by reminding you that a given portion of code is duplicated (by a purple bar in the code editor). So if you make changes to it you should review the other occurrences and make sure you keep your application consistent."
Clone Detective leverages the university's ConQUAT (continuous quality assessment toolkit) tool for clone detection.
The next version of Clone Detective will be able to find "fuzzy clones," said Landwerth. "Fuzzy clones are clones that are almost identical but not token by token. This will allow you to find existing inconsistencies in your code base," he said.
Separately in the Visual Studio realm, TeamExpand this week is offering timesheet-tracking software for Visual Studio.Net software development teams. Functioning with the Microsoft TFS (Team Foundation Server) application lifecycle management server, TeamExpand's commercial release of its TX Chrono timesheet application allows project managers to submit and analyze timesheets.
The Web-based application features a set of notifications and reporting capabilities lacking in TFS, TeamExpand said. TX Chrono offers workflow and TFS compatibility to make software development activities more predictable and visible, the company said. Bug fixes are included as well.
TX Chrono offers:
- Automated notifications and alerts on projects, individuals and activities.
- Timesheet submission and approval.
- Individual and non-standard schedules.
- Non-standard working hours per day or week.
- Separate billable and non-billable tasks.
- Custom timetables.
- Advanced reporting.
TX Chrono is licensed at US$15 per seat each month. A 30-day free trial version is available at this Web page.
- Bookmark this page
- Share this article
- Got more on this story? Email Computerworld
- Follow Computerworld on twitter
- Sun Blade 6000 Modular System: Power and Cooling Efficiency
- Forrester Research | Your Enterprise Database Security Strategy 2010
- Implementing, Serving, and Using Cloud Storage
- CommVault Extends its Data Protection and Information Management Strategy with Simpana 9
- Transforming Software Delivery: An IBM Rational Case Study
- iPhone 5 rumour rollup for the week ending February 10
- 3D mapping revives underwater city
- Academic challenges Turnbull over NBN satellite criticism
- What are you saying: Telstra’s customer service slowly improving, SA minister urging Facebook to overturn its photo ban
- In pictures: Capgemini opens new Canberra office
-
Maingear's six-core laptop has 1.8TB of SSD storage
-
After Megaupload shuts, BTJunkie follows
-
Windows Event Viewer phishing scam remains active
-
NeuroSky MindWave: Fun with Brainwaves
-
20 popular Ubuntu Linux apps you may want to try
-
Computers for Seniors for Dummies, 2nd Edition
-
MYOB Software for Dummies 6E Australian Edition
-
Office 2007 for Dummies
-
Office 2007 All-In-One Desk Reference for Dummies
-
Excel 2007 All-In-One Desk Reference for Dummies
-
Microsoft Office
-
Teach Yourself Visually Windows 7
-
Windows 7 for Dummies® Dvd+book Bundle
-
Windows 7 for Dummies®












Comments
Post new comment