Bug 4487 - Remove duplicated code
Summary: Remove duplicated code
Status: CLOSED WONTFIX
Alias: None
Product: ThinLinc
Classification: Unclassified
Component: Other (show other bugs)
Version: 3.4.0
Hardware: PC Unknown
: P2 Normal
Target Milestone: 4.12.0
Assignee: Peter Åstrand
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-21 13:20 CET by Peter Åstrand
Modified: 2020-04-21 13:00 CEST (History)
0 users

See Also:
Acceptance Criteria:


Attachments

Description Peter Åstrand cendio 2012-11-21 13:20:03 CET
Created attachment 460 [details]
vsm.html

Duplicated code happens easily, but is bad. I've found a nice tool which can detect & report such code blocks: Code Duplication Detector (CDD) from http://code.google.com/p/tctoolkit/. I did a quick testrun on some paths in our tree, and several problems were found. See attached HTML report. I think we should go through the different modules and, if easily done, remove the duplicated code.
Comment 1 Pierre Ossman cendio 2020-04-21 13:00:20 CEST
This hasn't happened in eight years so closing.

Note You need to log in before you can comment on or make changes to this bug.