Join forces PMD #267
Replies: 6 comments
-
|
@RubenHalman I told @aidan-harding to connect with you on this. Let me know when I can help with anything. |
Beta Was this translation helpful? Give feedback.
-
|
I'm having some difficulty grasping where you with the language based on the ticket and fork. Not sure if there's anything usable from this repo, but if you can fill me in Ill see where I can help! |
Beta Was this translation helpful? Give feedback.
-
|
Hi @RubenHalman Sorry for being fairly unresponsive on this. I've was all-in working on the PMD Flow language for a bit, but I've had other projects take away my time over the past month or so. It would be great to get input on the rules when I've got my implementation ready to write some rules. The current state in PMD is that 2 things were required to check Flow:
Once I get back and finish writing the Flow language module, I'll definitely look through your rules as an initial set of rules of PMD. |
Beta Was this translation helpful? Give feedback.
-
|
@aidan-harding No worries, thank you for your reply. We all know how it goes=) These are the same rules as from the standard help documentation. I think I can help you help with the implementation of the language module? |
Beta Was this translation helpful? Give feedback.
-
|
Any plan on when you continue your work @aidan-harding ? |
Beta Was this translation helpful? Give feedback.
-
|
I have some notifications in my email about this thread, but the messages don't seem to be here any more. My stance on this is that when I was working on this, I was at a consultancy where checking Flow was a live and important issue. Since then, I've changed role twice, and the importance of Flow in my mind has dropped hugely. So I don't think it's something I expect to pick up again. I still think that XML-based rules in PMD are not enough to competently analyse Flows. I think the format of Flow's XML means that the structural rules you can write on them with XPATH don't say all the things you need to say. You can't properly say "no DML in a loop". You can say "no DML as a direct child of a loop", and maybe do some hacking around to make it go slightly further, but that's not really satisfactory to me. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Just stumbled over your great tool and wondered if it wouldn't make sense to port your rules (or even merge it partially) with PMD. Just recently @aidan-harding contributed code to make Flow rules possible.
What do you think? If contributing your Flow knowledge to #PMD sounds not crazy for you, ping me and I tell you how to do it.
Beta Was this translation helpful? Give feedback.
All reactions