Share via


Code Query Language

Patrick Smacchia just released an alpha of an interesting application (NDepend) that can be used to analyze manage code binaries. It’s similar to FxCop. One really nice difference is that you can extend the tool using scripts written in CQL (code query language).

 

It would be even better if the query language could be any CLI language (for example IronPython) and the query language LINQ based. Patrick, what do you think? :-)

Comments

  • Anonymous
    February 15, 2006
    LINQ-based, you say? ;)

    -- kfarmer [MSFT:DLinq]
  • Anonymous
    February 15, 2006
    The comment has been removed
  • Anonymous
    March 16, 2006
    @Patrick S.

    I think, Visual NDepend uses the FXCop core dll (Microsoft.cci.dll) to parse the MSIL Code

    With this library, it is very simple to implement a tool like CQL
    Unfortunately, you use a dotfuscator to hide the implementation details....


    werner (wm@schindler-IT.com)

  • Anonymous
    March 27, 2006
    No I'm not using  FXCop core dll to parse the MSIL code but the Cecil library which is free :
    http://www.mono-project.com/Cecil

    Indeed, VisualNDepend.exe is obfuscated since it will be a commercial tool.
    However NDepend and its libraries will remain free and open source.

    Soon, a free beta full featured will be available.
  • Anonymous
    July 06, 2006
    Does NDepend able to restrict or measure the Loc...?

    as it is possible in FxCOP..i dont think so..!
  • Anonymous
    September 13, 2006
    I like FxCop better