Replace switch by if-else chunk
Replace switch by if-else chunk

Hopefully it will easy orientation.

OpenSCAP/openscap,OpenSCAP/openscap,OpenSCAP/openscap,OpenSCAP/openscap,OpenSCAP/openscap,OpenSCAP/openscap