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

From MozillaWiki
< Mobile‎ | Fennec‎ | Android
Jump to navigation Jump to search
Line 16: Line 16:
It's currently unknown how to run locally.
It's currently unknown how to run locally.


Notes:
* '''in automation?''' [https://people.mozilla.org/~sledru/reports/fennec-infer/bugs.txt updated daily] – planned move [https://bugzilla.mozilla.org/show_bug.cgi?id=1258469 to Task Cluster]
* '''in automation?''' [https://people.mozilla.org/~sledru/reports/fennec-infer/bugs.txt updated daily] – planned move [https://bugzilla.mozilla.org/show_bug.cgi?id=1258469 to Task Cluster]
* '''config?''' N/A
* '''config?''' N/A

Revision as of 18:05, 25 March 2016

Android Lint

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

./mach gradle app:lint

Notes:

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

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