What is a normal “functional lines of code” to “test lines of code” ratio?
I’m pretty new to TDD approach and my first experiments say that writing 1 line of functional code means writing about 2-3 lines of testing code. So, in case I’m going to write 1000 LOC, the whole codebase including tests is going to be something like ~3500 LOC.
Data architecture for event log metrics?
My service has a large ongoing number of user events, and we would like to do things like “count occurrence of event type T since date D.”
What kind of metrics, if any, can be collected from requirements development?
We elicit requirements from our product stakeholders by creating and refining user stories in monthly sprint planning meetings. This includes defining use cases, acceptance criteria, and identifying constraints, and the final result is a sprint backlog of user stories. The high-level customer requirements are refined into lower-level product requirements through design reviews among the development team throughout the sprint. The design reviews result in UML diagrams, software interfaces, and, in general, a human language description of various software requirements.
Severity and relation to occurence – priority?
I have been browsing through some webpages related to testing and found one dealing with the metrics of testing. It says:
Are CK Metrics still considered useful? Is there an open source tool to help?
Chidamber & Kemerer proposed several metrics for object oriented code. Among them, depth of inheritance tree, weighted number of methods, number of member functions, number of children, and coupling between objects. Using a base of code, they tried to correlated these metrics to the defect density and maintenance effort using covariant analysis.
Statistical Software Quality Control References
I’m looking for references about hypothesis testing in software management. For example, we might wonder whether “crunch time” leads to an increase in defect rate – this is a surprisingly difficult thing to do.
Saving all hits to a web app
Are there standard approaches to persisting data for every hit that a web app receives? This would be for analytics purposes (as a better alternative to log mining down the road).
Why is the cyclomatic complexity equal to two for a simple Hello World?
I would have two questions related to cyclomatic complexity:
Is the average number of bugs per loc the same for different programming languages? [closed]
Closed 8 years ago.
What is a good measure of testing/tester efficiency?
I am about to participate in a discussion with management regarding measuring our testing efficiency as a QA organization. The main reason behind this is that half of our team is contracted out and our business would like to provide some metrics of how effective/efficient we are, so that we have basis data on which to negotiate contract parameters with the service agreement of our contractors.