menu
announcement

Spectrum is now read-only. Learn more about the decision in our official announcement.

Stepsize

Stepsize is a SaaS solution to measure and manage technical debt. Join our new community and kick off a conversation!

Channels
Team

Stepsize watercooler

September 3, 2019 at 10:38am
Show previous messages

September 10, 2019 at 11:04am

September 18, 2019 at 12:31pm
For anyone coming across this message – we'd love to hear your thoughts on this feature

Inline function annotations

message-simple
17

September 26, 2019 at 10:11am
Hey guys. Congrats on your launch and product, it's cool to see more people entering this space :)
like-fill
1
Hey Sam! Thanks a lot! I just came cross your work via Twitter—funny how this stuff goes down :p What are your plans for Codehawk?
Hey Sam! Right back at you – your product sounds great and I'd love to take it for a spin (signed up 😄)
We should chat, it seems like we trying to solve the same problem 🙌
Running a pilot stage with a couple clients at the mo. I'm trying to get learnings mainly, meanwhile working on a self-service path for users. I think your brand identity is really cool!
like-fill
1
Hey Sam - cool to see you joining, I think I followed you this morning on Twitter (from Stepsize account) 😁👋🏻Great to connect!
Edited
Very cool and thanks again :D We should get together and compare notes—we've learned so much speaking with engineers (some in that Spectrum community <3). I saw that you're in London. We're based by Old Street, want to stop by for coffee / a drink sometime?
Sounds great . Drop me a line at [email protected] and let me know what a good time to swing by is!
like-fill
3

September 27, 2019 at 1:50pm

November 15, 2019 at 1:27pm
hi, I want to know how to use tech debt tracker in vscode
it's not work for me
Hi ! Thanks for getting in touch :)
Hmm that’s unusual. Can you let me know what happens when you install the extension please? Does it not show up - or does it load but doesn’t work as expected?

November 27, 2019 at 6:01pm
Hello! The comment density is quite punishing. I prefer more comments. Is there anyway to reverse the comment density value or to make it more forgiving of comments?
like-fill
1
Hey 👋! Thanks for bringing this to our attention.
We've toyed with the idea of allowing some metrics to be user-configurable. I guess it makes sense for the comment density metric to be one of those based on your experience.
Could you let me know how much of an issue you think it is for you? Is it common for you to find that your functions are rated poorly only because of their comment density?
How about the other metrics? What would you say your opinions are on those?
Thank you for being responsive :) That's really nice. I am using the VSCode extension.
I have found that my functions and classes are graded down mostly because of comment density.
The next most common lower grade category is nesting. Which downgrades from green to yellow at the second nested if clause.
An example of a code block graded in yellow in both nesting depth and comment density is:
client.on('message', (message) => {
if (this.authenticated === false) {
// Redirect this user's messages through the authenticator.
this.authenticate(message);
} else {
this.message.receive(message);
if (this.message.error.length > 0) {
console.log(`Error: ${this.message.error()}`);
}
}
});
You're welcome :)
Thanks for the information and code example. Really helpful! I'll bring this up to the rest of team tomorrow and I'd expect our product manager to get in touch with you soon after.
Is the rest of the extension working well for you - is there anything else I can help with at all?

November 28, 2019 at 1:39pm
Hey , thanks a lot for sharing that feedback, it's really helpful!
About the comment density – do you think our yellow/red thresholds are too strict, or do you think the metric in itself is not great?
Yes clearly this code is fine – we'll take a closer look at these two metrics based on that example, thanks 🙏
We might need to do a better job to make that clear, but the main aim of the extension is to draw your attention to functions rated D / E with many issues. A function rated A or B is generally considered good enough, and even if one or two metrics are yellow there are typically more important things to worry about. Is that the impression you have? Or do you feel like it pushes you to make every piece of code green all around?
, thank you for being attentive. I haven't take a look at the metric; I have experience only with the colored values presented to me within my IDE :)
I would definitely take a good look at refactoring blocks rated D and E. My initial impression was that blocks rated B (maybe C, too) are good enough, but the fact that the extension brought it to my attention meant that there was something wrong with my code. I'm sure everyone has different reactions. I'm always looking for different ways to be a better coder which is why I wanted to ask about the comment density.
Show more messages