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.
- +
Strategies for Dealing With IT Complexity 24/12/2007 10:30:47
Every innovation, every business process improvement, comes with an IT complexity tax that must be paid by CIOs in time, money and sweat. Here are strategies to mitigate the increasing complexity of IT as it enables new business.Every innovation, every business process improvement, comes with an IT complexity tax that must be paid by CIOs in time, money and sweat. Here are strategies to mitigate the increasing complexity of IT as it enables new business.
Read up on the latest ideas and technologies from companies that sell hardware, software and services. Data grids and service-oriented architecture
Know thy self: Reduce costs, secure data and ensure compliance with identity management
Solve Exchange Mailbox Storage Issues Once and for All
Everything you need to know about email and web security (but were afraid to ask)
Refresh your AUP: Top tips to ensure your acceptable use policy is fit for purpose
Email Archiving Implementation: Five Costly Mistakes to Avoid
Cutting printer costs
Security Inside Out
Zones provide focussed content from Computerworld and leading technology partners.Discover how SOA can create smarter outcomes for your business.
Attend and learn:
- How SOA is helping leading companies to become more agile
- Where you should be applying SOA processes in your company
- The top SOA implementation mistakes to avoid
Click here for more information.
- +
Computerworld Live Podcast #97: The Future of Enterprise Networking 25/07/2008 09:45:36
This week CW Live chats with Mark Thompson, global sales and marketing manager for HP ProCurve, on the future of the enterprise networking. Mark discusses the trends we can expect to see in the near future and how the right infrastructure can ensure your enterprise network is secure. - +
Computerworld Live Podcast #96: Security at the Edge 11/06/2008 09:22:22
CW Live speaks with Amol Mitra, HP ProCurve Director of Marketing for Asia Pacific and Japan. Today's topic: how enterprises are starting to shift away from simply controlling security via server logins, firewalls and moving to more adaptive security frameworks. - +
Data Management Edition #10: Multi-Petascale Systems 02/05/2008 09:12:33
This week we look at sustainability and the development of multicore technologies to build multi-petascale systems. - +
IT Security Edition #11: How to poison the Storm botnet 01/05/2008 08:51:55
This week CW Live presents a case study on how to poison the notorious Storm botnet . Plus we take a look at Cisco's plans for Ironport. - +
IT Security Edition #10: Cyber-battles fought and won 24/04/2008 11:09:47
Vendors bow to end user pressure to improve product security, and we take a look at the latest concepts shaping the cyber-battlefield of the future.
Mitel Launches Simpler Unified Communications 2008-11-19 17:40:00+11
Symantec Security Products Shine in In-Depth Protection Reviews 2008-11-19 13:01:00+11
Digital Sense opens first stage of the world’s largest data centre complex in Brisbane 2008-11-19 13:00:00+11
RightNow Technologies Delivers RightNow November ’08 Plus New On Demand Enterprise Contact Centre Package 2008-11-19 12:00:00+11
Valorem uniquely deploys RSA SecurID for remote workforce management 2008-11-19 10:16:00+11
Taking On Demand CRM Integration to the Next Level
Discover the current integration challenges facing businesses attempting to deploy on demand CRM systems. Learn how to create comprehensive integration of your data, user interface and business process levels and transform a portfolio of disparate applications into a unified, virtual application suite.








