Questions tagged [software-quality]

Software quality reflects how well a software conforms to given requirements (functional and non-functional), how much it shows characteristics like reliability, efficiency, security, maintainability.

233 questions
0
votes
2 answers

How to convince "The Management" to use all aspects of Visual Studio Team System?

Currently we have several defect and bug tracking systems, which include Quality Centre and bespoke support systems (both team and company wide). Also we use Microsoft Project - although I haven't seen a task list in months... But what I find…
Ferdeen
  • 21,332
  • 6
  • 29
  • 31
0
votes
1 answer

JIRA: how to find users who closed items without item having been tested

In Jira, I note that some items are getting set to 'Closed' by users without having passed through 'In Testing' How can I find out who is doing this with a JQL query? status was not in ("In Testing") and status in ("Ready For…
adolf garlic
  • 3,034
  • 7
  • 39
  • 54
0
votes
2 answers

Cohesion vs Single Responsibility

I've started to study concepts like Cohesion and principles like Single Responsibility Principle. I am very confused about the difference between them. The web has a lot of information, but I find it very difficult to filter out the correct…
0
votes
0 answers

SonarQube ignores null checking method Validator.isNotNull

SonarQube ignores Liferay's Validator#isNotNull method. For example, this snippet if(Validator.isNotNull(foo)){ foo.doStuff(); } would get mis-classified as a bug: A "NullPointerException" could be thrown; "foo" is nullable here Is there a…
rath
  • 3,655
  • 1
  • 40
  • 53
0
votes
0 answers

How to fix Sonar "SQL queries should not be vulnerable to injection attacks" on C#

Sonar rule link: https://rules.sonarsource.com/csharp/RSPEC-3649 I have a sql string that takes DB name as parameter. It's like: UPDATE [@DBNAME].[dbo].[MyTable] SET [Column]='1' Sonar doesn't accept this string but I can't give DB name as…
sosa
  • 63
  • 1
  • 8
0
votes
1 answer

Running SonarQube on TeamCity

I am running sonarqube on teamcity, I have installed the plugin and I can see the installed service, but when I add it to the build step, I get an error. I checked on the machine and the sonarqube service isn't running. Nothing say that I need to…
0
votes
1 answer

overall loss of quality - Phaser

I'm developing an interactive with Phaser.js (v2) but I'm facing an overall loss of quality (images, sprites, texts, etc). Especially rendering text: const strtxt = this.game.add.text(0, 0, str, { font: 'Open Sans', fontSize: 17, weight:…
Mauro Aguilar
  • 1,093
  • 13
  • 22
0
votes
2 answers

Best practice to return a variable when you're not sure if it exists

Lets say I want to return an object with information about the client who requests a page. I take PHP as an example. Something like this: public function getClientInformation(){ return [ "ip" => $_SERVER["REMOTE_ADDR"], …
0
votes
1 answer

Which tier is responsible for ensuring data integrity

If I have a table in sql. This table has a field called employee. When a front-end tier calls for this information, where is the responsibility to ensure that employee is not null. i.e. Does a null employee, which by database design, can not happen,…
paulj
  • 327
  • 1
  • 9
0
votes
1 answer

1 Service end-point vs 3 individual end-points for Create/Update/Delete in CRUD | Architecture

I am having this question about having CRUD services built, I should be able to create, update, delete and get the records from the DB. For easy understanding. I will use an example of a Company to which I should be writing services to perform the…
0
votes
2 answers

how to make SonarQube check JS code indentation

I use a SonarQube 5.6.6 with sonarJS 3.3.0.5702 pluged on. I am looking how to make my Sonar check the code indentation, i don't find rules for that on JavaScript. Is my sonarJS version in cause ?
llooiicc
  • 1
  • 2
0
votes
2 answers

Stuck on one java file while use SonarQube 7.0.1,Result in "GC overhead limit exceeded"

My first question,sorry for the inconvenience if any. I'm encountered a problem when using Jenkins+SonarQube.I added "Execute SonarQube Scanner" in Jenkins Post Steps, sure about it will work fine becuase other projects go smoothly.But today the…
0
votes
1 answer

What is the best way to mutualize code between both methods

I wonder what is the best solution to mutualize code between these 2 methods in javascript: async getAllActiveRooms(ctx: ?ContextType): Promise { //log getAllActiveRooms return this.i.knex('users_rooms') …
fstn
  • 149
  • 4
  • 10
0
votes
1 answer

How can i use one data source for multiple test cases in Load test

I have created Performance test cases on Visual studio 2017, The issue i am facing is i have to make all of the test case get through login Data source, As in Load test they will run parallel, The question is how can i use one data source to run…
0
votes
0 answers

How to validate memory correctness with VisualStudio?

Memory correctness means use after free leaks use of uninitialized memory memory corruption Other platforms have tools such as Valgrind or the address sanitizer. Please note that I don't want to run my Windows binaries on Linux with Wine so that I…