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

In the kernel sources Linux present Around 4 comments describing issues that need to be fixed, plans, and tasks deferred for the future, identified by the presence of the phrase "TODO" in the text. Most of the comments with "TODO" 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 statement, which typically identifies code that requires improvement or is questionable, appears in comments.
1860 times. It's interesting that in kernel 4.2 marked a significant jump in TODO comments, the number of which increased by about 1000 at once (this is probably due to integration into the AMDGPU driver core, 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 with “fixme” and “hack”.

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

After initiatives to rid the kernel of obscene language in the comments marked There was a reduction in the use of certain obscene words. However, the decline was short-lived, and now we're seeing a resurgence in the number of such comments.

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

Source: opennet.ru

Buy reliable hosting for sites with DDoS protection, VPS VDS servers 🔥 Buy reliable website hosting with DDoS protection, VPS VDS servers | ProHoster