5 ms·
The Linux Kernel - Structure Analysis
- boyter 14y agoI found it took a bit of digging to find Arqua (Google turned up nothing), but if you look through the other blog posts you can find the link which is here https://github.com/ernstsson/Arqua https://github.com/ernstsson/Arqua
- ernstsson 14y agoThanks for the comment, added the link in the post as well.
- willvarfar 14y agoI remember the early runs of Coverity on the Symbian kernel and user-space. Because Symbian's C++ is not very conventional, and is very careful in its own conventions, Coverity found basically nothing except false alarms.
- ernstsson 14y agoTrue, Coverity needs to be configured correctly for the target system to get it working for you (I assume that especially Symbian C++ can be tricky). Similar here, the tolerance values for complexity might be set wrong giving us a lower score than we should have. The image itself is valid though.
- willvarfar 14y agoIsn't the very low quality score setting off alarm bells and making you question if you're measuring the right things?
- ernstsson 14y agoYes, definitely. I think (or hope?) the main reason for the score is that the directory structure and the actual architecture of Linux isn't fully in sync. Most of the score comes from the top directory tangles and complexity. When I compare it to the commonly used kernel map (http://makelinux.homelinux.com/kernel_map/LKM3_512.png http://makelinux.homelinux.com/kernel_map/LKM3_512.png) I really don't see it matching as well as Arqua requires for a good score. Note also that the score doesn't say that the software doesn't work, just that the structure of the source in relation to the call graph of the functions is complex.
- thedeuce 14y agoWith all the better things to do in life, I wouldn't count poorly analyzing the linux kernel source as one of them.