Skip to content

Latest commit

 

History

History
 
 

booster-task-analyser

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

booster-task-analyser

This module is used for static analysing.

Getting Started

Start analysing by executing the following command

./gradlew analyseDebug

or

./gradlew analyseRelease

or

./gradlew analyse

Analyser Reports

The dot format reports is located at build/reports/${variant}/booster-task-analyser/, you can convert the dot files to PNGs by using the following command:

find build/reports -name '*.dot' | xargs -t -I{} dot -O -Tpng {}

Here is an example generated by dot:

com.didiglobal.booster.demo.MainActivity

Properties

The following table shows the properties that analyser supports:

Property Description Example
booster.task.analyser.blacklist URI of API black list(Using built-in API list by default) file:///Users/booster/blacklist.txt
booster.task.analyser.whitelist URI of API white list(Using built-in API list by default) file:///Users/booster/whitelist.txt

The properties can be passthrough the command line as following:

./gradlew assembleDebug -Pbooster.task.analyser.whitelist=file:///Users/booster/whitelist.txt

or configured in the gradle.properties:

booster.task.analyser.whitelist=file:///Users/booster/whitelist.txt