geoffreyhecht / paprika-witness-app Goto Github PK
View Code? Open in Web Editor NEWAn application with a lot of Android Anti-patterns used for detection purpose
License: GNU General Public License v2.0
An application with a lot of Android Anti-patterns used for detection purpose
License: GNU General Public License v2.0
Hi there !
I am trying to use these software in my PhD, and currently trying to generate "IGS" anti-pattern locations.
I run the following script:
FILENAME=$1
FILESIZE=du -k "$FILENAME" | cut -f1
SHASUM=$(shasum -a 256 "$FILENAME" | cut -f1 -d' ')
DB_LOCATION="/Desktop/tmpdir_paprika"/Downloads/paprika-master/out/artifacts/Paprika_jar/Paprika.jar"
rm -rf $DB_LOCATION
mkdir $DB_LOCATION
PAPRIKA_LOCATION="
ANDROID_PLATFORM_LOCATION="~/Library/Android/sdk/platforms/"
echo $FILENAME
echo $FILESIZE
echo $SHASUM
java -jar $PAPRIKA_LOCATION analyse $FILENAME -s $FILESIZE -r 2 -d "2017-04-12 00:00:00.0" -nd 12 -cat game -dev me -k $SHASUM -p paprika -n randomAPK -db $DB_LOCATION -a $ANDROID_PLATFORM_LOCATION
java -jar $PAPRIKA_LOCATION query -db $DB_LOCATION -r IGS
java -jar $PAPRIKA_LOCATION query -db $DB_LOCATION -r MIM
java -jar $PAPRIKA_LOCATION query -db $DB_LOCATION -r STATS
out
folder of this repository.I give you below the execution trace of the script
Collecting metrics
Saving into database /Users/benjaminbenni/Desktop/tmpdir_paprika
Done
Executing Queries
Resulting csv file name will start with prefix 2017_4_14_9_37
Done
Executing Queries
Resulting csv file name will start with prefix 2017_4_14_9_37
Done
Executing Queries
Resulting csv file name will start with prefix 2017_4_14_9_37
Done
The resulting files:
2017_4_14_9_37_IGS.csv
is empty. It contains app_key,IGS
, that's all.2017_4_14_9_37_MIM.csv
is empty. It contains app_key,MIM
, that's all.Do you have any idea why the resulting csv
files are empty? I ran the same script over facebook
, twitter
apks and nothing comes out.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.