• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
Locked
0

Is there documentation explaining the available rules?

Community Beginner ,
Apr 12, 2011 Apr 12, 2011

Copy link to clipboard

Copied

When a rule complains about something,

I would like to understand why that something is bad, and how I can do better. I have been looking around but I have not been able to find a page containing such descriptions.

TOPICS
FlexPMD

Views

2.5K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Apr 12, 2011 Apr 12, 2011

Copy link to clipboard

Copied

Hi,

if you use the eclipse plugin you should have some informative messages. You can see all the information along with some sample snippets in the ruleset creator:

http://opensource.adobe.com/svn/opensource/flexpmd/bin/flex-pmd-ruleset-creator.html

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Apr 12, 2011 Apr 12, 2011

Copy link to clipboard

Copied

I have found the rule creator, but sometimes the explanation is just too

terse,

and I would like to know more about the reasons for the rule.

Another problem with the ruleset creator is that is does not offer a search

function.

If for instance I want the explanation for a message named

'CreationPolicySetToAll',

I have no choice but to visually scan for it in the 112 rules in the

ruleset.

Of course I could export it as a pmd.xml and search through that or

do you know of a better way?

Jan

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Apr 12, 2011 Apr 12, 2011

Copy link to clipboard

Copied

very good points...

as for the explanations everything we have is in the ruleset. If you have questions about any rule don't hesitate to ask. We'll make our best to answer and integrate back the comments to the ruleset.

As for the search capabilities there's no better way that I'm aware of. It sounds like a reasonable enhancement, could you fill it in as an enhancement request?

Thanks!

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Apr 13, 2011 Apr 13, 2011

Copy link to clipboard

Copied

LATEST

Dear Xavi,

Thanks for the help. I created

FLEXPMD-241<https://mail.google.com/jira/browse/FLEXPMD-241>.

Jan

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines