SONARPLUGINS-2390 Add computation of complexity