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


Ignore certain namespaces



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

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


vizu wrote Aug 7, 2015 at 5:57 PM

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

<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 6: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:

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

ndoenks wrote Aug 7, 2015 at 7:10 PM

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

wrote Aug 7, 2015 at 10:36 PM