Questions tagged [technical-debt]

The term "technical debt" was coined by Ward Cunningham to describe the obligation that a software organization incurs when it chooses a design or construction approach that's expedient in the short term but that increases complexity and is more costly in the long term.

51 questions
1
vote
2 answers

Technical debt formula doesn't take into account complexity

In Sonarqube versions prior to 5.5 there was the possibility to change the way that technical debt is calculated in order to take into account the complexity, but after 5.5 I can’t see how to change it. Did you remove this configuration? IMHO, the…
1
vote
1 answer

Technical Debt decreased after migration

We just migrate from SQ-4.2 to the last LTS 4.5.6. And we noticed a strange behaviour: On 4.5.6 de technical debt cost get drastically reduced, while the number of issues get increased (please see attached)enter image description here We didn't…
1
vote
1 answer

Technical debt ratio sonar decimal

I am using Sonarqube version 5.1 and saw that the technical debt ratio percentage shows very little or no variation for the monthly reports that we generate. It is seen that the value is rounded off to only one decimal point and so the variation is…
Niksat
  • 11
  • 1
1
vote
1 answer

How do I ignore files/folders in SonarQube 4.4's Technical Debt calulation?

I have a project that I am using SonarQube 4.4 to track code quality on. The Technical Debt section (no longer a plug-in as they have merged it into the main project I believe) picks up several open source libraries in my project that I would like…
Turner
  • 13
  • 3
1
vote
1 answer

SonarQube configurable technical debt

We get a java app source code shipped from a partner, but it doesn't include test code. We want to run sonar qube against the code; but against our standard quality profile (PMD/Findbugs etc) technical debt gets skewed by no test coverage. I tried…
bfd
  • 31
  • 1
  • 3
1
vote
2 answers

Calculating Design Violations Technical Debt with SonarQube

I was wondering if it is possible with the latest version of Sonar or through some plugin calculate the techical debt of an architectural violation (from a java project) like: "'X' class should be in com.domain.classes package" or "the class 'X'…
1
vote
2 answers

what is the best way to visualize technical investment for the business

we have a number of functional deliverable planned for 2010 but we also have a technology agenda (architectural refactorings, consolidation, upgrade a platform). any suggestions on the best way to include these in a roadmap to help the business…
leora
  • 163,579
  • 332
  • 834
  • 1,328
0
votes
0 answers

Opinions / Feedbacks on alternatives to defensive syntax to browse nested structures in Javascript

recently I was brought to a new codebase where I see A LOT of these, like almost everywhere if(a && a.b && a.b.c && a.b.c.d) { // do something with d } It was brought to my attention that since the product is generating a lot of $$$, we really…
Xavier Haniquaut
  • 905
  • 8
  • 22
0
votes
0 answers

CSS media query Fixer Tool - mobile-first approach [Technical debt][Legacy code]

TLTR: Need tool which is able to change big CSS with desktop-first-styles-declaration into mobile-first-styles-declaration Explanation: I have a friend which does not have a big experience with CSS. He created page for me. Created HTML and CSS for…
0
votes
1 answer

How can the overall SQALE rating for a service be A when all the components are B/C rated?

The overall SQALE Rating for my service is A, however the components have the same as B or C. It doesn't add up. Please suggest.
0
votes
2 answers

Is a for loops scope unique

I ran into this while performing some technical debt duties. What is the scope of the variable foo ? Is it really "already defined"? function fn(){ for (var i = 0; i < m.length; i++) { if(condition) for (var j = 0; j <…
Shanimal
  • 10,987
  • 7
  • 58
  • 71
0
votes
2 answers

Should task, like "refactoring needed" be stored in product backlog?

In Scrum project, developers sometimes finish their work on product backlog item but they create also some kind of technical debt. Technical debt can be created because of some impediment at that time, or lack of time, sometimes also because of lack…
Liero
  • 19,054
  • 16
  • 100
  • 195
0
votes
2 answers

View added or removed technical debt by developer or group of developers

We are having a big team of developers which are working on multiple project in same code base, we want to see technical debt increased or decreased by each project team. I believe at present there are no such facility in sonar , do we have any…
Priyang
  • 366
  • 2
  • 7
0
votes
1 answer

How to apply Order By on text with digit entry

Here is my test data (MySQL) test1 test2 test3 test10 test11 mytest I want to Order these record by text, and than by following number (if present): mytest test1 test2 test3 test10 test11 And When I use Order By, my data is sorted as text, like…
Hassan Raza
  • 549
  • 6
  • 23
0
votes
1 answer

Calculation of modularity from sonarqube

Is there a way to calculate modularity metric from the preexisting metrics in SonarQube? I want to calculate modularity so that I can use it for my technical debt calculation.