473,657 Members | 3,022 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

call tree tool?

mh
I'm cleaning up some old code, and want to see what orphan
functions might be sitting around.

Is there a static call tree analyzer for python?

Many TIA!
Mark

--
Mark Harrison
Pixar Animation Studios
Jun 27 '08 #1
6 2544
On May 15, 3:47 pm, m...@pixar.com wrote:
I'm cleaning up some old code, and want to see what orphan
functions might be sitting around.

Is there a static call tree analyzer for python?
How about
http://pycallgraph.slowchop.com/

....
Jay Graves
Jun 27 '08 #2
On Thu, May 15, 2008 at 5:19 PM, jay graves <ja********@gma il.comwrote:
On May 15, 3:47 pm, m...@pixar.com wrote:
>I'm cleaning up some old code, and want to see what orphan
functions might be sitting around.

Is there a static call tree analyzer for python?

How about
http://pycallgraph.slowchop.com/

...
Jay Graves
--
http://mail.python.org/mailman/listinfo/python-list
Have you checked to see if PyChecker or pylint can help you?
Apparently they can find unused variables at least, I don't know
whether they do functions or not.
Jun 27 '08 #3
On May 15, 4:26*pm, "Dan Upton" <up...@virginia .eduwrote:
On Thu, May 15, 2008 at 5:19 PM, jay graves <jaywgra...@gma il.comwrote:
On May 15, 3:47 pm, m...@pixar.com wrote:
I'm cleaning up some old code, and want to see what orphan
functions might be sitting around.
Is there a static call tree analyzer for python?
How about
http://pycallgraph.slowchop.com/
...
Jay Graves
--
http://mail.python.org/mailman/listinfo/python-list

Have you checked to see if PyChecker or pylint can help you?
Apparently they can find unused variables at least, I don't know
whether they do functions or not.
I think of dynamic programming and dynamic code, but voice. Does that
mean sing about it?
Jun 27 '08 #4
On May 15, 6:53*pm, castironpi <castiro...@gma il.comwrote:
On May 15, 4:26*pm, "Dan Upton" <up...@virginia .eduwrote:


On Thu, May 15, 2008 at 5:19 PM, jay graves <jaywgra...@gma il.comwrote:
On May 15, 3:47 pm, m...@pixar.com wrote:
>I'm cleaning up some old code, and want to see what orphan
>functions might be sitting around.
>Is there a static call tree analyzer for python?
How about
>http://pycallgraph.slowchop.com/
...
Jay Graves
--
>http://mail.python.org/mailman/listinfo/python-list
Have you checked to see if PyChecker or pylint can help you?
Apparently they can find unused variables at least, I don't know
whether they do functions or not.

I think of dynamic programming and dynamic code, but voice. *Does that
mean sing about it?- Hide quoted text -

- Show quoted text -
I have to write a song. Somebody?
Jun 27 '08 #5
On May 15, 9:27*pm, castironpi <castiro...@gma il.comwrote:
On May 15, 6:53*pm, castironpi <castiro...@gma il.comwrote:


On May 15, 4:26*pm, "Dan Upton" <up...@virginia .eduwrote:
On Thu, May 15, 2008 at 5:19 PM, jay graves <jaywgra...@gma il.comwrote:
On May 15, 3:47 pm, m...@pixar.com wrote:
I'm cleaning up some old code, and want to see what orphan
functions might be sitting around.
Is there a static call tree analyzer for python?
How about
http://pycallgraph.slowchop.com/
...
Jay Graves
--
http://mail.python.org/mailman/listinfo/python-list
Have you checked to see if PyChecker or pylint can help you?
Apparently they can find unused variables at least, I don't know
whether they do functions or not.
I think of dynamic programming and dynamic code, but voice. *Does that
mean sing about it?- Hide quoted text -
- Show quoted text -

I have to write a song. *Somebody?- Hide quoted text -

- Show quoted text -
Sorry for the frequent posts: I think I have to write a noise about
train cars crossing rail, putting numbers on frequencies, and send
code. Train whistles are pretty good too. I believe those are the
ones that start to go on keystrokes. I'd try to compare differences
between those and bowling pins. A couple others are coins clinking
and poker chips. Generally speaking, tapping metals and glass.
Jun 27 '08 #6
On May 15, 9:30*pm, castironpi <castiro...@gma il.comwrote:
On May 15, 9:27*pm, castironpi <castiro...@gma il.comwrote:


