ASSERT-KTH / jdbl-experiments

Open-science repository for our experiments with JDBL
GNU General Public License v3.0
1 stars 0 forks source link

Collect debloat data #3

Closed cesarsotovalero closed 4 years ago

cesarsotovalero commented 4 years ago

We'll need some data about the debloat results for each library:

cesarsotovalero commented 4 years ago

Once the debloat finishes, a debloat-report.csv file is written to the root of the Maven project. It contains the names of the classes and their usage type (UsedClass or BloatedClass). It also contains the name of the methods and their usage type (UsedMethod or BloatedMethod).

At the end of the execution, we write to a file debloat-execution-time.log the execution time of the plugin.

The classes debloated per dependencies are written to a file (debloat-dependencies-report.csv) located in the root of the project. By the moment, this file has the following structure:

[dependency-name]
[usage-type], [class-name]
...

where <dependency-name> is the name of each dependency and usage-type is UsedClass or BloatedClass for each <class-name> that belongs to the dependency.