Assessment of TODO and FIXME comments in the Linux kernel code

In the source texts of the Linux kernel has been present there are about 4,000 comments describing issues that need fixing, plans, and deferred tasks, identified by the presence of the phrase 'TODO' in the text. Most comments with 'TODO' are found in the driver code (2380). In the cryptosystem, there are such comments — 23, in architecture-specific x86 code — 43, ARM — 73, code for other architectures — 114, in block device code, file systems, and the networking subsystem — 606.

The term FIXME, which typically identifies code that needs improvement or raises doubts, appears in comments
1860 times. Interestingly, in kernel version 4.2 there was noted a significant surge in TODO comments, which increased by about 1,000 (likely due to the integration of the AMDGPU driver into the kernel, which includes about 400,000 lines of code).
Also, from version to version, the number of comments containing 'workaround' continues to grow, but there is a decrease in comments labeled 'fixme' and 'hack'.

Assessment of TODO and FIXME comments in the Linux kernel code

After of the Efforts to eliminate profanity from the kernel comments have seen a reduction noted in the use of certain profane terms. However, the decline did not last long, and an increase in the number of such comments is now observed again.

Assessment of TODO and FIXME comments in the Linux kernel code

Source: opennet.ru

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