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
1 answer

How to measure robustness and stress?

I'm working on an investigation on robustness and stress metrics, but I can't really find useful information. I did see that MTBF is an option for robustness on this question: How to measure robustness?. But I was wondering if there are any other…
Luis
  • 44
  • 1
  • 5
  • 17
0
votes
1 answer

What exactly can we describe Factory Method of design pattern?

I am confused with the concept ? Is it just as simple as incorporating a static method to return the object instead of a constructor ? So that client doesn't need to change the code while we update the library or there is something more to it ?
0
votes
1 answer

SonarQube fails on comment % while calculated ratio is >26%

I have been using sonar for over 4 years for Java projects we have created. Currently, we want to fail the build if some metrics cannot be met. Thus, I installed Build Breaker plugin and re-run the build cycle, without any issue. Then I modified…
0
votes
1 answer

Checkstyle and PMD as advice only

How would i set up using pmd and checkstyle results as advice only and disable them on the build server? And would it be bad practice to do so? Both pmd and checkstyle offer valuable advice, and i want to keep on using them. But (here comes the…
Ivana
  • 643
  • 10
  • 27
0
votes
0 answers

Clover Coverage: IF block

In my code, I have only "if" block and not "else" block. The Clover coverage is getting for that but it is not having the ELSE block, The Coverage percentage is getting down stating "True Branch executed 6 times, false branch executed 0 times".…
Manjunatha B
  • 276
  • 3
  • 9
0
votes
1 answer

How would you evaluate the following java solution or how would you solve it?

How would you evaluate the solution for the following task in regard of structure, correctness, simplicity, testability(task time approx. 1 hr): Create a command-line Java program that counts unique words from a text file and lists the top 10…
Unknown
  • 136
  • 1
  • 5
0
votes
2 answers

What are the advantages and disadvantages of refactoring code smell in software quality?

What are the advantages and disadvantages of refactoring code smell in software quality?
0
votes
2 answers

How to Set up POM Structure using selenium java and (TestNG Framework)

I'm new for QA automation and I have average knowledge in java, so I decided to use (Selenium+Java) to do automation. I will attach the code I did to the automation.and the script runs smoothly. But the Structure I did is incorrect as I want to…
Avishka Perera
  • 416
  • 1
  • 5
  • 15
0
votes
2 answers

gcc static analyzer (Weffc++): exclude directories

I have a big project that uses many, many libraries. Some of them are HDF5, PugiXML, Boost.ASIO, Qt, MuParser, and many others. Some of these libraries are included by header, and some are pre-compiled, and some of them I compiled myself. I'd like…
The Quantum Physicist
  • 24,987
  • 19
  • 103
  • 189
0
votes
1 answer

How to store and fill in with test data for exploratory testing

I am doing lot of exploratory testing, for which I have to fill in random information manually for email, password, first name, middle name, last name, address and ph#. Which takes considerable amount of time. So I would like to ask is there any…
Niwrad
  • 613
  • 5
  • 10
0
votes
1 answer

How to apply static analysis rules after a certain commit

I've inhereted a large project which would need a lot of refactoring. I would like to add static analysis methods to have an eye on the quality. Since I dont want to have them applied atm/right away, I would like to know how to apply such rules…
mindpixel
  • 15
  • 4
0
votes
0 answers

What is the best way to check if a website is using all the JS code included?

I am working on a big website with lots of legacy code in it and I really would like to do some clean up as I know for sure that many JS libraries are included, but not used anymore. Obviously there is also custom code. Unfortunately they do not…
Lucamjj
  • 53
  • 6
0
votes
1 answer

What influence the maintainability result for Sonarqube?

I'm confronted to a huge "spaghetti code" with known lack of documentation, lack of test covering, high complexity, lack of design rules to be follow, etc. I let the code be analysed by a default sonar-scan, and surprisingly for me, the maintability…
Loic Mouchard
  • 1,121
  • 7
  • 22
0
votes
1 answer

Selenium Webdriver.io error message ERROR: Unexpected identifier firefox

I was developing tests with Webdriver.io which is a javascript API for Selenium webdriver. Running the tests was going smoothly until I was encountering an error when I run the $ wdio wdio.conf.js command. The error was >ERROR: Unexpected…
0
votes
3 answers

How do you know when a big project is good enough to make it version 1.0?

If you have a big project, how do you know when it is time to be version 1.0?
None