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

Fix the issue that log invocation in switch statement and its case label mentions a log level #249

Closed yiming-tang-cs closed 4 years ago

yiming-tang-cs commented 4 years ago

We noticed that there are some log invocations like:

     case DEBUG:
-        impl.log(Level.FINE, line);
+        impl.log(Level.FINER, line);
        break;

For these log invocations, they should not be transformed.

ghost commented 4 years ago

DeepCode Report (#c13fdb)

DeepCode analyzed this pull request. There are 1 new warning and 4 new info reports.

coveralls commented 4 years ago

Coverage Status

Coverage decreased (-0.7%) to 21.518% when pulling c13fdb722acad674ce7e45101b85d347d4c7f131 on switch_case into b9b19269e57c54b2b887e0da4577f7ff4aac98ca on master.

yiming-tang-cs commented 4 years ago

I tested this code on IRCT. It worked. I am running CoreNLP.