Blog

Branching and merging with git in PMD

This post is about, how your git history might look like, if you consequently fix bugs on branches and merge this bugfix-branches into the release branches. In this case, I used the method described earlier in “Roadmap and source code branches” in New PMD Release 5.4.0: Always create a new branch, that can be merged in the release branches, determined by git merge-base. Then, after the bugfix, merge this branch into the release branches, avoiding a fast-forward merge by using git merge --no-ff.

Read more...


Sharing PMD rulesets across projects

You are using PMD in your project. After a while, you start customizing your ruleset as described in best practices and how to make a ruleset. But the project grows and grows and it soon consists of several sub modules or even separate projects maybe even living in separate source repositories. The how can you share the ruleset, so that it can be applied to each project?

Read more...


Simple Bugfixing for PMD

This post is about how to fix a bug in PMD - the project mess detector. PMD is a source code analyzer tool for Java and many other languages. It checks your source for common programming mistakes so you don’t repeat them. However, as with all software, it is not perfect. PMD itself has bugs which lead to either false positives, e.g. when PMD reports a mistake which is not really a problem. Or to false negatives, which means, that PMD doesn’t detect the potential bug.

Read more...



Comments

No comments yet.

Leave a comment

Your email address will not be published. Required fields are marked *. All comments are held for moderation to avoid spam and abuse.


Andreas Dangel | subscribe via RSS | adangel | .onion © Copyright 2024. adangel.org (24 November 2024)