妙な単位

KLOC

Last modified: Friday, April 02, 2004

Short for thousands (kilo) of lines of code. KLOC is a measure of the size of a computer program. The size is determined by measuring the number of lines of source code a program has. High-level languages such as C++, will compile into more lines of machine code than an assembly language, which is a low-level language.


これが大きければ良い、と思う人は残念賞。
1KLOC当たりのバグ数を出して、コードの品質を評価するときに便利。
なんて読むんでしょうかキロロック?

MISRA-Cでの指摘件数は,通常のコードで 60件/Kloc程度である.
この位でも商品になる.これが,80〜90件だと商品にはならない.
高信頼コーディングの教育をうけると 20件/Kloc程度に減少する.
本物のエキスパート(Cの標準化活動をする程度の人)で 3件/Kloc程度となる.
最高到達レベルは 2.5件/Kloc程度.これは,生成ツールでの実現の場合.

皆さんは何件/Klocのコードを書きますか?