Planning and analyzing lighting layout
This is one of the features of Not Enough Items. After installing the mod, press F7 (by default) while in-game and it will render a grid of red and yellow Xs on top of nearby blocks. Red Xs mean mobs can spawn on that block at all times (assuming a player is not nearby), while yellow Xs mean that mobs can spawn on that block at night.