对PHP + HTML文件(而不是面向对象的文件)进行反向工程以生成图表 [英] reverse engineer PHP+HTML files, not object oriented ones, to produce a diagram

查看:87
本文介绍了对PHP + HTML文件(而不是面向对象的文件)进行反向工程以生成图表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

什么是对一组php / html页面进行反向工程的好工具?它不是面向对象的,而是从2000年初开始的一个大混乱(因此显然没有UML工具!)。
我想在通过表单的'action'属性包含或调用的文件/函数之间绘制链接。

What's a good tool to reverse engineer a set of php/html pages ? It's not object oriented, it's a big mess that started in early 2000 (so no UML tools obviously!). I'd like to draw a link between files/functions that are included or called via the 'action' attribute of a form.

所以基本上,我想要有一个很好的简单图表,以清楚地了解网站的结构,通过 action在页面之间传递什么变量,函数的参数,在// diagram //!

So basically, I would like to have a nice simple diagram to have a clear idea of how is structured a site, what variable are passed between pages through "action", the arguments of functions, in a //diagram// !

Javascript对此处的页面流没有影响。

Javascript have no impact on the flow of pages here.

不要告诉我,我唯一的希望是写一个肮脏的东西工具来做到这一点?!?

Don't tell me that my only hope is to write a big filthy tool to do that ?!?

谢谢-

推荐答案

您可以使用xdebug生成cachegrind文件,然后使用Kcachegrind查看该图。

You can use xdebug to generate a cachegrind file and then use Kcachegrind to view the diagram.

这篇关于对PHP + HTML文件(而不是面向对象的文件)进行反向工程以生成图表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