Comments (4)
Maybe I misunderstood the question, but:
The "shipped" configuration is intended to compute a similar metric as McCabe complexity, but it is not entirely the same.
To be honest I've written the same analyzer for Java before and took the idea from it. There it worked pretty well, and I thought why not do the same for TypeScript (and of course for JavaScript). The TSX and JSX support came after that.
While I know it is not perfect, it is good enough to indicate that something has to be done - maybe just a comment about why it couldn't / shouldn't be changed etc.
I expected feedback from the community to do adjustments, but there were nothing besides #18 and #21.
Any feedback is appreciated 😄
from codemetrics.
Maybe I misunderstood the question, but:
The "shipped" configuration is intended to compute a similar metric as McCabe complexity, but it is not entirely the same.To be honest I've written the same analyzer for Java before and took the idea from it. There it worked pretty well, and I thought why not do the same for TypeScript (and of course for JavaScript). The TSX and JSX support came after that.
While I know it is not perfect, it is good enough to indicate that something has to be done - maybe just a comment about why it couldn't / shouldn't be changed etc.
I expected feedback from the community to do adjustments, but there were nothing besides #18 and #21.
Any feedback is appreciated 😄
CodeMetrics is amazing. I'm interested in your complexity analyzer for Java. Is it uploaded to the Jetbrains Marketplace?
from codemetrics.
No but I'll try to dig that out from somewhere and put it online if possible
from codemetrics.
🥁
https://github.com/kisstkondoros/codemetrics-idea
https://plugins.jetbrains.com/plugin/12159-codemetrics
it's waiting for approval, so it might not be available yet.
from codemetrics.
Related Issues (20)
- Visual Studio 2022 support? HOT 1
- Cannot work under vue setup script HOT 3
- Option to ignore "Describe" functions HOT 1
- No metrics on `async` functions
- Export the Complexity results in excel HOT 3
- Publish to Open VSX HOT 1
- NullPointerException in IntelliJ plug-in when text selection is empty
- Support for svelte HOT 1
- Any plans to extend this for Java? HOT 2
- Intellij plugin support for IgnoredFunctionNames
- Ignore functions that contain keywords
- I find "complexity" measures and levels rather confusing HOT 2
- Flutter / Dart support? HOT 4
- [Question] Can I somehow hide color marks on minimap? HOT 1
- Exception in plugin (1.0.4) HOT 3
- integration with husky HOT 1
- Wouldn't be great if there is a feature which check if a function has been properly commented. (Feature request) HOT 1
- Support for Cognitive Complexity HOT 3
- Feature request: Add click on Decoration icon HOT 1
- Feature Request: Support more languages (specifically C++) HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from codemetrics.