dead_code_analyzer icon indicating copy to clipboard operation
dead_code_analyzer copied to clipboard

Does not scan any files

Open pbiggar opened this issue 6 years ago • 0 comments

I'm trying to use dead_code_analyzer, and it doesn't seem to scan any files.

I ran it using:

docker run -it --mount type=bind,src=$PWD,dst=/app -w /app ocaml/opam:ubuntu-12.04_ocaml-4.04.2 /bin/bash
opam install dead_code_analyzer
dead_code_analyzer.opt --verbose src/*/*.{ml,mli}

with output

Scanning files...
 [DONE]

.> UNUSED EXPORTED VALUES:
=========================

Nothing else to report in this section
--------------------------------------------------------------------------------


.> UNUSED METHODS:
=================

Nothing else to report in this section
--------------------------------------------------------------------------------


.> UNUSED CONSTRUCTORS/RECORD FIELDS:
====================================

Nothing else to report in this section
--------------------------------------------------------------------------------

My understanding is that with the verbose flag it should list all the files it scanned in the output, so I conclude it scanned no files.

pbiggar avatar Sep 08 '18 16:09 pbiggar