Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Matrix

pad edited this page · 22 revisions

Matrix for features support

  PHP OCaml (.ml) OCAML (.cmt) Java (.java) Java (.byte) C C (.clang) C++ Javascript
lexing X X X X X X X X X
parsing X X X X X X X X X
typing P   X   X   X    
linking X P X P X X X    
flowing           P      
                   
stags X X X X X X X   X
scheck X         X X    
                   
codemap X X NA X NA X NA X X
codegraph X P X P X X X    
codequery X   P   X X X    
                   
sgrep X P   P   P   P P
spatch X P   P   P   P P
                   
light DB X X   X   X X X X
layers X                

Good support

  • Pfff:PHP: parsing, xhp builtin parsing, global callgraph analysis, global class/define use/def analysis, bug finder (unused variable, use of undefined variable, etc), sgrep for expressions, deadcode analysis, code coverage (using phpunit and xdebug), control flow graph, experimental intraprocedural data flow (reachable definitions and liveness), emacs TAGS, highlighter, semantic visual feedback in codemap (important functions/classes/methods, have-dynamic-calls, take-arg-by-ref, bad smells (specific to facebook for now)), spatch for expressions, many layers (deadcode, coverage, bugs, security)

Preliminary support

  • Pfff:OCaml: parsing, hacky global analysis for callgraphs, emacs TAGS, highlighter, experimental semantic visual feedback in codemap (important functions, bad smells (use of globals))
  • Pfff:Javascript: parsing, hacky global analysis for callgraphs, highlighter, hacky class analysis, semantic visual feedback in codemap (important function/classes/methods)
  • Pfff:C, Pfff:C++: parsing, hacky global analysis for callgraph, highlighter, experimental semantic visual feedback in codemap (important functions)
  • Pfff:Java: parsing, highlighter
  • Pfff:TeX, Pfff:Noweb: parsing, hacky highlighter
  • Pfff:Html, Pfff:Css: parsing, hacky highlighter
  • Pfff:Lisp, Pfff:Scheme: lexing, hacky highlighter
  • Pfff:Haskell: lexing, hacky highlighter
  • Pfff:Erlang: lexing, hacky highlighter
  • Pfff:C#: lexing, hacky highlighter
  • Pfff:Python: lexing, hacky highlighter

Todo

Something went wrong with that request. Please try again.