This project has moved. For the latest updates, please go here.
1

Closed

Ignore certain namespaces

description

Hi,

I propose a feature to configure ignored namespaces. Because in a big project, we somehow do not want analyze certain namespaces.

Thanks.
Closed Aug 7, 2015 at 9:36 PM by vizu
Existing feature.

comments

vizu wrote Aug 7, 2015 at 4:57 PM

Well, you can always add rules that allow unrestricted dependencies from/to a namespace.

Like:
<Allowed From="MyIgnoredSourceNamespace." To="" />

Or the other way around:
<Allowed From="" To="MyIgnoredDestinationNamespace." />

Is it what you meant? If not, please elaborate so I can understand your point.

Btw, if your concern is performance (ignore namespaces so we can skip their analysis altogether and save time), I don't think it would yield any significant speed increase because the parsing steps must be executed anyway to find out that we are in an ignored namespace or we are refering to an ignored namespace.

vizu wrote Aug 7, 2015 at 5:02 PM

Oops, I made a markup mistake in my previous comment: the star characters were interpreted as italic formatting. And I don't know how to edit that comment. This is what I meant to write:

Like:
<Allowed From="MyIgnoredSourceNamespace.*" To="*" /> 
Or the other way around:
<Allowed From="*" To="MyIgnoredDestinationNamespace.*" /> 

ndoenks wrote Aug 7, 2015 at 6:10 PM

Yes, that is what I meant. Thanks for your answer...

wrote Aug 7, 2015 at 9:36 PM