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.
Latest on ASP & .Net
- Visual Studio 2010 opens up to browser-like extensions
- Aussie Startup plugs in Mono to Active Directory
- Mozilla unblocks Microsoft add-on for Firefox
- MySpace to open source in-house data analysis technology
- Novell tool opens iPhone to .Net developers
- Microsoft offers open source link for PHP, .Net
- Microsoft pitches interoperability at JavaOne
- Commbank taps Ajax for biggest Web site redesign
- New Moonlight release available for testing
- Linux out, Windows in at Electoral Commission
Development Essentials
- Security experts name top 25 programming screw-ups
- Top 10 wicked cool algorithms
- Facebook app verification fee draws criticism
- Microsoft's openness stressed
- Yahoo's developer platform to launch this week
- Microsoft starts new developer portal
- Google API allows creating apps that can track laptops
- PHP, JavaScript, Ruby, Perl, Python, and Tcl Today: The State of the Scripting Universe
- Analyst: In-house app development fraught with waste
- Is unit testing doomed?
- Instructional Designer (Training Developer) (s15)10/02/2010
Other
I.T. & T
Instructional Designer (Training Developer) (s15) - BUSINESS DEVELOPMENT MANAGER - CONTENT MANAGEMENT SYSTEMS, INTRANETS,10/02/2010
Other
I.T. & T
BUSINESS DEVELOPMENT MANAGER - CONTENT MANAGEMENT SYSTEMS, INTRANETS, - Informatica PowerCenter Consultants10/02/2010
Other
I.T. & T
Informatica PowerCenter Consultants - WEB CONTENT MANAGEMENT SYSTEMS - BUSINESS DEVELOPMENT MANAGER10/02/2010
Other
I.T. & T
WEB CONTENT MANAGEMENT SYSTEMS - BUSINESS DEVELOPMENT MANAGER - Senior Tester9/02/2010
Other
I.T. & T
Senior Tester
Whitepapers
-
Justifying Business Intelligence Applications: A white paper exploring the Buy vs. Build argument -
Video Case Study | Unified Communications for Small Business -
CIO Executive Guide | Unlocking the Potential of Automated Accounts Payable -
Best Practices for Pipeline Management -
How Small Businesses Worldwide Use Communications to Thrive in the New Economy
TechWorld Blogs
Recent blog posts
- Talk about mobile computing
- iPad arrives: can Apple crack the tablet?
- Linux.conf.au 2010 kicks off in New Zealand
- VMware jumps further into SaaS with Zimbra
- Amarok 2.2.2 released – rock on!
- Happy Nexus Year
- So long 2009, and thanks for another decade in tech
- KDE 4.4 enters beta, bring on mainstream computing
- Chromium OS source released: another way of thinking
- Dell goes Android for mobile market entrance
Recent comments
- Buy 2 get 1 free: Apple iphone 3gs 32gb,Nokia N97,BB Bold,HTC HD
2 hours 33 min ago - My Take:
2 hours 50 min ago - PDA Smart phone users
12 hours 2 min ago - Touch Phone Accessories
12 hours 10 min ago - joo joo
13 hours 1 min ago - Thanks!
1 day 8 hours ago - Transcription mistake
2 days 9 hours ago - Freeway is hardly Australian
2 days 11 hours ago - Great Business Initiative
3 days 6 hours ago - www.mintfly.com
3 days 10 hours ago - also creating unemployment
4 days 3 hours ago - How to save in one page???
5 days 5 hours ago - Well it's 2010 now...
5 days 14 hours ago - Man, catch up. You're being
6 days 15 hours ago - Rhapsody in Australia
6 days 16 hours ago - ipad reaction
1 week 6 hours ago - Capacity Bollenecks
1 week 21 hours ago - not only for "young folks"
1 week 1 day ago - Take action now
1 week 1 day ago - u guys are a idiots. i have
1 week 1 day ago







Comments
Post new comment