update optional for coverity scan
fixes for coverity scan
fixed coverity scan build error in enumeration. scan at 100%
update coverity scan