-
Notifications
You must be signed in to change notification settings - Fork 12
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
PHPMD times out on Code Climate #30
Comments
I just ran:
on the platform repository and after 104 mins there was no activity, so either (a) PHPMD is still crunching data, or (b) there is a bug in PHPMD causing it to silently fail without exiting. There is an open ticket for phpmd to show progress: phpmd/phpmd#94 |
I did a comparison of how much code is in Drupal 8.2 vs Platform: Platform
Drupal 8.2
CommentaryPlatform has ~25% more logical lines of code than Drupal 8.2. Drupal 8.2 has been taking on average around 11 mins to complete: https://codeclimate.com/github/josephdpurcell/drupal-8.2.x/builds. I would expect Platform to take ~25% longer, i.e. ~14 mins. I think the next step would be to either (a) request Code Climate bump the Platform repo's timeout limit to an hour and see if it eventually completes, or (b) modify the PHPMD library locally to add some debug output and see why it took 104 mins last time without completion. |
Problem
Here is the error:
I experienced this on these repos:
I expect this will be a common problem for other large PHP projects.
Proposed Solution
I see at least two options:
The text was updated successfully, but these errors were encountered: