Skip to content

Paprika model and metrics

Geoffrey Hecht edited this page Aug 19, 2014 · 20 revisions

This page describes the properties and metrics collected by Paprika and stored in the graph model.

Model entities

The model is composed of 6 main entities with attached properties. In the graph database each entity (excepting modifier) is represented by a node and the properties are attached to this node.

App (Java : PaprikaApp)

Represents an analyzed application. Most of the properties are metadatas which are passed are parameters to launch the analysis.

name (Java : name)

Application name on the store.

app_key ( Java : key)

Unique identifier of an application, allowing multiple version of an application to be stored without conflict. This value is the sha256 sum of the apk. It is calculated by Paprika but it should be passed as a parameter when launching the analyze to ensure that the good package is analyzed. The app_key is added to every type of node of an application to facilitate queries.

rating (Java : rating)

Application rating on the market, represented by a double between 0 and 5.

date_download (Java : date)

Format : yyyy-mm-dd hh:mm:ss.S Download date of the package in prevision of the analysis.

date_analysis

Format : yyyy-mm-dd hh:mm:ss.S Date of the analysis. Not present in the analysis but added as a graph Properties at the end of the analysis/

package (Java : pack)

Name of the main application package, used as an identifier in the play store.

size (Java : size)

APK size in byte.

developer (Java : developer)

Name of the application developer.

category (Java : category)

Category of the application on the play store. Possible values are : APP_WALLPAPER, BOOKS_AND_REFERENCE, BUSINESS, COMICS, COMMUNICATION, EDUCATION, ENTERTAINMENT, FINANCE, GAME, HEALTH_AND_FITNESS, LIBRARIES_AND_DEMO, LIFESTYLE, MEDIA_AND_VIDEO, MEDICAL, MUSIC_AND_AUDIO, NEWS_AND_MAGAZINES, PERSONALIZATION, PHOTOGRAPHY, PRODUCTIVITY, SHOPPING, SOCIAL, SPORTS, TOOLS, TRANSPORTATION, TRAVEL_AND_LOCAL, WEATHER.

price (Java : price)

Price of the application the store, default value is "Free".

nb_download (Java : nbDownload)

Number of downloads of the application of the store. Formatted like 10000+,10+...

Class (Java : PaprikaClass)

name (Java : name)

Application name on the store.

app_key ( Java : key)

See app_key properties of PaprikaApp.

Variable (Java : PaprikaVariable)

name (Java : name)

Application name on the store.

app_key ( Java : key)

Method (Java : PaprikaMethod)

name (Java : name)

Application name on the store.

app_key ( Java : key)

Argument (Java : PaprikaArgument)

PaprikaModifier ( Only present in Java, does not appears as a node)

Relations between entities

App-Class

Class-Method

Class-Attributs

Metrics

Clone this wiki locally