《代码阅读工具》(Scientific Toolworks Understand )v3.0.612 x86|X64[压缩包] | |
---|---|
下載分級 | 软件资源 |
資源類別 | 編程開發 |
發布時間 | 2017/8/25 |
大 小 | - |
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的变化。
小技巧 :
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。
Standard Metrics
We've noticed that some basic metrics are more useful to engineers then others, such as number of lines of code, number of classes etc. while other metrics are usually more helpful for management and code analysis. Though which metrics are displayed depends on what languages are being analyzed, here is a partial list of what you can expect:
Basic Metrics
Class Count
File Count
Function Count
Line Count
Blank Line Count
Code Line Count
Comment Line Count
Inactive Line Count
Declarative Statement Count
Executable Statement Count
Ratio Comment to Code
Advanced Metrics (Partial list)
Cyclomatic Complexity
Knots
Class Coupling
Percent Lack of Cohesion
Path Count
Max Inheritance
Base Class Count
Inherited Class Count
Number of Instance Methods
Weighted Methods per Class
免責聲明:本網站內容收集於互聯網,本站不承擔任何由於內容的合法性及健康性所引起的爭議和法律責任。如果侵犯了你的權益,請通知我們,我們會及時刪除相關內容,謝謝合作! 聯系信箱:[email protected]
Copyright © 電驢下載基地 All Rights Reserved