Read the Code analysis tool understand 2.0 trial

Source: Internet
Author: User

Understand 2.0 is a source of reading and analysis software, powerful features. After a trial period of time, feel pretty good, really can greatly improve the efficiency of code reading.

Because the understand function is very powerful, this article can not be described in detail its full functionality, so just list I feel more important or feature features, to do a raise.

Understand 2.0 can be downloaded from http://www.scitools.com/and can be tested for 15 days after installation.

UseUnderstandbefore you read the code, create aProject. Then add all the source files to thisProjectin. Here I have created aAtlstlof theProject, and then putMicrosoft Visual Studiowith theATL,STL,MFCThe source code is added. It should be stated that theUnderstandsupports a very wide range of sources, includingC #, and not justC + +code.

This is an overview of the entire user interface and can be seen and Visual Studio The style is very similar. All the subform can be docked or folded at will.

the following describes The characteristics of understand.

A. Strong self-active drawing ability.

Understand can generate many kinds of useful graphs, such as class diagram, function call diagram, header file containing relationship, etc. The following is a class diagram of the CFile .

Of course, assuming that you want, you can generate CObject-derived class diagrams for the entire MFC (http://p.blog.csdn.net/images/p_blog_csdn_net/qwang24/EntryImages/20090411/ Butterflygraph-cobject.png).

Such a diagram was once only available on MSDN, and can now be generated on its own at a moment's initiative. Very cool!

You can also display the function's invocation relationship:

And the inclusion relationship of the header file:

Two, Excellent incremental search capabilities

Incremental Search may not be a new concept. Already in Visual Studio .

However , the incremental search in understand has the function of dynamic code highlighting.

That is, the ability to put all instances of the selected identifier. are displayed in an eye-catching color, and are useful for reading code. For example, to run an incremental search on a function reference pfiletime , the place where it appears will be marked.

In this way, how the parameter is used. Glance.

Three, Rich Identifier Information

Understand The Code information database is very good, all identifiers can be displayed in categories. Each class of identifiers has different information.

For information about functions, it is possible to display the name of the file that defines it, the return value type, the parameter information, the calling function, the called function, the information that refers to the function, the amount of code, and so on.

It is useful to have reference types, such as declarations, invocations, definitions, etc., in the reference information.

For variable information, instead of where the variable is defined, the value of the variable is set or the value of the variable is used.

Four, Convenient search function

Very many forms have convenient search capabilities. Convenient for high-speed positioning required information.

As in the project browser, you can enter a file name. Find relevant files at high speed.

Understand There are also a lot of other powerful features, such as report function, code editing, code change tracking and so on.

Of course, as with all the other Code analysis tool software, Understand There are also some shortcomings, such as parsing errors at times. Attribute extensions that do not support com code require higher machine configuration. The support for the regular form is not intact.

Note:

Resolves a attribute extension problem that does not parse COM correctly: Search for the normal form:/]/s*$, replace with/]; (use Visual Studio to replace features in multiple files.) You cannot use unserstand substitution directly. )

Resolve __interfacekeyword problem not resolved correctly: In project select Add macro definition, the __interface it is defined as a struct.

Read the Code analysis tool understand 2.0 trial

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.