JPlag
JPlag copied to clipboard
Added idle bars
Adds Idle Bars, that behave like progress bars, but do not show a linear progress and instead only indicate that something is happening. They can be used, when the amount of operations is unknown.
@tsaglam Could you check if this looks right on Mac?
Just run the main method, that is in IdleBar.java
Works good in windows terminals.
Only thing I noticed was that the bouncer did not reach the left end full. There alsways was a space between <
and <+>
.
I can see the same effect happening. There are definitely "frames" of the animation, where there is no space in between. I think this is mainly happening because the terminal is not always updated in time. I think there is no way to prevent that from happening with pure Java.
I could not see it hit the left side a single time. So maybe there actually is a windows issue here?
Could you try it now? I have increased the time between frames, so it should not skip over that frame as often.
yes, with this delay it works
@TwoOfTwelve I dont get a progess bar during clustering is that on purpose?
Quality Gate passed for 'JPlag Plagiarism Detector'
Issues
1 New issue
0 Accepted issues
Measures
0 Security Hotspots
78.4% Coverage on New Code
0.0% Duplication on New Code