David Fraser
ddb62d2eef
Handle unsafe IDs
2016-12-14 19:02:59 +02:00
David Fraser
5f580ecb3b
Merge remote-tracking branch 'PatrickMassot/master' into yed-support
...
* PatrickMassot/master:
Use new writers and unclutter main a bit
Generic writer, tgf, dot and yed in new classes
Abstract graph independant from output format
Split out color functions to dedicated class
2016-12-14 18:59:52 +02:00
David Fraser
03e77e5910
Added simple testcase illustrating problem with __init__ in the base directory
...
Added fix for this problem
2016-12-14 18:36:38 +02:00
David Fraser
ef9b5a87f6
Merge pull request #2 from ch41rmn/master
...
Fixed recursion error when pyan.py is called in a directory with an __init__.py
2016-12-12 17:16:36 +02:00
Maoyuan Liu
3459e4b08d
Fixed recursion error when pyan.py is called in a directory with an __init__.py
2016-12-08 11:25:29 +11:00
David Fraser
dda1210223
Added GNU GPL v2 license, as specified in the original publication at https://ejrh.wordpress.com/2011/12/23/call-graphs-in-python/#comment-824
...
and at the original publication page https://code.google.com/archive/p/ejrh/
Also fixed Juha Jeronen's name
2016-08-08 12:46:10 +02:00
Patrick Massot
67b4cdfacd
Use new writers and unclutter main a bit
2016-02-20 23:13:54 +01:00
Patrick Massot
0114f6384b
Generic writer, tgf, dot and yed in new classes
2016-02-20 23:13:16 +01:00
Patrick Massot
e0974d674c
Abstract graph independant from output format
2016-02-20 23:12:33 +01:00
Patrick Massot
53a5cc5d9d
Split out color functions to dedicated class
2016-02-20 23:08:17 +01:00
David Fraser
c554b967c2
Added shebang and made this executable
2016-01-21 09:45:10 +02:00
David Fraser
6d58750f77
Moved README to markdown format, and rearranged to be a summary of the current state rather than a description of the modifications
2016-01-21 09:44:32 +02:00
David Fraser
b2a011abaf
Adjusted note on repositories to explain full history and this repository
2016-01-21 09:29:54 +02:00
Juha Jeronen
459eda8efc
pyan.py: compatibility of -e option with newer graphviz
2016-01-20 19:33:37 +02:00
Juha Jeronen
0794fadc19
Repository cleanup: moved Pyan to its own subfolder
2016-01-20 19:33:33 +02:00
Juha Jeronen
e81acfc7dd
pyan.py: removed unneeded TODOs
2016-01-20 19:28:05 +02:00
Juha Jeronen
793cb71353
pyan.py: fixed incorrect comment
2016-01-20 19:28:05 +02:00
Juha Jeronen
df9060d220
pyan.py: removed commented-out parts of added code
2016-01-20 19:28:05 +02:00
Juha Jeronen
4b7a4a9aa6
pyan.py: fixed erroneous comment
2016-01-20 19:28:05 +02:00
Juha Jeronen
ab347d3736
pyan.py: consistent translucency 70% also in non-colored mode
2016-01-20 19:28:05 +02:00
Juha Jeronen
9eb5727181
pyan.py: fixed misleading error message in htmlize_rgb()
2016-01-20 19:28:05 +02:00
Juha Jeronen
a02322e3b5
pyan.py: added option to disable adding of 'uses' relationships
2016-01-20 19:28:05 +02:00
Juha Jeronen
a1aa14a6c5
pyan.py: changed nodes to 70% opaque (from 80%)
2016-01-20 19:28:05 +02:00
Juha Jeronen
881a3fa1e1
pyan.py: use translucencies and grays also without -c
2016-01-20 19:28:05 +02:00
Juha Jeronen
4173d977d1
pyan.py: warn in verbose mode when colors wrap
2016-01-20 19:28:05 +02:00
Juha Jeronen
0c0f256e04
pyan.py: in -c mode, color nodes according to their top-level namespace
2016-01-20 19:28:05 +02:00
Juha Jeronen
0b368b6d30
pyan.py: added -e (--nested-groups)
2016-01-20 19:28:05 +02:00
Juha Jeronen
524e204f57
Add author names in addition to original source links to the txt files
2016-01-20 19:28:05 +02:00
David Fraser
f1e4b2937a
Refactoring helpers for Python (modified version of pyan.py, originally by Edmund Horner)
...
Conflicts:
pyan.py
2016-01-20 19:27:49 +02:00
Juha Jeronen
0071b5517d
Refactoring helpers for Python (modified version of pyan.py, originally by Edmund Horner)
2016-01-20 19:25:16 +02:00
ejrh00
7e46ad2ee0
A few small improvements. The biggest of which is running the analysis twice: this means forward references have a chance of being picked up (e.g. if a method uses the method defined immediately after it, it will be able to find it from the previous parse).
2012-02-20 03:40:07 +00:00
ejrh00
0e73a114e4
Massive changes to take more guesses about which exact node is being used where, rather than lumping them all together.
...
Made some improvements to the pyan.py script -- it now creates distinct nodes for each object encountered, e.g. Message.send and Socket.send are no longer considered the same thing. It tries to infer which is being used in each particular instance; if it can't do that, it will add use-edges to every possible match. E.g.: x = Message(); x.send() is clearly a reference to Message.send. This is all very heuristical; so can't be relied upon as proper static analysis. But it cleans up the call graphs quite a bit.
Some outstanding mis-guesses exist.
2012-01-11 04:18:49 +00:00
edmund
56de729064
Add command line parsing with options for dot and tgf output.
2012-01-09 05:38:54 +00:00
edmund
09c591609e
Support From nodes which apparently are distinct from Import nodes.
2011-12-24 02:49:09 +00:00
edmund
669da13fc3
Write a program for generating call graphs from Python sources.
2011-12-22 07:10:39 +00:00
edmund
137eecff65
Import image viewer and xmlgrep.
2011-09-08 08:52:54 +00:00