I finally managed to upload the FreeMiNT code to my Sonar instance, albeit with some difficulty. Since it's the community version, it doesn't yield much of interest apart from a few metrics.
| Folder | Lines of code | Duplicates |
|---|---|---|
| doc/programmer | 3326 | 3.3% |
| shared/libsyscall | 156 | 0.0% |
| sys | 127187 | 4.8% |
| tools | 27368 | 3.0% |
| xaaes/src.km | 72412 | 1.9% |
LOC: 230449, Lines: 405191, Comments: 19.0%