ponder-lab / Rejuvenate-Logging-Levels

An Eclipse plug-in research prototype for automatically rejuvenating log statement levels using degree of interest
Eclipse Public License 2.0
2 stars 3 forks source link

Problem with #185 #236

Closed khatchad closed 5 years ago

khatchad commented 5 years ago

There is a problem with the change made per #185. Basically, we are missing the coverage of the DOI spectrum because we removed the last two intervals. What happens when a logging statement's enclosing method DOI value falls outside of the intervals in the boundaries?

khatchad commented 5 years ago

Things to try:

khatchad commented 5 years ago

For the first one, just remove the IntStream loop.

yiming-tang-cs commented 5 years ago

This the result after reverting the change:

results_revert.zip

yiming-tang-cs commented 5 years ago

This is the results after modifying the last bucket:

results_last_boundary.zip

khatchad commented 5 years ago
yiming-tang-cs commented 5 years ago

I've tried another benchmark IRCT-API.

yiming-tang-cs commented 5 years ago

IRCT-API with option 1 (reverting change): irct_api_log_option_1.tar.gz

IRCT-API with option 2 (adjusting last bucket): irct_api_log_option2.tar.gz

yiming-tang-cs commented 5 years ago

Selenium with option 1 + 6 settings: selenium_log_option_1.zip

yiming-tang-cs commented 5 years ago

IRCT-API option 1 without log scale: IRCT_API_option_1_without_log_scale.zip

IRCT-API option 2 without log scale: IRCT_API_log_option_2_without_log_scale.zip

khatchad commented 5 years ago

We will go with option 1, effectively reverting #185.