facebookarchive / pfff

Tools for code analysis, visualizations, or style-preserving source transformation.
http://github.com/facebook/pfff/wiki/Main
Other
2.44k stars 204 forks source link

Scheck does not detect bugs #124

Open improved-broccoli opened 9 years ago

improved-broccoli commented 9 years ago

Here is my test PHP file:

<?php

function foobar($var) {
    return $varr;
}

foobar();

First, I build a graph with codegraph -build -o /tmp/ -lang php . Then, I run scheck -with_graph_code /tmp/graph_code.marshall .

scheck have to detect 2 bugs:

But scheck did not return any bugs.

Did I do something wrong?

Thanks.