Archive

PEP8 validation script
Modified PEP8 validation script with Nesting Depth additional validation.
nesting depth, python
October 21, 2010
PEP8 and nesting depth metric
Company code style is one of the most essential policies to follow for any programming-related IT-organization. It helps to organize interaction between developers, especially for Agile teams, makes code more readable and avoid conflicts like "where to put curly braces". For the Python developers it is strongly recommended to follow ...
code coverage, metrics, nesting depth, python
October 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
September 29, 2010
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, 5, 6]. However, there are some not so enthusiastic ones or even without any enthusiasm at all [2, 3, 13]. ...
code coverage, code review, metrics, TDD, test first, test last
February 21, 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 that phrase is smile. Many of us have heard about an anecdotal case at Macintosh when they tried to count ...
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 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
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 sense to explain what it is all about. I want to express my gratitude to Ruslan, Oleg, and Alex who ...
nesting depth, SEME, SESE
April 08, 2009
How to use ASSERT
Asserts can be very helpful in any development… If you use them wise. Alas, in the net there is miserable information about how to use these wonderful tools of security programming correctly. The only more or less understandable explanation that I have found is Code Complete by Steve McConnell. However, ...
assert
March 17, 2009
.h/.hpp including strategy
Sorry to say but people are very thoughtless concerning filling up of .h-files. Often you can see just a huge dumping site of everything imaginable there. This article is devoted to classify the approach of working with .h-files. It is a result of my conversations with Anton, who I truly ...
cpp
March 07, 2009
How to walk through a container
Just a small article explaining how to work with the STL containers. Vector is taken as an example. Аt the beginning I would like to say thanks to Anton. The reason for this article is multiple examples of incorrect iteration seen everywhere in Internet:
cpp, STL
March 07, 2009

WHAT'S NEW RSS Whats New

PEP8 validation script
Modified PEP8 validation script with Nesting Depth additional validation.
nesting depth, python
October 21, 2010
PEP8 and nesting depth metric
Company code style is one of the most essential policies to follow for any programming-related IT-organization. It helps to organize interaction between developers, especially for Agile teams, makes code more ...
code coverage, metrics, nesting depth, python
October 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
September 29, 2010
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
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