Estimating the number of TODO and FIXME notes in Linux kernel code

In the Linux kernel sources present about 4 thousand comments describing deficiencies that require correction, plans and tasks postponed for the future, identified by the presence of the expression β€œTODO” in the text. Most "TODO" comments are present in the driver code (2380). In the crypto subsystem of such comments - 23, x86 architecture-specific code - 43, ARM - 73, code for other architectures - 114, in the code of block devices, file systems and the network subsystem - 606.

The FIXME expression, usually identifying code that needs improvement or is questionable, appears in comments
1860 once. Interestingly, in kernel 4.2 marked a significant jump in TODO comments, the number of which immediately increased by about 1000 (probably due to integration included in the AMDGPU driver kernel, which includes about 400 thousand lines of code).
Also, from version to version, the number of comments with the word β€œworkaround” continues to increase, but there is a decrease in comments β€œfixme” and β€œhack”.

Estimating the number of TODO and FIXME notes in Linux kernel code

After initiatives to rid the core of obscene language in the comments was marked reducing the use of some obscene words. However, the decline did not last long and now there is an increase in the number of such comments again.

Estimating the number of TODO and FIXME notes in Linux kernel code

Source: opennet.ru

Add a comment