Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
QSR 2.1
-
None
-
7214b8822 (dev), 24343bb99 (6.5), 610f88756 (6.5.3)
Description
McCabe complexity check for SafeWindowPrivate constructor fails badly. The constructor has a lot of code that shouldn't be in there. Move that code to it's own function and make it less complex somehow, for example moving the try-catch elsewhere.
See:
src/adaptation/graphics/drm/safewindow_p.cpp@336
Attachments
For Gerrit Dashboard: QSR-2252 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
502686,6 | Fix McCabe cyclomatic complexity in safewindowprivate | dev | tqtc-boot2qt/qtsaferenderer-runtime | Status: MERGED | +2 | 0 |
504987,2 | Fix McCabe cyclomatic complexity in safewindowprivate | 6.5 | tqtc-boot2qt/qtsaferenderer-runtime | Status: MERGED | +2 | 0 |
505192,2 | Fix McCabe cyclomatic complexity in safewindowprivate | 6.5.3 | tqtc-boot2qt/qtsaferenderer-runtime | Status: MERGED | +2 | 0 |