-
-
Notifications
You must be signed in to change notification settings - Fork 344
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Progress indicator #94
Comments
+1. Even similar output to PHP_CodeSniffer (dot, E for error, etc...) would be good. This will help to see the tool is still processing as well. |
+1. It will also help to run phpmd tests on Travis CI. Now Travis just stops the build after 10 min of waiting :( |
@buskamuza, you might want to try https://scrutinizer-ci.com for code analysis (disclaimer: I work there). |
👍 I'd love to see this implemented. |
+1 |
💯 oh yesss 👍 |
+1 to progress reporting. Has any work on this been done? Looks like b94cb21 incorrectly referenced this issue |
+1 |
+1 |
2 similar comments
+1 |
+1 |
👍 |
+1 |
+1 |
Please use GitHub Reactions |
I think #37 would be an acceptable way to show progress. To me, a lack of logging/debug reporting is itself a bug. PHPMD is an important part of the PHP software community, and if something goes wrong and there's no error/indication what is going on, you cannot use PHPMD. I just ran PHPMD and after 104 mins I still have no sign of life from PHPMD. I am working on debugging PHPMD timeouts on Code Climate, see codeclimate/codeclimate-phpmd#30 feature would be very helpful! |
+1 |
Part of our Jenkins build process. No idea if it is running or not. Even just a "." would be nice. |
I don't think this is a valid use case :) The problem here is that some project-wide inspections are waaay too slow. Maybe 10 minutes is too strict for build to complete but it should not take hours. Is PHPMD currently optimal in terms of computational complexity? Some |
i found an issue with user rights on windows domains, this might lead to an issue with phpmd beeing super slow correcting the speed on my mashine from 20minute precommit the case is: while using phpstorm (but for console its the same) starting phpstorm / cmd as admin (yes you NEED to be lokal admin for this) i was able to see this issue on a lot of pc's in our company i know this has nothing to do with the progressbar which would be a blast, if this is your case, you might not have this issue in the future anymore tl;dr if you have this scenario: on our case |
Thanks for the pointer, I had the same problem! Further investigation showed that this is actually a PHP Depend issue. Filed pdepend/pdepend#447 Workaround: Copy https://github.com/pdepend/pdepend/blob/master/pdepend.xml.dist to the root of your project, optionally naming it either pdepend.xml |
i can confirm that running phpmd on windows is super slow (15 seconds for one file) and when i run as admin, its 44ms. Please fix this. |
This is not happening on every Windows machine. It's happening on particular settings having |
and how do i do that? |
|
|
The closest I came was issue #37 but I'm unsure if that request is identical to this one.
We run PHPMD frequently (it's part of a pre-push hook) but it's very inconvenient that no progress, at all, is shown by PHPMD. We'll settle for anything as trivial as e.g. an output like PHPUnit (just a dot per test) or fancy, a 0-100% indicator but either way. Some form of progress-feedback is highly appreciated.
The text was updated successfully, but these errors were encountered: