473,473 Members | 1,513 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Sourcecode cleaup tool

Hello,
does somebody know a source code cleanup tool. It should be able to
find unused functions in the source code an delete them. At the
moment, I am just using Crystal Flow for C, but there is not process
of automation to cleanup the source.
Mar 14 '08 #1
2 1439
An*********@compuserve.de writes:
Hello,
does somebody know a source code cleanup tool. It should be able to
find unused functions in the source code an delete them. At the
moment, I am just using Crystal Flow for C, but there is not process
of automation to cleanup the source.
Did you try running a profiler? This can help.
Mar 14 '08 #2
Richard wrote, On 14/03/08 14:37:
An*********@compuserve.de writes:
>Hello,
does somebody know a source code cleanup tool. It should be able to
find unused functions in the source code an delete them. At the
moment, I am just using Crystal Flow for C, but there is not process
of automation to cleanup the source.

Did you try running a profiler? This can help.
It will show you code that is definitely executed, but it won't show you
that the function frig_pay_for_leap_year() is actually called even if
only once every 4 years unless you are very careful. It also does not
achieve the OPs aim of automating the cleanup.

Personally I would suggest that if there is a tool to automate the
cleanup you would have to check carefully what it has done and it still
won't do the entire job. How will it know that no one used the -foo
command line switch so the code for it is never called?
--
Flash Gordon
Mar 14 '08 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: DvDmanDT | last post by:
Hello, I have an intresting problem: I want to let users upload sourcecode and then compile it using my cygwin gcc... But one thing at a time... I can't get that gcc to execute... ...
12
by: Mark Buch | last post by:
Hi, is it possible to protect the python sourcecode? I have a nice little script and i dont want to show everbody the source. Im using python on a windows pc. Thank you - Mark
4
by: Aaron | last post by:
I would like to display my sourcecode(plain text) in a html page. I found this website that does exactly that. http://www.manoli.net/csharpformat/ Does anyone know where I can download the...
7
by: messagedog | last post by:
maybe, we may together study windows sourcecode. and u? if u need,u may download in http://activex.126.com/
4
by: Dave | last post by:
Hi, Is there anyone knows howto obtain HTML sourcecode in a string. In VB6 I used "inet" to do the job but it won't work in VB.net. Thank Dave
16
by: Lucas J. Riesau | last post by:
I'm a serial killer and unlike other killers I don't kill people with guns, knives or chainsaws. I kill people with software. By reading the sourcecode of one of my programs, the victim's brain...
4
by: mh121 | last post by:
Hello, I am trying to input a spreadsheet of possible domain names and output the length of the sourcecode of the webpage (if it exists). In doing this, I have three small questions (I am a...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.