Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dependency config effectiveness metric #6

Open
realvizu opened this issue Jan 19, 2017 · 0 comments
Open

Dependency config effectiveness metric #6

realvizu opened this issue Jan 19, 2017 · 0 comments

Comments

@realvizu
Copy link
Owner

Calculate a metric that shows the effectiveness of the current dependency config.

DepConfigEffectiveness = (# of actual type-level dependencies in code) / (# of all allowed type-level dependencies)

The extreme cases would be:

  • 1 -> means the tightest dependency config that allows only the actually used dependencies.
  • Close to 0 -> means a very loose dependency config that allows everything so does not have much effect.

Performance concern: calculating the # of all allowed type-level dependencies would require counting all types in all namespaces in all referenced assemblies which sounds extreme.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant