software-quality

Software Development Quality

Other than the number of bugs found, how do you measure software development quality? I'm looking for something on the positive side. ...

Are there any good Javascript code coverage tools?

Looking for a Javascript code coverage tool. Ideally, I'd be able to easily integrate with continuous builds. Looking for something that I can run cross-platform, but Windows only tools may be able to work. Does anybody have any good recommendations of tools to use or what tools to avoid? Note: I've already read through this question:...

What is the most convincing way to require formalized unit testing?

This certainly presupposes that unit testing is a good thing. Our projects have some level of unit testing, but it's inconsistent at best. What are the most convincing ways that you have used or have had used with you to convince everyone that formalized unit testing is a good thing and that making it required is really in the best inte...

What do you do with a developer who does not test his code?

One of our developers is continually writing code and putting it into version control without testing it. The quality of our code is suffering as a result. Besides getting rid of the developer, how can I solve this problem? EDIT I have talked to him about it number of times and even given him written warning ...

Including quality into the software development project plan

What practically useful tips, tools, techniques, and general advise could you give to those development managers and contractors that are willing to make sure that the quality component of classic "budget, time, scope, quality equation" gets addressed appropriately as part of the initial project plan? For instance, setting aside some bu...

What hurts the quality of your code most?

Quality is subjective, of course. To be a little more specific: What is most likely to result in shipping buggy, fragile, or otherwise sub-par products that make more work for you and your group down the line? Here's a breakdown of the responses so far, sorted by responsible party and then by votes. Management: (Aggressive) Deadli...

Open source projects with great Java/C# code - any suggestions?

Does anyone have any suggestions of large open source projects with high quality code that would be good to study. ...

What code metric(s) convince you that provided code is "crappy"?

Code lines per file, methods per class, cyclomatic complexity and so on. Developers resist and workaround most if not all of them! There is a good Joel article on it (no time to find it now). What code metric(s) you recommend for use to automatically identify "crappy code"? What can convince most (you can't convince all of us to some c...

Reducing coding standards 'brainwashing' duration and effort of new hires.

At my current job we're pretty strict about code quality and coding standards. All new hires go through a 'brainwashing' period in which time senior developers coach them to write (hopefully) better code. The code review process is meticulous and it normally halves the productivity of the developers doing the review. And sometimes the '...

Sonar : any feedback ?

Hi all, I am currently doing a little study over Sonar and (why not) other tools to manage code quality. I did not found the documentation much clear nor extended and I have some questions. Does somebody know and use it ? How can one integrate sonar into a complex project ? Can we manage a Perl or C project with Sonar & Maven 2? I wo...

How many lines of code do you average per bug?

Hi, Our team had a bad session with the management today regarding the total number of functional bugs that were coming up in our code. As for me, I have written around 6 K lines of code for this project and I am personally responsible for 4 functional bugs and 8 usability bugs (inconsistent CSS, page flashing on clicking a button, val...

Why is software quality so problematic?

Even when viewing the subject in the most objective way possible, it is clear that software, as a product, generally suffers from low quality. Take for example a house built from scratch. Usually, the house will function as it is supposed to. It will stand for many years to come, the roof will support heavy weather conditions, the doors...

Who should do the Testing of software. Its the developer(who wrote it) or the tester(who just writes testcases)

I am a big fan of agile software development which include code-reviews,testing extensively. But my question who should be ACTUALLY TESTING the code. Is it the developer, who wrote it from scratch and who by the way writes test cases(just like me) for each feature he/she rolls out? Or a dedicated tester, who didn't touch(code) the featur...

How do we define Code Quality?

Does anyone have a reasonable definition of Code Quality? I don't think there is a good definition, and I see plenty of bad definitions. There are many definitions for Correctness, but I would expect correctness to be a given, and quality is meaningless if the code is broken. I suspect quality is something like: correctness ...

How many beta testers do you need?

I am currently working on a beta strategy for my mISV. I know Joel wrote that you need about 100 beta testers for a one person shop, and 100 per employee in the general sense. Is that number reasonably accurate in your experience? That number seems high to me based on previous experience. In our last beta at my day job, we had about 75...

How do you ensure that you as programmer have written quality C code?

hi all, I m looking to write some quality C code. Can someone point me to some articles , websites..whatever I need something with examples. I have already seen and read K&R C book. But times have changed, some one must have more to say on quality C Code. and another important thing is How do you ensure that you as programmer have wri...

Effective technique to reduce and eliminate warnings in a large code base?

I have been involved in the development of large code bases that grew to millions lines of code over the course of multiple years and where the amount of warnings grew out of control because it was not a concern for the initial developers. Technical debt accumulated and now, I would like to pay it back. Do you know of any process, metho...

Timer on Wallpaper Cycler

I just added some extra functionality to a Coding4Fun project. I have my project set up with an extra option to allow it to automatically change the background after X amount of time. X is set from a ComboBox. However, I know I've done this in a terrible way, as I have created a new timer class with System.Timers.Timer as a parent so whe...

How do you argue for the "high notes", the true production class code?

This question has been addressed in a similar post on a more specific level regarding UI. I would like to address the subject on a more general design level. I make descisions on design every day to ensure high quality. But every now and then I get into dicsussions with middle management and unexperienced developers about the gain of ...

How do you ensure code quality?

What techniques you use to ensure code quality? Pairing? Code reviews? Design? Documentation? What helps you creating extensible quality software? ...