Mobile/Fennec/Android/Static analysis: Difference between revisions

From MozillaWiki
< Mobile‎ | Fennec‎ | Android
Jump to navigation Jump to search
Line 29: Line 29:
* '''open issues?''' Issues we care about are blocking the meta
* '''open issues?''' Issues we care about are blocking the meta
* '''meta bug?''' [https://bugzilla.mozilla.org/show_bug.cgi?id=1170283 meta bug]
* '''meta bug?''' [https://bugzilla.mozilla.org/show_bug.cgi?id=1170283 meta bug]
== Coverity ==


== eslint ==
== eslint ==

Revision as of 18:08, 25 March 2016

Android Lint

Catches various errors & optimizations specifically related to Android code and resources

./mach gradle app:lint

Facebook Infer

Currently detects NullPointerExceptions and resource leaks in Android applications.

It's currently unknown how to run locally.

checkstyle

Checks code style

./mach gradle app:checkstyle

Coverity

eslint

Checks for Javascript errors (e.g. syntax errors, almost like a compiled language! :D)

./mach eslint --setup  # run once, or if the command breaks for some reason
./mach eslint mobile/android