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

TypeScript code Complexity via Gulp Task #4

Closed
FlippieCoetser opened this issue Jul 27, 2016 · 3 comments
Closed

TypeScript code Complexity via Gulp Task #4

FlippieCoetser opened this issue Jul 27, 2016 · 3 comments

Comments

@FlippieCoetser
Copy link

Using a Gulp tasks to compute TypeScript Code Complexity outside Visual Studio can be super helpful.
Below is a sample of how code coverage are displayed.

image

In addition, adding a configuration setting to produce a JSON or XML output will allow for the creation of a complete code metrics report. As of today I was unable to find any package for code complexity specifically for TypeScript. Please consider such a package.

@kisstkondoros
Copy link
Owner

Hi,

Thanks for the idea, I've actually started with the implementation, but I have limited time to work on it 😄
I'll post here a link when it becomes usable.

@kisstkondoros
Copy link
Owner

So, here is the thing https://github.com/kisstkondoros/gulp-tsmetrics 🎆

the core has been also separated, so that one can build e.g. a webpack loader or a grunt task around it.
It can be found here: https://github.com/kisstkondoros/tsmetrics-core.

@FlippieCoetser
Copy link
Author

Thanks @kisstkondoros! everything installed and configured pretty easy. I'll post some possible improvements directly in the Gulp repository

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

No branches or pull requests

2 participants