| Function | Condition % | eLOC - Effective Lines of Codeā¾ | McCabe - Cyclomatic Complexity | 
 toSurfaceFormat| Name:  | QGLFormat::toSurfaceFormat |  | Prototype:  | QSurfaceFormat QGLFormat::toSurfaceFormat(const QGLFormat &format) |  | Coverage:  |  44.000% (11/25) |  | Absolute File Name:  | /home/qt/qt5_coco/qt5/qtbase/src/opengl/qgl.cpp |  | Lines:  | 472-501 |  
  |  | 24 | 9 | 
 fromSurfaceFormat| Name:  | QGLFormat::fromSurfaceFormat |  | Prototype:  | QGLFormat QGLFormat::fromSurfaceFormat(const QSurfaceFormat &format) |  | Coverage:  |  63.636% (14/22) |  | Absolute File Name:  | /home/qt/qt5_coco/qt5/qtbase/src/opengl/qgl.cpp |  | Lines:  | 440-467 |  
  |  | 23 | 8 | 
 openGLVersionFlags| Name:  | QGLFormat::openGLVersionFlags |  | Prototype:  | QGLFormat::OpenGLVersionFlags QGLFormat::openGLVersionFlags() |  | Coverage:  |  42.857% (9/21) |  | Absolute File Name:  | /home/qt/qt5_coco/qt5/qtbase/src/opengl/qgl.cpp |  | Lines:  | 1475-1508 |  
  |  | 20 | 7 | 
 setVersion| Name:  | QGLFormat::setVersion |  | Prototype:  | void QGLFormat::setVersion(int major, int minor) |  | Coverage:  |  50.000% (3/6) |  | Absolute File Name:  | /home/qt/qt5_coco/qt5/qtbase/src/opengl/qgl.cpp |  | Lines:  | 1152-1161 |  
  |  | 6 | 2 | 
 setStencilBufferSize| Name:  | QGLFormat::setStencilBufferSize |  | Prototype:  | void QGLFormat::setStencilBufferSize(int size) |  | Coverage:  |  50.000% (2/4) |  | Absolute File Name:  | /home/qt/qt5_coco/qt5/qtbase/src/opengl/qgl.cpp |  | Lines:  | 1122-1131 |  
  |  | 6 | 2 | 
 setSamples| Name:  | QGLFormat::setSamples |  | Prototype:  | void QGLFormat::setSamples(int numSamples) |  | Coverage:  |   0.000% (0/4) |  | Absolute File Name:  | /home/qt/qt5_coco/qt5/qtbase/src/opengl/qgl.cpp |  | Lines:  | 816-825 |  
  |  | 6 | 2 | 
 setDepthBufferSize| Name:  | QGLFormat::setDepthBufferSize |  | Prototype:  | void QGLFormat::setDepthBufferSize(int size) |  | Coverage:  |  50.000% (2/4) |  | Absolute File Name:  | /home/qt/qt5_coco/qt5/qtbase/src/opengl/qgl.cpp |  | Lines:  | 955-964 |  
  |  | 6 | 2 | 
 setAlphaBufferSize| Name:  | QGLFormat::setAlphaBufferSize |  | Prototype:  | void QGLFormat::setAlphaBufferSize(int size) |  | Coverage:  |  50.000% (2/4) |  | Absolute File Name:  | /home/qt/qt5_coco/qt5/qtbase/src/opengl/qgl.cpp |  | Lines:  | 1069-1078 |  
  |  | 6 | 2 | 
 setAccumBufferSize| Name:  | QGLFormat::setAccumBufferSize |  | Prototype:  | void QGLFormat::setAccumBufferSize(int size) |  | Coverage:  |   0.000% (0/4) |  | Absolute File Name:  | /home/qt/qt5_coco/qt5/qtbase/src/opengl/qgl.cpp |  | Lines:  | 1096-1105 |  
  |  | 6 | 2 | 
 operator=| Name:  | QGLFormat::operator= |  | Prototype:  | QGLFormat &QGLFormat::operator=(const QGLFormat &other) |  | Coverage:  |  85.714% (6/7) |  | Absolute File Name:  | /home/qt/qt5_coco/qt5/qtbase/src/opengl/qgl.cpp |  | Lines:  | 417-426 |  
  |  | 6 | 3 | 
 QGLFormat| Name:  | QGLFormat::QGLFormat |  | Prototype:  | QGLFormat::QGLFormat(QGL::FormatOptions options, int plane) |  | Coverage:  |   0.000% (0/1) |  | Absolute File Name:  | /home/qt/qt5_coco/qt5/qtbase/src/opengl/qgl.cpp |  | Lines:  | 380-388 |  
  |  | 6 | 1 | 
 setRedBufferSize| Name:  | QGLFormat::setRedBufferSize |  | Prototype:  | void QGLFormat::setRedBufferSize(int size) |  | Coverage:  |  50.000% (2/4) |  | Absolute File Name:  | /home/qt/qt5_coco/qt5/qtbase/src/opengl/qgl.cpp |  | Lines:  | 983-991 |  
  |  | 5 | 2 | 
 setGreenBufferSize| Name:  | QGLFormat::setGreenBufferSize |  | Prototype:  | void QGLFormat::setGreenBufferSize(int size) |  | Coverage:  |  50.000% (2/4) |  | Absolute File Name:  | /home/qt/qt5_coco/qt5/qtbase/src/opengl/qgl.cpp |  | Lines:  | 1012-1020 |  
  |  | 5 | 2 | 
 setBlueBufferSize| Name:  | QGLFormat::setBlueBufferSize |  | Prototype:  | void QGLFormat::setBlueBufferSize(int size) |  | Coverage:  |  50.000% (2/4) |  | Absolute File Name:  | /home/qt/qt5_coco/qt5/qtbase/src/opengl/qgl.cpp |  | Lines:  | 1041-1049 |  
  |  | 5 | 2 | 
 detach| Name:  | QGLFormat::detach |  | Prototype:  | void QGLFormat::detach() |  | Coverage:  |  28.571% (2/7) |  | Absolute File Name:  | /home/qt/qt5_coco/qt5/qtbase/src/opengl/qgl.cpp |  | Lines:  | 393-401 |  
  |  | 5 | 3 | 
 setOption| Name:  | QGLFormat::setOption |  | Prototype:  | void QGLFormat::setOption(QGL::FormatOptions opt) |  | Coverage:  | 100.000% (4/4) |  | Absolute File Name:  | /home/qt/qt5_coco/qt5/qtbase/src/opengl/qgl.cpp |  | Lines:  | 925-932 |  
  |  | 4 | 2 | 
 testOption| Name:  | QGLFormat::testOption |  | Prototype:  | bool QGLFormat::testOption(QGL::FormatOptions opt) const |  | Coverage:  |  50.000% (2/4) |  | Absolute File Name:  | /home/qt/qt5_coco/qt5/qtbase/src/opengl/qgl.cpp |  | Lines:  | 942-948 |  
  |  | 3 | 2 | 
 setDefaultOverlayFormat| Name:  | QGLFormat::setDefaultOverlayFormat |  | Prototype:  | void QGLFormat::setDefaultOverlayFormat(const QGLFormat &f) |  | Coverage:  |   0.000% (0/1) |  | Absolute File Name:  | /home/qt/qt5_coco/qt5/qtbase/src/opengl/qgl.cpp |  | Lines:  | 1588-1596 |  
  |  | 3 | 1 | 
 ~QGLFormat| Name:  | QGLFormat::~QGLFormat |  | Prototype:  | QGLFormat::~QGLFormat() |  | Coverage:  | 100.000% (4/4) |  | Absolute File Name:  | /home/qt/qt5_coco/qt5/qtbase/src/opengl/qgl.cpp |  | Lines:  | 431-435 |  
  |  | 2 | 2 | 
 setSwapInterval| Name:  | QGLFormat::setSwapInterval |  | Prototype:  | void QGLFormat::setSwapInterval(int interval) |  | Coverage:  | 100.000% (1/1) |  | Absolute File Name:  | /home/qt/qt5_coco/qt5/qtbase/src/opengl/qgl.cpp |  | Lines:  | 845-849 |  
  |  | 2 | 1 | 
 setProfile| Name:  | QGLFormat::setProfile |  | Prototype:  | void QGLFormat::setProfile(OpenGLContextProfile profile) |  | Coverage:  | 100.000% (1/1) |  | Absolute File Name:  | /home/qt/qt5_coco/qt5/qtbase/src/opengl/qgl.cpp |  | Lines:  | 1208-1212 |  
  |  | 2 | 1 | 
 setPlane| Name:  | QGLFormat::setPlane |  | Prototype:  | void QGLFormat::setPlane(int plane) |  | Coverage:  |   0.000% (0/1) |  | Absolute File Name:  | /home/qt/qt5_coco/qt5/qtbase/src/opengl/qgl.cpp |  | Lines:  | 913-917 |  
  |  | 2 | 1 | 
 hasOpenGL| Name:  | QGLFormat::hasOpenGL |  | Prototype:  | bool QGLFormat::hasOpenGL() |  | Coverage:  | 100.000% (1/1) |  | Absolute File Name:  | /home/qt/qt5_coco/qt5/qtbase/src/opengl/qgl.cpp |  | Lines:  | 1236-1240 |  
  |  | 2 | 1 | 
 QGLFormat| Name:  | QGLFormat::QGLFormat |  | Prototype:  | QGLFormat::QGLFormat(const QGLFormat &other) |  | Coverage:  | 100.000% (1/1) |  | Absolute File Name:  | /home/qt/qt5_coco/qt5/qtbase/src/opengl/qgl.cpp |  | Lines:  | 407-411 |  
  |  | 2 | 1 | 
 swapInterval| Name:  | QGLFormat::swapInterval |  | Prototype:  | int QGLFormat::swapInterval() const |  | Coverage:  | 100.000% (1/1) |  | Absolute File Name:  | /home/qt/qt5_coco/qt5/qtbase/src/opengl/qgl.cpp |  | Lines:  | 857-860 |  
  |  | 1 | 1 | 
 stencilBufferSize| Name:  | QGLFormat::stencilBufferSize |  | Prototype:  | int QGLFormat::stencilBufferSize() const |  | Coverage:  | 100.000% (1/1) |  | Absolute File Name:  | /home/qt/qt5_coco/qt5/qtbase/src/opengl/qgl.cpp |  | Lines:  | 1138-1141 |  
  |  | 1 | 1 | 
 setStereo| Name:  | QGLFormat::setStereo |  | Prototype:  | void QGLFormat::setStereo(bool enable) |  | Coverage:  | 100.000% (1/1) |  | Absolute File Name:  | /home/qt/qt5_coco/qt5/qtbase/src/opengl/qgl.cpp |  | Lines:  | 740-743 |  
  |  | 1 | 1 | 
 setStencil| Name:  | QGLFormat::setStencil |  | Prototype:  | void QGLFormat::setStencil(bool enable) |  | Coverage:  | 100.000% (1/1) |  | Absolute File Name:  | /home/qt/qt5_coco/qt5/qtbase/src/opengl/qgl.cpp |  | Lines:  | 713-716 |  
  |  | 1 | 1 | 
 setSampleBuffers| Name:  | QGLFormat::setSampleBuffers |  | Prototype:  | void QGLFormat::setSampleBuffers(bool enable) |  | Coverage:  |   0.000% (0/1) |  | Absolute File Name:  | /home/qt/qt5_coco/qt5/qtbase/src/opengl/qgl.cpp |  | Lines:  | 792-795 |  
  |  | 1 | 1 | 
 setRgba| Name:  | QGLFormat::setRgba |  | Prototype:  | void QGLFormat::setRgba(bool enable) |  | Coverage:  |   0.000% (0/1) |  | Absolute File Name:  | /home/qt/qt5_coco/qt5/qtbase/src/opengl/qgl.cpp |  | Lines:  | 631-634 |  
  |  | 1 | 1 | 
 setOverlay| Name:  | QGLFormat::setOverlay |  | Prototype:  | void QGLFormat::setOverlay(bool enable) |  | Coverage:  |   0.000% (0/1) |  | Absolute File Name:  | /home/qt/qt5_coco/qt5/qtbase/src/opengl/qgl.cpp |  | Lines:  | 883-886 |  
  |  | 1 | 1 | 
 setDoubleBuffer| Name:  | QGLFormat::setDoubleBuffer |  | Prototype:  | void QGLFormat::setDoubleBuffer(bool enable) |  | Coverage:  | 100.000% (1/1) |  | Absolute File Name:  | /home/qt/qt5_coco/qt5/qtbase/src/opengl/qgl.cpp |  | Lines:  | 570-573 |  
  |  | 1 | 1 | 
 setDirectRendering| Name:  | QGLFormat::setDirectRendering |  | Prototype:  | void QGLFormat::setDirectRendering(bool enable) |  | Coverage:  |   0.000% (0/1) |  | Absolute File Name:  | /home/qt/qt5_coco/qt5/qtbase/src/opengl/qgl.cpp |  | Lines:  | 770-773 |  
  |  | 1 | 1 | 
 setDepth| Name:  | QGLFormat::setDepth |  | Prototype:  | void QGLFormat::setDepth(bool enable) |  | Coverage:  | 100.000% (1/1) |  | Absolute File Name:  | /home/qt/qt5_coco/qt5/qtbase/src/opengl/qgl.cpp |  | Lines:  | 600-603 |  
  |  | 1 | 1 | 
 setDefaultFormat| Name:  | QGLFormat::setDefaultFormat |  | Prototype:  | void QGLFormat::setDefaultFormat(const QGLFormat &f) |  | Coverage:  |   0.000% (0/1) |  | Absolute File Name:  | /home/qt/qt5_coco/qt5/qtbase/src/opengl/qgl.cpp |  | Lines:  | 1537-1540 |  
  |  | 1 | 1 | 
 setAlpha| Name:  | QGLFormat::setAlpha |  | Prototype:  | void QGLFormat::setAlpha(bool enable) |  | Coverage:  | 100.000% (1/1) |  | Absolute File Name:  | /home/qt/qt5_coco/qt5/qtbase/src/opengl/qgl.cpp |  | Lines:  | 659-662 |  
  |  | 1 | 1 | 
 setAccum| Name:  | QGLFormat::setAccum |  | Prototype:  | void QGLFormat::setAccum(bool enable) |  | Coverage:  |   0.000% (0/1) |  | Absolute File Name:  | /home/qt/qt5_coco/qt5/qtbase/src/opengl/qgl.cpp |  | Lines:  | 686-689 |  
  |  | 1 | 1 | 
 samples| Name:  | QGLFormat::samples |  | Prototype:  | int QGLFormat::samples() const |  | Coverage:  |   0.000% (0/1) |  | Absolute File Name:  | /home/qt/qt5_coco/qt5/qtbase/src/opengl/qgl.cpp |  | Lines:  | 804-807 |  
  |  | 1 | 1 | 
 redBufferSize| Name:  | QGLFormat::redBufferSize |  | Prototype:  | int QGLFormat::redBufferSize() const |  | Coverage:  | 100.000% (1/1) |  | Absolute File Name:  | /home/qt/qt5_coco/qt5/qtbase/src/opengl/qgl.cpp |  | Lines:  | 1000-1003 |  
  |  | 1 | 1 | 
 profile| Name:  | QGLFormat::profile |  | Prototype:  | QGLFormat::OpenGLContextProfile QGLFormat::profile() const |  | Coverage:  | 100.000% (1/1) |  | Absolute File Name:  | /home/qt/qt5_coco/qt5/qtbase/src/opengl/qgl.cpp |  | Lines:  | 1221-1224 |  
  |  | 1 | 1 | 
 plane| Name:  | QGLFormat::plane |  | Prototype:  | int QGLFormat::plane() const |  | Coverage:  |   0.000% (0/1) |  | Absolute File Name:  | /home/qt/qt5_coco/qt5/qtbase/src/opengl/qgl.cpp |  | Lines:  | 895-898 |  
  |  | 1 | 1 | 
 minorVersion| Name:  | QGLFormat::minorVersion |  | Prototype:  | int QGLFormat::minorVersion() const |  | Coverage:  | 100.000% (1/1) |  | Absolute File Name:  | /home/qt/qt5_coco/qt5/qtbase/src/opengl/qgl.cpp |  | Lines:  | 1182-1185 |  
  |  | 1 | 1 | 
 majorVersion| Name:  | QGLFormat::majorVersion |  | Prototype:  | int QGLFormat::majorVersion() const |  | Coverage:  | 100.000% (1/1) |  | Absolute File Name:  | /home/qt/qt5_coco/qt5/qtbase/src/opengl/qgl.cpp |  | Lines:  | 1170-1173 |  
  |  | 1 | 1 | 
 hasOpenGLOverlays| Name:  | QGLFormat::hasOpenGLOverlays |  | Prototype:  | bool QGLFormat::hasOpenGLOverlays() |  | Coverage:  |   0.000% (0/1) |  | Absolute File Name:  | /home/qt/qt5_coco/qt5/qtbase/src/opengl/qgl.cpp |  | Lines:  | 1251-1254 |  
  |  | 1 | 1 | 
 greenBufferSize| Name:  | QGLFormat::greenBufferSize |  | Prototype:  | int QGLFormat::greenBufferSize() const |  | Coverage:  | 100.000% (1/1) |  | Absolute File Name:  | /home/qt/qt5_coco/qt5/qtbase/src/opengl/qgl.cpp |  | Lines:  | 1029-1032 |  
  |  | 1 | 1 | 
 depthBufferSize| Name:  | QGLFormat::depthBufferSize |  | Prototype:  | int QGLFormat::depthBufferSize() const |  | Coverage:  | 100.000% (1/1) |  | Absolute File Name:  | /home/qt/qt5_coco/qt5/qtbase/src/opengl/qgl.cpp |  | Lines:  | 971-974 |  
  |  | 1 | 1 | 
 defaultOverlayFormat| Name:  | QGLFormat::defaultOverlayFormat |  | Prototype:  | QGLFormat QGLFormat::defaultOverlayFormat() |  | Coverage:  |   0.000% (0/1) |  | Absolute File Name:  | /home/qt/qt5_coco/qt5/qtbase/src/opengl/qgl.cpp |  | Lines:  | 1564-1567 |  
  |  | 1 | 1 | 
 defaultFormat| Name:  | QGLFormat::defaultFormat |  | Prototype:  | QGLFormat QGLFormat::defaultFormat() |  | Coverage:  | 100.000% (1/1) |  | Absolute File Name:  | /home/qt/qt5_coco/qt5/qtbase/src/opengl/qgl.cpp |  | Lines:  | 1523-1526 |  
  |  | 1 | 1 | 
 blueBufferSize| Name:  | QGLFormat::blueBufferSize |  | Prototype:  | int QGLFormat::blueBufferSize() const |  | Coverage:  | 100.000% (1/1) |  | Absolute File Name:  | /home/qt/qt5_coco/qt5/qtbase/src/opengl/qgl.cpp |  | Lines:  | 1058-1061 |  
  |  | 1 | 1 | 
 alphaBufferSize| Name:  | QGLFormat::alphaBufferSize |  | Prototype:  | int QGLFormat::alphaBufferSize() const |  | Coverage:  |   0.000% (0/1) |  | Absolute File Name:  | /home/qt/qt5_coco/qt5/qtbase/src/opengl/qgl.cpp |  | Lines:  | 1085-1088 |  
  |  | 1 | 1 | 
 accumBufferSize| Name:  | QGLFormat::accumBufferSize |  | Prototype:  | int QGLFormat::accumBufferSize() const |  | Coverage:  |   0.000% (0/1) |  | Absolute File Name:  | /home/qt/qt5_coco/qt5/qtbase/src/opengl/qgl.cpp |  | Lines:  | 1112-1115 |  
  |  | 1 | 1 | 
 QGLFormat| Name:  | QGLFormat::QGLFormat |  | Prototype:  | QGLFormat::QGLFormat() |  | Coverage:  | 100.000% (1/1) |  | Absolute File Name:  | /home/qt/qt5_coco/qt5/qtbase/src/opengl/qgl.cpp |  | Lines:  | 351-354 |  
  |  | 1 | 1 |