Green Software Lab

GreenSource

GreenSource Repository

“A large-scale Android repository with source code, tests and energy metrics”

What is GreenSource?

GreenSource is an open access repository, created  to store and manage metrics and metadata gathered through static and dynamic analysis performed over Android projects and applications. As such, the GreenSource contains a database within, providing a RESTful API, which enables a uniform form of communication that provides the ability to consult, insert, change and delete data through HTTP requests.

The GreenSource infrastructure is available at : http://greensource.di.uminho.pt

 

How was the data collected?

We are populating the repository with results obtained with the help of the AnaDroid  tool, which were stored in the database of the GreenSource backend. Several types of results were selected for the execution of application tests with the UI/Application Exerciser Monkey test framework.  These results allow to compare tests, applications and portions of these, as well its executions.

How is the data stored?

This database is a relational database and its schema consists of 19 tables, which refer to the elements that compose the application, as well as metadata and metrics related to them.

 

How can I use GreenSource?

The RESTFUL API offers uniform form of communication that provides the ability to consult, insert, change and delete data through HTTP requests. More information regarding the characteristics of the requests that can be performed is available at: https://github.com/RRua/greenSourceBackend.

If you want to replicate the infrastructure and use the contained data, you can download the sql dump at:

  • https://we.tl/t-cA1HWERZvT