Giter Site home page Giter Site logo

Metrics about codemetrics HOT 4 CLOSED

kisstkondoros avatar kisstkondoros commented on July 22, 2024
Metrics

from codemetrics.

Comments (4)

kisstkondoros avatar kisstkondoros commented on July 22, 2024

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.

gujunhk avatar gujunhk commented on July 22, 2024

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.

kisstkondoros avatar kisstkondoros commented on July 22, 2024

No but I'll try to dig that out from somewhere and put it online if possible

from codemetrics.

kisstkondoros avatar kisstkondoros commented on July 22, 2024

🥁
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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.