Well, it certainly picked out the most complex file in the nimble controller code, but I already knew that :-) Still, good for other folks to see in case they want to review. I have to say I am not too keen on the visual interface. A simple list of files with relative complexity would be easier for me to read…
Will > On Mar 29, 2016, at 8:10 AM, Christopher Collins <[email protected]> wrote: > > Hey, why's my code redder than everyone else's?! > > Just kidding... that is actually pretty cool :). > > Chris > > On Tue, Mar 29, 2016 at 05:48:55PM +1100, Justin Mclean wrote: >> Hi, >> >> A little off topic but may be of interest. I did some hotspot analysis on >> mynewt core for a talk I’m giving and you can find the draft here: >> >> http://cssw.info.s3.amazonaws.com/Apache/hotspots/mynewt-core/index.html >> <http://cssw.info.s3.amazonaws.com/Apache/hotspots/mynewt-core/index.html> >> >> Click about to zoom in. >> >> The redder area are hotspots i.e. files that have more changes and >> complexity than other files and are more likely to have bugs or be good >> candidates for extra testing or review. It generated from loc, simple >> complexity measures, and version control history. >> >> May be a few false positives but I’d be interested to see if anyone finds >> that of use. It also give a nice birds eye view of the entire code base. >> >> Thanks, >> Justin
