欢迎来到iCOLIN的Blog

大地春如海,男儿国是家,龙灯花鼓夜,仗剑走天涯

用户操作
[即时聊天] [发私信] [加为好友]
iCOLINID:iCOLIN
71885次访问,排名1424(1)好友0人,关注者0
iCOLIN的文章
原创 17 篇
翻译 0 篇
转载 72 篇
评论 29 篇
iCOLIN的公告
 
“这是最好的时代,这是最坏的时代;这是智慧的时代,这是愚蠢的时代;这是信仰的时期,这是怀疑的时期;这是光明的季节,这是黑暗的季节;人们正在直奔天堂,人们正在直奔地狱。”
最近评论
phpliu:麒麟才7000W难怪了,你要是投入70Y的话肯定可以达到90%的自主只是产权了。
waynewang:我决不买不支持linux的电脑!
scottchen1977:去采访几位用户 总结一下
WPeterson:你應該漏掉了幾個重要的PowerPoint演示文檔轉換Flash文件的工具,主要有:

Wondershare PPT2Flash Professional:
http://www.sameshow.com/powerpoint-to-flash-pro.html
Wondershare PPT2Flash Standard:
http:……
zxwitsme:Linux还需要购买授权吗?什么狗屁文章啊!
文章分类
收藏
    相册
    过去属于死神
    友情链接
    蓝色网际的 Blog
    沧海一粒粟的小屋
    存档
    软件项目交易
    订阅我的博客
    XML聚合  FeedSky
    订阅到鲜果
    订阅到Google
    订阅到抓虾
    订阅到BlogLines
    订阅到Yahoo
    订阅到GouGou
    订阅到飞鸽
    订阅到Rojo
    订阅到newsgator
    订阅到netvibes

    原创 How does NDepend help me have a better understanding and control over my .NET code? 收藏

    新一篇: 祝大家“五一节”快乐~ | 旧一篇: Internet Download Accelerator 5.0.5.1010

    How does NDepend help me have a better understanding and control over my .NET code?

    NDepend analyses .NET assemblies of an application and generates reports containing design quality metrics, warnings and diagrams. More on reports in the Sample Reports section.

    The VisualNDepend tool allows analysing all these data thanks to an interactive view. Such view can be tuned according to numerous software metrics. Here are some screenshots of VisualNDepend. The sample analyzed application is the 15 main assemblies of the .NET Framework 2.0 (2.8M IL instructions):

     

    NDepend 2.0 supports the Code Query Language (CQL) (1.0 specification available here). Basically, NDepend considers your code as a database and CQL allows to query and check some assertions on this database. As a consequence, CQL is similar to SQL and support the SELECT TOP FROM WHERE ORDER BY pattern. Here are some sample CQL queries and constraints:

    WARN IF Count > 0 IN SELECT METHODS 
    WHERE NbILInstructions > 200 ORDER BY NbILInstructions DESC
    // METHODS WHERE NbILInstructions > 200 are extremely complex and            
    // should be split in smaller methods.
    

    WARN IF Count > 0 IN SELECT FIELDS WHERE NameLike "^m_" AND IsStatic         
    // A static field should not be named 'm_XXX'.
    

    WARN IF Count > 0 IN SELECT TYPES OUT OF NAMESPACES "System.Xml"
    WHERE DepthOfIsUsing "System.Xml.XmlChildNodes" == 1
    // Restrict the possibility to use the type "System.Xml.XmlChildNodes"       
    // only to certain namespace.
    

    SELECT TYPES WHERE DepthOfDeriveFrom "System.Windows.Forms.Control" == 1     
    // Select classes which derive directly from control.
    

    SELECT TOP 10 TYPES WHERE IsStructure ORDER BY NbILInstructions DESC         
    

    Writing CQL queries and constraints is straightforward both because it is a SQL-like langage and because VisualNDepend provides a CQL editor which supports intellisense and verbose compile error description.

    NDepend provides facilities to be integrated into build scripts written with MSBuild or NAnt.

    Getting Started

    First download NDepend 2.0. Currently a 100% featured beta version is available for free.

    Then read the Quick Start Tutorial.

    A list of features is available here.


    发表于 @ 2006年04月29日 16:28:00|评论(loading...)|编辑

    新一篇: 祝大家“五一节”快乐~ | 旧一篇: Internet Download Accelerator 5.0.5.1010

    评论:没有评论。

    发表评论  


    当前用户设置只有注册用户才能发表评论。如果你没有登录,请点击登录
    Csdn Blog version 3.1a
    Copyright © iCOLIN