On May 15, 6:53*pm, castironpi <castiro...@gma il.comwrote:
On May 15, 4:26*pm, "Dan Upton" <up...@virginia .eduwrote:
On Thu, May 15, 2008 at 5:19 PM, jay graves <jaywgra...@gma il.comwrote:
On May 15, 3:47 pm, m...@pixar.com wrote:
>I'm cleaning up some old code, and want to see what orphan
>functions might be sitting around.
>Is there a static call tree analyzer for python?
How about
>http://pycallgraph.slowchop.com/
...
Jay Graves
--
>http://mail.python.org/mailman/listinfo/python-list
Have you checked to see if PyChecker or pylint can help you?
Apparently they can find unused variables at least, I don't know
whether they do functions or not.
I think of dynamic programming and dynamic code, but voice. *Does that
mean sing about it?- Hide quoted text -
- Show quoted text -
I have to write a song. *Somebody?- Hide quoted text -
- Show quoted text -

Sorry for the frequent posts: I think I have to write a noise about
train cars crossing rail, putting numbers on frequencies, and send
code. *Train whistles are pretty good too. *I believe those are the
ones that start to go on keystrokes. *I'd try to compare differences
between those and bowling pins. *A couple others are coins clinking
and poker chips. *Generally speaking, tapping metals and glass.- Hide quoted text -

- Show quoted text -
I also have to apologize for my manners. This had nothing to do with
'call tree tool', which I neglected to consider. It sounds teriffic
but I think something about Python makes it unfeasible or inadvisable
to visualize them. It's naturally possible it has something to do
with the fact that the screen's in two dimensions relative to time,
which incidentally some rel. dbs. could use in expressiveness, it's
just that it has to come on the dollar since 'is' is often relative
to, and comes with verbs.

In per Python, you'd have to be wanting to visualize that breadth of
information to be wanting to spiral call trees on to screen.
Jun 27 '08 #7

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

Similar topics

6
6110
by: Vinay | last post by:
Hi Everybody I have been looking out for a Function call tree command in Unix environment. Given a piece of source code(millions of lines), there is a function F1() calling F2() calling F3(). The tools should analyse the C/C++ source code & provide a tree-like structure denoting the sequence of calls made by a particular
2
2300
by: pefter | last post by:
I have a bunch of source files with lots of entangled function calls. I'm looking for some graphical tool to generate a 'call tree' to get an overview of the hierarchy of the function calls. Any hints appreciated. Pefter
2
975
by: Adam Nowotny | last post by:
I want to make some cleanup in my application. Is there any tool that would show me methods that are NOT used in my solution ? -- Adam Nowotny JID: daft@chrome.pl GnuPG key 0x42D56D98 at hkp://blackhole.pca.dfn.de
3
6214
by: Max | last post by:
Hi all, in order to complete the documentation of a C program, I would like to have a graphical representation of the function call tree. Do you know any program able to do that? I have already tried calltree and cflow, but I am not really satisfied with them. It would be very nice if once the main() routine is given, such a program would look inside the source (or object) files and returns a graph (better if in a format that I can modify...
5
6686
by: Ham | last post by:
Hi I am looking for a function call tree program to map the function calls of my project. I however do not want to compile my project. All the programs I have found for this require you to compile the project which may span over 20 files or so. I would prefer the output probably to be in text so I can create a perl script to analyse the results.
4
2428
by: Harshapic | last post by:
I am looking out for a automated program/tool that creates call tree for code written specifically for Microchip C compiler. I tried many tools that failed with some language constructs specific to PIC C compiler. I need to document the flow quickly. Please help!
0
997
by: Sid Price | last post by:
Does anyone know if there is a static code profiler that will scan a VB.NET 2005 solution and produce a call-tree? I have found one or two that do this for a running application however I would like to perform this analysis without having to run the code. Thanks, Sid.
0
1339
by: Baron Samedi | last post by:
I want to understand the structure of some legacy code. A good call tree program would be welcome. As would something similar, but which shows the relationship of files. So, if I have a.c and b.c and something in a.c calls a function in b.c then there would be two boxes, one labelled A and one labelled B, with an arrow connecting them. Sort of call tree, but at a higher level. Does such a thing exist?
0
909
by: =?Utf-8?B?VmVybm9uRA==?= | last post by:
Unlike java, C# (and VB.Net) do not require all exceptions thrown or propogated to appear in the declaration of a method. Is there a tool (either in Studio or 3rd party) which will show something like a call tree and where in the call tree exceptions thrown by methods are handled? Thanks
0
8384
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8820
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8499
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8601
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7314
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
4150
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4300
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2726
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 we have to send another system
2
1601
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.