代碼分析工具:pfff

xg48 9年前發布 | 13K 次閱讀 pfff 前端技術

pfff 是一套代碼分析、代碼可視化、代碼導航工具,它很好地支持 Java、C、JavaScript、PHP。它也初步支持 C++、Rust、C#、HTML、CSS、Erlang、Lisp、Haskell、Python、OPA 和 SQL。

pfff is also made of few tools:

  • pfff, which allows to test the different parsers on a single file
  • scheck, a bug finder
  • stags, an Emacs tag generator
  • sgrep, a syntactical grep
  • spatch, a syntactical patch
  • codemap, which is a gtk and cairo based source code visualizer/navigator/searcher leveraging the information computed previously by pfff_db and codegraph.
  • codegraph, a source code indexer and package/module/class dependency visualizer
  • codequery, an interactive tool a la SQL to query information about the structure of a codebase using Prolog as the query engine
  • pfff_db, which does some global analysis on a set of source files and store the data in a marshalled form in a file somewhere (e.g. /tmp/db.json)

項目主頁:http://www.baiduhome.net/lib/view/home/1428834049424

 本文由用戶 xg48 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
 轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
 本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!