linux下的源代码分析工具understand 2014100328681022

到如下链接http://www.scitools.com 下载 .tgz文件

解压缩:
%tar -zxvf Understand*.tgz
进入scitools目录,
% cd bin/linux32
 % ./understand

添加如下信息到用户的.bash_profile文件中


% export PATH=$PATH:/home/myname/scitools/bin/linux32
如果你的电脑是64位的,可能就变为如下:
% export PATH=$PATH:/home/myname/scitools/bin/linux64


注册码如下,在rhel7server x86_64下验证可用
F1AF6D901A38

19878CBBFB13

B0F234CE4366

Treemaps

treemaps

Treemaps are an area-based visualization where the size and color of the area are visually representing a metric. This Understand feature allows the user to choose the metric they want to see. This treemap has the metric CountLine tied to size. The color is tied to the metric CountSemicolon. Example of sample project zlib that… Read more »

UML Class Diagram

umlGraph

The UML Class diagram can be viewed for a specific class of your choice: or for your entire project: Both diagrams have options to show the details of each class and solo classes to customize your view. More information about graphs and setting options.

Control Flow Graphs

graph_views_control_flow_c

All of our graphs have options to make them customizable for what you are looking for and making your graphical image what you want to see. More information on how to generate a Control Flow Graph can be found on our support page. Example Control Flow Graph of a C++ function: More information about graphs… Read more »

Hierarchy Graphs

graph_views_ada_hiearchy

Example Hierarchical Graph (Calls) of C function Main: This tree has been manually expanded and contracted to just show what is desired. Example Hierarchical Graph (Expanded Data Members) of a C++ Class: This graph shows all the data fields in the main and children class or sub-types. Example Hierarchical Graph (With Hiearchy) of an Ada… Read more »

Declaration Graphs

graph_views_c_method

Here is an example Declaration Graph of an Ada Package: Note that items like “Close” that extend out of the main box are globals. Items like “Buffer Access” which are inside are private. Example Declaration Graph of a C++ Method: More information on how to configure graphs can be found on our support page.

Dependency Graphs

dependenciesGraph2

Understand can generate graphs that show the hierarchy of an architecture, or just a sub-hierarchy. The dependency graphs include a customizer pane which allows you to modify the graph display by controlling expansion, highlighting, and arrows on a per-node basis. Node children and Edges coming in and going out are easy to see and identify using… Read more »

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
这是最新版Understand-Chinese-4.0.922-Linux 中文版 http://www.scitools.com/products/understand/ Understand 软件的功能主要定位于代码 代码的阅读理解。界面貌似是用 Qt 开发的。 代码 具备如下特性: 1、支持多语言:Ada, C, C++, C#, Java, FORTRAN, Delphi, Jovial, and PL/M ,混合语言的 project 也支持 2、多平台: Windows/Linux/Solaris/HP-UX/IRIX/MAC OS X 3、代码 代码语法高亮、代码 代码折叠、交叉跳转、书签等基本阅读功能。 代码 代码 4、可以对整个 project 的 architecture、metrics 进行分析 分析并输出报表。 分析 5、可以对代码 代码生成多种图(butterfly graph、call graph、called by graph、control flow graph、 代码 UML class graph 等) ,在图上点击节点可以跳转到对应的源代码 代码位置。 代码 6、 提供 Perl API 便于扩展。 作图全部是用 Perl 插件实现的, 直接读取分析 分析好的数据库作图。 分析 7、内置的目录和文件比较器。 8 、支持 project 的 snapshot,并能和自家的 TrackBack 集成便于监视 project 的变化。 小技巧(官网的 FAQ 里有) : 1、设置字体和颜色风格 修改默认字体:Tools -> Options -> Editor -> Default style 修改颜色: Tools -> Options -> Editor -> Styles 2、生成 UML 类图、调用树图 默认安装的插件不支持这两种图,需要从官网下载插件。 _http://www.scitools.com/perl_scripts/uperl/uml_class.upl _http://www.scitools.com/perl_scripts/uperl/invocation.upl 放到 sti/conf/scripts/local 目录下。 然后重新运行,执行 project-> project graphical views -> xxxx 可以生成这两种图。 3、更改图的字体 直接修改对应的脚本文件(\Program Files\STI\conf\scripts 目录下) ,在 do_load( )函数的对应 位置加入如下的设置: $graph->default("fontname","Consolas","node"); $graph->default("fontsize","10","node"); $graph->default("fontname","Consolas","edge"); $graph->default("fontsize","10","edge"); 注意:有的脚本中的作图变量名不是 $graph 而是 $g。 另外一款代码 代码可视化理解工具

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值