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.

54 questions
3
votes
1 answer

Technical debt ratio on new code always appear 0%

I have a problem related Tech Debt ratio on new code . when i introduce new code smells , I can see that Debt increased on the new code however the debt ratio always shown as 0 . I have tried changing development code (10 ,15,20) but still i…
AKA
  • 41
  • 4
3
votes
1 answer

Is it possible to hide the Technical Debt metric from SonarQube dashboard, entirely?

I understand that the Technical Debt metric became part of SonarQube after it was a plugin, but I would like to remove it from the dashboard completely, and only show other metrics. Is that possible from the dashboard settings? if not, I appreciate…
lmah
  • 31
  • 1
3
votes
3 answers

Writing new code in async but calling sync

I am writing some new code and would like to write it using async and await, but the calling code is not currently written in async. Is it right to write the new code in async and call it sync until the calling code supports async? Or should I write…
Jake Rote
  • 2,177
  • 3
  • 16
  • 41
3
votes
1 answer

Elastic Search with Symfony2 + Aggregation [Complex]

Facet Filter Demo I'm creating a search page with Elastic search + Symfony2 using FOSElastica. I have setup repository and model transform and pagination perfectly fine. I have geo-location search with couple of aggregation which are…
Basit
  • 16,316
  • 31
  • 93
  • 154
3
votes
2 answers

How to handle the "else" clause when converting an "if..elif..else" statement into a dictionary lookup?

I am trying to convert an "if else" statement in python into a dictionary. I tried to convert it into a dictionary, but how do I handle the last else clause? val=3 if val==1: print "a" elif val==2: print "b" elif val==3: print "c" elif…
3
votes
1 answer

Possible to host ASP.NET MVC controllers+views within a webforms project...?

We have a legacy ASP.NET webforms application that we're engaged in stabilising and removing technical debt from. Is it possible to take a hybrid approach - ie, can ASP.NET MVC coexist with webforms within the same web-project? Are there any…
Peter Mounce
  • 4,105
  • 3
  • 34
  • 65
3
votes
4 answers

RFID Limitations

my graduate project is about Smart Attendance System for University using RFID. What if one student have multiple cards (cheating) and he want to attend his friend as well? The situation here my system will not understand the human adulteration and…
Zonah
  • 31
  • 1
2
votes
0 answers

How do I read or interpret the Angular ngrx documentation correctly?

I have the createAction function from ngrx.io Store... with that signature: https://v11.ngrx.io/api/store/createAction createAction(type: T, config?: C | { _as: "props"; }): ActionCreator and…
MMMM
  • 3,320
  • 8
  • 43
  • 80
2
votes
1 answer

SQALE Plugin for Sonarqube 5.6.6 LTS

We are trying to upgrade from 4.5.6 to 5.6.6 LTS. Already have a commercial license for SQALE. The latest version of Sqale plugin 2.7 ( http://www.sonarplugins.com/sqale) is not working on 5.6.6. Is there a version available for 5.6.6?
Upen
  • 1,388
  • 1
  • 22
  • 49
2
votes
6 answers

What (if any) technical debt am I incurring with Ruby on Rails?

I'm a big fan of ruby on rails, and it seems to incorporate many of the 'greatest hits' of web application programming techniques. Convention over configuration in particular is a big win to my mind. However I also have the feeling that some of the…
frankodwyer
  • 13,948
  • 9
  • 50
  • 70
2
votes
0 answers

How to specify a LINEAR DebtRemediationFunction for a rule in SonarQube 5.3 from a plugin?

I am a newbie in SonarQube plugin development. I would like to create a rule where the technical dept remediation is given with a the following formula for each issue for that rule: dept = constant_duration * effort where effort is given and…
geryxyz
  • 129
  • 5
2
votes
1 answer

using a Singleton to pass credentials in a multi-tenant application a code smell?

I'm currently working on a multi-tenant application that employs Shared DB/Shared Schema approach. IOW, we enforce tenant data segregation by defining a TenantID column on all tables. By convention, all SQL reads/writes must include a Where…
Hans Gruber
  • 271
  • 1
  • 10
2
votes
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
  • 23
  • 3
1
vote
1 answer

Git:get changes released to master over time

as a personal project, I'd like to check different python libraries and projects (be it proprietary or open source) and analyze how the code was changed over time in different releases to gather some info about the technical debt (mainly through…
user3630290
  • 47
  • 1
  • 6
1
vote
1 answer

Converting to namespaces in PHP

I am currently working as a student on php project which has grown since the beginning of time and has about 1800 php-files. The problem is: it is completely without namespaces, or any of the PSR-4, etc. recommendations. The technical debt is strong…
neulaender
  • 173
  • 1
  • 3
  • 10