Search

  

You searched for metrics 3 pages found

A couple of words about TDD ... the most arguable questions. Unfortunately, in all articles on the subject that I’m aware of (please, see references) there is no universal definition of what "code quality" is. For instance, in [8] they mean defect density per KLOC, whereas in [9] they believe a code has to meet certain metrics (cyclomatic complexity, DOI, RFC, etc.). Let’s start from the defect density. We can see some pleasant uniformity here: [7, 8, 14] tell us that defect number decreases from 50% up to 2.6-4.2 (!) times. But honestly, there are still some questions left: There projects must really be comparable ...
code coverage, code review, metrics, TDD, test first, test last
Section: Blog
Metrics - LoC This is going to be a small set of articles devoted to metrics. The first one is about LoC - Line of Code. I think that the first reaction on that phrase is smile. Many of us have heard about an anecdotal case at Macintosh when they tried to count the lines of code and measure productivity. There is even a classic saying ...
LoC, metrics
Section: Blog
Metric - Cyclomatic Complexity There is a simple and logic explanation: the more “if”, “while”, “for”, and etc. in code the higher the complexity of the code improvement, management, understandability and refactoring. Cyclomatic (here and on – V(g)) is an a-posteriori metric, the same as LOC. V(g) is being used only after the initial ...
cyclomatic complexity, metrics
Section: Blog

WHAT'S NEW RSS Whats New

A couple of words about TDD
Unit-test coding supposes to be one of the most significant methodological achievements of the industry, let’s say, for about last 15 years. The Internet is full of enthusiastic exclamations [1, ...
code coverage, code review, metrics, TDD, test first, test last
February 21, 2010
CodeExample plugin for Trac
The Trac plugin for code examples colouring. It supports three types of examples - a simple, a correct one and an incorrect. Further details see at
pygments, Trac
February 13, 2010
Metrics - LoC
This is going to be a small set of articles devoted to metrics. The first one is about LoC - Line of Code. I think that the first reaction on ...
LoC, metrics
May 11, 2009
Metric - Cyclomatic Complexity
There is a simple and logic explanation: the more “if”, “while”, “for”, and etc. in code the higher the complexity of the code improvement, management, understandability and refactoring. Cyclomatic (here ...
cyclomatic complexity, metrics
May 11, 2009
SESE vs SEME
SESE/SEME are terms of structural programming and were introduced at 80-s. Nothing new. However, experience shows that some programmers do not know about them till today. That’s why it makes ...
nesting depth, SEME, SESE
April 08, 2009