| Line | Source | Count | 
|---|
| 1 |  | - | 
| 2 |  | - | 
| 3 |  | - | 
| 4 |  | - | 
| 5 |  | - | 
| 6 |  | - | 
| 7 | bool qsg_material_failure = false; | - | 
| 8 | bool qsg_test_and_clear_material_failure() | - | 
| 9 | { | - | 
| 10 | bool fail = qsg_material_failure; | - | 
| 11 | qsg_material_failure = false; | - | 
| 12 | return executed 116002 times by 70 testsfail;:  return fail;Executed by:tst_drawingmodestst_examplestst_flickableinteroptst_multipointtoucharea_interoptst_qqmltypeloadertst_qquickagetst_qquickangleddirectiontst_qquickanimatedimagetst_qquickanimatedspritetst_qquickanimationcontrollertst_qquickborderimagetst_qquickcumulativedirectiontst_qquickcustomaffectortst_qquickcustomparticletst_qquickdraghandlertst_qquickellipseextrudertst_qquickflickabletst_qquickfocusscopetst_qquickfontloadertst_qquickfontloader_statictst_qquickframebufferobjecttst_qquickfrictiontst_qquickgravitytst_qquickgridviewtst_qquickgroupgoal...
 executed 116002 times by 70 tests:  return fail;Executed by:tst_drawingmodestst_examplestst_flickableinteroptst_multipointtoucharea_interoptst_qqmltypeloadertst_qquickagetst_qquickangleddirectiontst_qquickanimatedimagetst_qquickanimatedspritetst_qquickanimationcontrollertst_qquickborderimagetst_qquickcumulativedirectiontst_qquickcustomaffectortst_qquickcustomparticletst_qquickdraghandlertst_qquickellipseextrudertst_qquickflickabletst_qquickfocusscopetst_qquickfontloadertst_qquickfontloader_statictst_qquickframebufferobjecttst_qquickfrictiontst_qquickgravitytst_qquickgridviewtst_qquickgroupgoal...
 | 116002 | 
| 13 | } | - | 
| 14 |  | - | 
| 15 | void qsg_set_material_failure() | - | 
| 16 | { | - | 
| 17 | qsg_material_failure = true; | - | 
| 18 | } never executed: end of block | 0 | 
| 19 |  | - | 
| 20 |  | - | 
| 21 | const char *QSGMaterialShaderPrivate::loadShaderSource(QOpenGLShader::ShaderType type) const | - | 
| 22 | { | - | 
| 23 | const QStringList files = m_sourceFiles[type]; | - | 
| 24 | QSGShaderSourceBuilder builder; | - | 
| 25 | for (const QString &file : files) | - | 
| 26 | builder.appendSourceFile(file); executed 8754 times by 70 tests:  builder.appendSourceFile(file);Executed by:tst_drawingmodestst_examplestst_flickableinteroptst_multipointtoucharea_interoptst_qqmltypeloadertst_qquickagetst_qquickangleddirectiontst_qquickanimatedimagetst_qquickanimatedspritetst_qquickanimationcontrollertst_qquickborderimagetst_qquickcumulativedirectiontst_qquickcustomaffectortst_qquickcustomparticletst_qquickdraghandlertst_qquickellipseextrudertst_qquickflickabletst_qquickfocusscopetst_qquickfontloadertst_qquickfontloader_statictst_qquickframebufferobjecttst_qquickfrictiontst_qquickgravitytst_qquickgridviewtst_qquickgroupgoal...
 | 8754 | 
| 27 | m_sources[type] = builder.source(); | - | 
| 28 | return executed 8754 times by 70 testsm_sources[type].constData();:  return m_sources[type].constData();Executed by:tst_drawingmodestst_examplestst_flickableinteroptst_multipointtoucharea_interoptst_qqmltypeloadertst_qquickagetst_qquickangleddirectiontst_qquickanimatedimagetst_qquickanimatedspritetst_qquickanimationcontrollertst_qquickborderimagetst_qquickcumulativedirectiontst_qquickcustomaffectortst_qquickcustomparticletst_qquickdraghandlertst_qquickellipseextrudertst_qquickflickabletst_qquickfocusscopetst_qquickfontloadertst_qquickfontloader_statictst_qquickframebufferobjecttst_qquickfrictiontst_qquickgravitytst_qquickgridviewtst_qquickgroupgoal...
 executed 8754 times by 70 tests:  return m_sources[type].constData();Executed by:tst_drawingmodestst_examplestst_flickableinteroptst_multipointtoucharea_interoptst_qqmltypeloadertst_qquickagetst_qquickangleddirectiontst_qquickanimatedimagetst_qquickanimatedspritetst_qquickanimationcontrollertst_qquickborderimagetst_qquickcumulativedirectiontst_qquickcustomaffectortst_qquickcustomparticletst_qquickdraghandlertst_qquickellipseextrudertst_qquickflickabletst_qquickfocusscopetst_qquickfontloadertst_qquickfontloader_statictst_qquickframebufferobjecttst_qquickfrictiontst_qquickgravitytst_qquickgridviewtst_qquickgroupgoal...
 | 8754 | 
| 29 | } | - | 
| 30 |  | - | 
| 31 |  | - | 
| 32 |  | - | 
| 33 | static const bool qsg_leak_check = !qEnvironmentVariableIsEmpty("QML_LEAK_CHECK"); | - | 
| 34 | QSGMaterialShader::QSGMaterialShader() | - | 
| 35 | : d_ptr(new QSGMaterialShaderPrivate) | - | 
| 36 | { | - | 
| 37 | } executed 4482 times by 70 tests:  end of blockExecuted by:tst_drawingmodestst_examplestst_flickableinteroptst_multipointtoucharea_interoptst_qqmltypeloadertst_qquickagetst_qquickangleddirectiontst_qquickanimatedimagetst_qquickanimatedspritetst_qquickanimationcontrollertst_qquickborderimagetst_qquickcumulativedirectiontst_qquickcustomaffectortst_qquickcustomparticletst_qquickdraghandlertst_qquickellipseextrudertst_qquickflickabletst_qquickfocusscopetst_qquickfontloadertst_qquickfontloader_statictst_qquickframebufferobjecttst_qquickfrictiontst_qquickgravitytst_qquickgridviewtst_qquickgroupgoal...
 | 4482 | 
| 38 |  | - | 
| 39 |  | - | 
| 40 |  | - | 
| 41 |  | - | 
| 42 | QSGMaterialShader::QSGMaterialShader(QSGMaterialShaderPrivate &dd) | - | 
| 43 | : d_ptr(&dd) | - | 
| 44 | { | - | 
| 45 | } executed 22 times by 2 tests:  end of blockExecuted by:tst_drawingmodestst_scenegraph
 | 22 | 
| 46 |  | - | 
| 47 |  | - | 
| 48 |  | - | 
| 49 |  | - | 
| 50 | QSGMaterialShader::~QSGMaterialShader() | - | 
| 51 | { | - | 
| 52 | } | - | 
| 53 | const char *QSGMaterialShader::vertexShader() const | - | 
| 54 | { | - | 
| 55 | const QSGMaterialShaderPrivate * const d = d_func(); | - | 
| 56 | return executed 4377 times by 70 testsd->loadShaderSource(QOpenGLShader::Vertex);:  return d->loadShaderSource(QOpenGLShader::Vertex);Executed by:tst_drawingmodestst_examplestst_flickableinteroptst_multipointtoucharea_interoptst_qqmltypeloadertst_qquickagetst_qquickangleddirectiontst_qquickanimatedimagetst_qquickanimatedspritetst_qquickanimationcontrollertst_qquickborderimagetst_qquickcumulativedirectiontst_qquickcustomaffectortst_qquickcustomparticletst_qquickdraghandlertst_qquickellipseextrudertst_qquickflickabletst_qquickfocusscopetst_qquickfontloadertst_qquickfontloader_statictst_qquickframebufferobjecttst_qquickfrictiontst_qquickgravitytst_qquickgridviewtst_qquickgroupgoal...
 executed 4377 times by 70 tests:  return d->loadShaderSource(QOpenGLShader::Vertex);Executed by:tst_drawingmodestst_examplestst_flickableinteroptst_multipointtoucharea_interoptst_qqmltypeloadertst_qquickagetst_qquickangleddirectiontst_qquickanimatedimagetst_qquickanimatedspritetst_qquickanimationcontrollertst_qquickborderimagetst_qquickcumulativedirectiontst_qquickcustomaffectortst_qquickcustomparticletst_qquickdraghandlertst_qquickellipseextrudertst_qquickflickabletst_qquickfocusscopetst_qquickfontloadertst_qquickfontloader_statictst_qquickframebufferobjecttst_qquickfrictiontst_qquickgravitytst_qquickgridviewtst_qquickgroupgoal...
 | 4377 | 
| 57 | } | - | 
| 58 | const char *QSGMaterialShader::fragmentShader() const | - | 
| 59 | { | - | 
| 60 | const QSGMaterialShaderPrivate * const d = d_func(); | - | 
| 61 | return executed 4377 times by 70 testsd->loadShaderSource(QOpenGLShader::Fragment);:  return d->loadShaderSource(QOpenGLShader::Fragment);Executed by:tst_drawingmodestst_examplestst_flickableinteroptst_multipointtoucharea_interoptst_qqmltypeloadertst_qquickagetst_qquickangleddirectiontst_qquickanimatedimagetst_qquickanimatedspritetst_qquickanimationcontrollertst_qquickborderimagetst_qquickcumulativedirectiontst_qquickcustomaffectortst_qquickcustomparticletst_qquickdraghandlertst_qquickellipseextrudertst_qquickflickabletst_qquickfocusscopetst_qquickfontloadertst_qquickfontloader_statictst_qquickframebufferobjecttst_qquickfrictiontst_qquickgravitytst_qquickgridviewtst_qquickgroupgoal...
 executed 4377 times by 70 tests:  return d->loadShaderSource(QOpenGLShader::Fragment);Executed by:tst_drawingmodestst_examplestst_flickableinteroptst_multipointtoucharea_interoptst_qqmltypeloadertst_qquickagetst_qquickangleddirectiontst_qquickanimatedimagetst_qquickanimatedspritetst_qquickanimationcontrollertst_qquickborderimagetst_qquickcumulativedirectiontst_qquickcustomaffectortst_qquickcustomparticletst_qquickdraghandlertst_qquickellipseextrudertst_qquickflickabletst_qquickfocusscopetst_qquickfontloadertst_qquickfontloader_statictst_qquickframebufferobjecttst_qquickfrictiontst_qquickgravitytst_qquickgridviewtst_qquickgroupgoal...
 | 4377 | 
| 62 | } | - | 
| 63 | void QSGMaterialShader::activate() | - | 
| 64 | { | - | 
| 65 | } | - | 
| 66 | void QSGMaterialShader::deactivate() | - | 
| 67 | { | - | 
| 68 | } | - | 
| 69 | void QSGMaterialShader::updateState(const RenderState & , QSGMaterial * , QSGMaterial * ) | - | 
| 70 | { | - | 
| 71 | } | - | 
| 72 | void QSGMaterialShader::setShaderSourceFile(QOpenGLShader::ShaderType type, const QString &sourceFile) | - | 
| 73 | { | - | 
| 74 | QSGMaterialShaderPrivate * const d = d_func(); | - | 
| 75 | d->m_sourceFiles[type] = (QStringList() << sourceFile); | - | 
| 76 | } executed 11868 times by 70 tests:  end of blockExecuted by:tst_drawingmodestst_examplestst_flickableinteroptst_multipointtoucharea_interoptst_qqmltypeloadertst_qquickagetst_qquickangleddirectiontst_qquickanimatedimagetst_qquickanimatedspritetst_qquickanimationcontrollertst_qquickborderimagetst_qquickcumulativedirectiontst_qquickcustomaffectortst_qquickcustomparticletst_qquickdraghandlertst_qquickellipseextrudertst_qquickflickabletst_qquickfocusscopetst_qquickfontloadertst_qquickfontloader_statictst_qquickframebufferobjecttst_qquickfrictiontst_qquickgravitytst_qquickgridviewtst_qquickgroupgoal...
 | 11868 | 
| 77 | void QSGMaterialShader::setShaderSourceFiles(QOpenGLShader::ShaderType type, const QStringList &sourceFiles) | - | 
| 78 | { | - | 
| 79 | QSGMaterialShaderPrivate * const d = d_func(); | - | 
| 80 | d->m_sourceFiles[type] = sourceFiles; | - | 
| 81 | } never executed: end of block | 0 | 
| 82 | void QSGMaterialShader::compile() | - | 
| 83 | { | - | 
| 84 | ((!m_program.isLinked()) ? static_cast<void>(0) : qt_assert_x("QSGSMaterialShader::compile()", "Compile called multiple times!", __FILE__, 365)); | - | 
| 85 |  | - | 
| 86 | program()->addCacheableShaderFromSourceCode(QOpenGLShader::Vertex, vertexShader()); | - | 
| 87 | program()->addCacheableShaderFromSourceCode(QOpenGLShader::Fragment, fragmentShader()); | - | 
| 88 |  | - | 
| 89 | char const *const *attr = attributeNames(); | - | 
| 90 |  | - | 
| 91 | int maxVertexAttribs = 0; | - | 
| 92 | QOpenGLFunctions *funcs = QOpenGLContext::currentContext()->functions(); | - | 
| 93 | funcs->glGetIntegerv(0x8869, &maxVertexAttribs); | - | 
| 94 | for (int i = 0; attr[i] ; ++i) {| TRUE | evaluated 404 times by 29 tests Evaluated by:tst_drawingmodestst_examplestst_multipointtoucharea_interoptst_qquickagetst_qquickangleddirectiontst_qquickcumulativedirectiontst_qquickcustomaffectortst_qquickellipseextrudertst_qquickfrictiontst_qquickgravitytst_qquickgridviewtst_qquickgroupgoaltst_qquickimageparticletst_qquickitem2tst_qquicklineextrudertst_qquickmaskextrudertst_qquickparticlegrouptst_qquickparticlesystemtst_qquickpinchareatst_qquickpointattractortst_qquickpointdirectiontst_qquickrectangleextrudertst_qquickspritegoaltst_qquicktargetdirectiontst_qquicktrailemitter...
 |  | FALSE | evaluated 135 times by 29 tests Evaluated by:tst_drawingmodestst_examplestst_multipointtoucharea_interoptst_qquickagetst_qquickangleddirectiontst_qquickcumulativedirectiontst_qquickcustomaffectortst_qquickellipseextrudertst_qquickfrictiontst_qquickgravitytst_qquickgridviewtst_qquickgroupgoaltst_qquickimageparticletst_qquickitem2tst_qquicklineextrudertst_qquickmaskextrudertst_qquickparticlegrouptst_qquickparticlesystemtst_qquickpinchareatst_qquickpointattractortst_qquickpointdirectiontst_qquickrectangleextrudertst_qquickspritegoaltst_qquicktargetdirectiontst_qquicktrailemitter...
 | 
 | 135-404 | 
| 95 | if (i >= maxVertexAttribs ) {| TRUE | never evaluated |  | FALSE | evaluated 404 times by 29 tests Evaluated by:tst_drawingmodestst_examplestst_multipointtoucharea_interoptst_qquickagetst_qquickangleddirectiontst_qquickcumulativedirectiontst_qquickcustomaffectortst_qquickellipseextrudertst_qquickfrictiontst_qquickgravitytst_qquickgridviewtst_qquickgroupgoaltst_qquickimageparticletst_qquickitem2tst_qquicklineextrudertst_qquickmaskextrudertst_qquickparticlegrouptst_qquickparticlesystemtst_qquickpinchareatst_qquickpointattractortst_qquickpointdirectiontst_qquickrectangleextrudertst_qquickspritegoaltst_qquicktargetdirectiontst_qquicktrailemitter...
 | 
 | 0-404 | 
| 96 | QMessageLogger(__FILE__, 377, __PRETTY_FUNCTION__).fatal("List of attribute names is either too long or not null-terminated.\n" | - | 
| 97 | "Maximum number of attributes on this hardware is %i.\n" | - | 
| 98 | "Vertex shader:\n%s\n" | - | 
| 99 | "Fragment shader:\n%s\n", | - | 
| 100 | maxVertexAttribs, vertexShader(), fragmentShader()); | - | 
| 101 | } never executed: end of block | 0 | 
| 102 | if (* attr[i]| TRUE | evaluated 404 times by 29 tests Evaluated by:tst_drawingmodestst_examplestst_multipointtoucharea_interoptst_qquickagetst_qquickangleddirectiontst_qquickcumulativedirectiontst_qquickcustomaffectortst_qquickellipseextrudertst_qquickfrictiontst_qquickgravitytst_qquickgridviewtst_qquickgroupgoaltst_qquickimageparticletst_qquickitem2tst_qquicklineextrudertst_qquickmaskextrudertst_qquickparticlegrouptst_qquickparticlesystemtst_qquickpinchareatst_qquickpointattractortst_qquickpointdirectiontst_qquickrectangleextrudertst_qquickspritegoaltst_qquicktargetdirectiontst_qquicktrailemitter...
 |  | FALSE | never evaluated | 
)| TRUE | evaluated 404 times by 29 tests Evaluated by:tst_drawingmodestst_examplestst_multipointtoucharea_interoptst_qquickagetst_qquickangleddirectiontst_qquickcumulativedirectiontst_qquickcustomaffectortst_qquickellipseextrudertst_qquickfrictiontst_qquickgravitytst_qquickgridviewtst_qquickgroupgoaltst_qquickimageparticletst_qquickitem2tst_qquicklineextrudertst_qquickmaskextrudertst_qquickparticlegrouptst_qquickparticlesystemtst_qquickpinchareatst_qquickpointattractortst_qquickpointdirectiontst_qquickrectangleextrudertst_qquickspritegoaltst_qquicktargetdirectiontst_qquicktrailemitter...
 |  | FALSE | never evaluated | 
 | 0-404 | 
| 103 | program()->bindAttributeLocation(attr[i], i); executed 404 times by 29 tests:  program()->bindAttributeLocation(attr[i], i);Executed by:tst_drawingmodestst_examplestst_multipointtoucharea_interoptst_qquickagetst_qquickangleddirectiontst_qquickcumulativedirectiontst_qquickcustomaffectortst_qquickellipseextrudertst_qquickfrictiontst_qquickgravitytst_qquickgridviewtst_qquickgroupgoaltst_qquickimageparticletst_qquickitem2tst_qquicklineextrudertst_qquickmaskextrudertst_qquickparticlegrouptst_qquickparticlesystemtst_qquickpinchareatst_qquickpointattractortst_qquickpointdirectiontst_qquickrectangleextrudertst_qquickspritegoaltst_qquicktargetdirectiontst_qquicktrailemitter...
 | 404 | 
| 104 | } executed 404 times by 29 tests:  end of blockExecuted by:tst_drawingmodestst_examplestst_multipointtoucharea_interoptst_qquickagetst_qquickangleddirectiontst_qquickcumulativedirectiontst_qquickcustomaffectortst_qquickellipseextrudertst_qquickfrictiontst_qquickgravitytst_qquickgridviewtst_qquickgroupgoaltst_qquickimageparticletst_qquickitem2tst_qquicklineextrudertst_qquickmaskextrudertst_qquickparticlegrouptst_qquickparticlesystemtst_qquickpinchareatst_qquickpointattractortst_qquickpointdirectiontst_qquickrectangleextrudertst_qquickspritegoaltst_qquicktargetdirectiontst_qquicktrailemitter...
 | 404 | 
| 105 |  | - | 
| 106 |  | - | 
| 107 |  | - | 
| 108 |  | - | 
| 109 |  | - | 
| 110 |  | - | 
| 111 |  | - | 
| 112 | if (!program()->link() ) {| TRUE | never evaluated |  | FALSE | evaluated 135 times by 29 tests Evaluated by:tst_drawingmodestst_examplestst_multipointtoucharea_interoptst_qquickagetst_qquickangleddirectiontst_qquickcumulativedirectiontst_qquickcustomaffectortst_qquickellipseextrudertst_qquickfrictiontst_qquickgravitytst_qquickgridviewtst_qquickgroupgoaltst_qquickimageparticletst_qquickitem2tst_qquicklineextrudertst_qquickmaskextrudertst_qquickparticlegrouptst_qquickparticlesystemtst_qquickpinchareatst_qquickpointattractortst_qquickpointdirectiontst_qquickrectangleextrudertst_qquickspritegoaltst_qquicktargetdirectiontst_qquicktrailemitter...
 | 
 | 0-135 | 
| 113 | QMessageLogger(__FILE__, 394, __PRETTY_FUNCTION__).warning("QSGMaterialShader: Shader compilation failed:"); | - | 
| 114 | QMessageLogger(__FILE__, 395, __PRETTY_FUNCTION__).warning() << program()->log(); | - | 
| 115 | } never executed: end of block | 0 | 
| 116 | } executed 135 times by 29 tests:  end of blockExecuted by:tst_drawingmodestst_examplestst_multipointtoucharea_interoptst_qquickagetst_qquickangleddirectiontst_qquickcumulativedirectiontst_qquickcustomaffectortst_qquickellipseextrudertst_qquickfrictiontst_qquickgravitytst_qquickgridviewtst_qquickgroupgoaltst_qquickimageparticletst_qquickitem2tst_qquicklineextrudertst_qquickmaskextrudertst_qquickparticlegrouptst_qquickparticlesystemtst_qquickpinchareatst_qquickpointattractortst_qquickpointdirectiontst_qquickrectangleextrudertst_qquickspritegoaltst_qquicktargetdirectiontst_qquicktrailemitter...
 | 135 | 
| 117 | float QSGMaterialShader::RenderState::opacity() const | - | 
| 118 | { | - | 
| 119 | ((m_data) ? static_cast<void>(0) : qt_assert("m_data", __FILE__, 469)); | - | 
| 120 | return executed 59094 times by 67 testsstatic_cast<const QSGRenderer *>(m_data)->currentOpacity();:  return static_cast<const QSGRenderer *>(m_data)->currentOpacity();Executed by:tst_drawingmodestst_examplestst_flickableinteroptst_multipointtoucharea_interoptst_qqmltypeloadertst_qquickagetst_qquickangleddirectiontst_qquickanimatedspritetst_qquickanimationcontrollertst_qquickborderimagetst_qquickcumulativedirectiontst_qquickcustomaffectortst_qquickcustomparticletst_qquickdraghandlertst_qquickellipseextrudertst_qquickflickabletst_qquickfocusscopetst_qquickfontloadertst_qquickfontloader_statictst_qquickfrictiontst_qquickgravitytst_qquickgridviewtst_qquickgroupgoaltst_qquickimagetst_qquickimageparticle...
 executed 59094 times by 67 tests:  return static_cast<const QSGRenderer *>(m_data)->currentOpacity();Executed by:tst_drawingmodestst_examplestst_flickableinteroptst_multipointtoucharea_interoptst_qqmltypeloadertst_qquickagetst_qquickangleddirectiontst_qquickanimatedspritetst_qquickanimationcontrollertst_qquickborderimagetst_qquickcumulativedirectiontst_qquickcustomaffectortst_qquickcustomparticletst_qquickdraghandlertst_qquickellipseextrudertst_qquickflickabletst_qquickfocusscopetst_qquickfontloadertst_qquickfontloader_statictst_qquickfrictiontst_qquickgravitytst_qquickgridviewtst_qquickgroupgoaltst_qquickimagetst_qquickimageparticle...
 | 59094 | 
| 121 | } | - | 
| 122 |  | - | 
| 123 |  | - | 
| 124 |  | - | 
| 125 |  | - | 
| 126 |  | - | 
| 127 | float QSGMaterialShader::RenderState::determinant() const | - | 
| 128 | { | - | 
| 129 | ((m_data) ? static_cast<void>(0) : qt_assert("m_data", __FILE__, 479)); | - | 
| 130 | return executed 34190 times by 24 testsstatic_cast<const QSGRenderer *>(m_data)->determinant();:  return static_cast<const QSGRenderer *>(m_data)->determinant();Executed by:tst_examplestst_flickableinteroptst_qquickdraghandlertst_qquickflickabletst_qquickfocusscopetst_qquickfontloadertst_qquickfontloader_statictst_qquickgridviewtst_qquickitemtst_qquickitem2tst_qquicklayoutstst_qquicklistviewtst_qquickmouseareatst_qquickpathviewtst_qquickpinchareatst_qquickpositionerstst_qquickrepeatertst_qquickspringanimationtst_qquicktaphandlertst_qquicktexttst_qquicktextedittst_qquicktextinputtst_scenegraphtst_touchmouse
 executed 34190 times by 24 tests:  return static_cast<const QSGRenderer *>(m_data)->determinant();Executed by:tst_examplestst_flickableinteroptst_qquickdraghandlertst_qquickflickabletst_qquickfocusscopetst_qquickfontloadertst_qquickfontloader_statictst_qquickgridviewtst_qquickitemtst_qquickitem2tst_qquicklayoutstst_qquicklistviewtst_qquickmouseareatst_qquickpathviewtst_qquickpinchareatst_qquickpositionerstst_qquickrepeatertst_qquickspringanimationtst_qquicktaphandlertst_qquicktexttst_qquicktextedittst_qquicktextinputtst_scenegraphtst_touchmouse
 | 34190 | 
| 131 | } | - | 
| 132 |  | - | 
| 133 |  | - | 
| 134 |  | - | 
| 135 |  | - | 
| 136 |  | - | 
| 137 | QMatrix4x4 QSGMaterialShader::RenderState::combinedMatrix() const | - | 
| 138 | { | - | 
| 139 | ((m_data) ? static_cast<void>(0) : qt_assert("m_data", __FILE__, 489)); | - | 
| 140 | return executed 150174 times by 70 testsstatic_cast<const QSGRenderer *>(m_data)->currentCombinedMatrix();:  return static_cast<const QSGRenderer *>(m_data)->currentCombinedMatrix();Executed by:tst_drawingmodestst_examplestst_flickableinteroptst_multipointtoucharea_interoptst_qqmltypeloadertst_qquickagetst_qquickangleddirectiontst_qquickanimatedimagetst_qquickanimatedspritetst_qquickanimationcontrollertst_qquickborderimagetst_qquickcumulativedirectiontst_qquickcustomaffectortst_qquickcustomparticletst_qquickdraghandlertst_qquickellipseextrudertst_qquickflickabletst_qquickfocusscopetst_qquickfontloadertst_qquickfontloader_statictst_qquickframebufferobjecttst_qquickfrictiontst_qquickgravitytst_qquickgridviewtst_qquickgroupgoal...
 executed 150174 times by 70 tests:  return static_cast<const QSGRenderer *>(m_data)->currentCombinedMatrix();Executed by:tst_drawingmodestst_examplestst_flickableinteroptst_multipointtoucharea_interoptst_qqmltypeloadertst_qquickagetst_qquickangleddirectiontst_qquickanimatedimagetst_qquickanimatedspritetst_qquickanimationcontrollertst_qquickborderimagetst_qquickcumulativedirectiontst_qquickcustomaffectortst_qquickcustomparticletst_qquickdraghandlertst_qquickellipseextrudertst_qquickflickabletst_qquickfocusscopetst_qquickfontloadertst_qquickfontloader_statictst_qquickframebufferobjecttst_qquickfrictiontst_qquickgravitytst_qquickgridviewtst_qquickgroupgoal...
 | 150174 | 
| 141 | } | - | 
| 142 |  | - | 
| 143 |  | - | 
| 144 |  | - | 
| 145 |  | - | 
| 146 | float QSGMaterialShader::RenderState::devicePixelRatio() const | - | 
| 147 | { | - | 
| 148 | ((m_data) ? static_cast<void>(0) : qt_assert("m_data", __FILE__, 498)); | - | 
| 149 | return executed 34190 times by 24 testsstatic_cast<const QSGRenderer *>(m_data)->devicePixelRatio();:  return static_cast<const QSGRenderer *>(m_data)->devicePixelRatio();Executed by:tst_examplestst_flickableinteroptst_qquickdraghandlertst_qquickflickabletst_qquickfocusscopetst_qquickfontloadertst_qquickfontloader_statictst_qquickgridviewtst_qquickitemtst_qquickitem2tst_qquicklayoutstst_qquicklistviewtst_qquickmouseareatst_qquickpathviewtst_qquickpinchareatst_qquickpositionerstst_qquickrepeatertst_qquickspringanimationtst_qquicktaphandlertst_qquicktexttst_qquicktextedittst_qquicktextinputtst_scenegraphtst_touchmouse
 executed 34190 times by 24 tests:  return static_cast<const QSGRenderer *>(m_data)->devicePixelRatio();Executed by:tst_examplestst_flickableinteroptst_qquickdraghandlertst_qquickflickabletst_qquickfocusscopetst_qquickfontloadertst_qquickfontloader_statictst_qquickgridviewtst_qquickitemtst_qquickitem2tst_qquicklayoutstst_qquicklistviewtst_qquickmouseareatst_qquickpathviewtst_qquickpinchareatst_qquickpositionerstst_qquickrepeatertst_qquickspringanimationtst_qquicktaphandlertst_qquicktexttst_qquicktextedittst_qquicktextinputtst_scenegraphtst_touchmouse
 | 34190 | 
| 150 | } | - | 
| 151 | QMatrix4x4 QSGMaterialShader::RenderState::modelViewMatrix() const | - | 
| 152 | { | - | 
| 153 | ((m_data) ? static_cast<void>(0) : qt_assert("m_data", __FILE__, 524)); | - | 
| 154 | return never executed: static_cast<const QSGRenderer *>(m_data)->currentModelViewMatrix();return static_cast<const QSGRenderer *>(m_data)->currentModelViewMatrix(); never executed: return static_cast<const QSGRenderer *>(m_data)->currentModelViewMatrix(); | 0 | 
| 155 | } | - | 
| 156 |  | - | 
| 157 |  | - | 
| 158 |  | - | 
| 159 |  | - | 
| 160 |  | - | 
| 161 | QMatrix4x4 QSGMaterialShader::RenderState::projectionMatrix() const | - | 
| 162 | { | - | 
| 163 | ((m_data) ? static_cast<void>(0) : qt_assert("m_data", __FILE__, 534)); | - | 
| 164 | return never executed: static_cast<const QSGRenderer *>(m_data)->currentProjectionMatrix();return static_cast<const QSGRenderer *>(m_data)->currentProjectionMatrix(); never executed: return static_cast<const QSGRenderer *>(m_data)->currentProjectionMatrix(); | 0 | 
| 165 | } | - | 
| 166 |  | - | 
| 167 |  | - | 
| 168 |  | - | 
| 169 |  | - | 
| 170 |  | - | 
| 171 |  | - | 
| 172 |  | - | 
| 173 | QRect QSGMaterialShader::RenderState::viewportRect() const | - | 
| 174 | { | - | 
| 175 | ((m_data) ? static_cast<void>(0) : qt_assert("m_data", __FILE__, 546)); | - | 
| 176 | return executed 35688 times by 26 testsstatic_cast<const QSGRenderer *>(m_data)->viewportRect();:  return static_cast<const QSGRenderer *>(m_data)->viewportRect();Executed by:tst_examplestst_flickableinteroptst_multipointtoucharea_interoptst_qquickdraghandlertst_qquickflickabletst_qquickfocusscopetst_qquickfontloadertst_qquickfontloader_statictst_qquickgridviewtst_qquickitemtst_qquickitem2tst_qquicklayoutstst_qquicklistviewtst_qquickmouseareatst_qquickmultipointtouchareatst_qquickpathviewtst_qquickpinchareatst_qquickpositionerstst_qquickrepeatertst_qquickspringanimationtst_qquicktaphandlertst_qquicktexttst_qquicktextedittst_qquicktextinputtst_scenegraph...
 executed 35688 times by 26 tests:  return static_cast<const QSGRenderer *>(m_data)->viewportRect();Executed by:tst_examplestst_flickableinteroptst_multipointtoucharea_interoptst_qquickdraghandlertst_qquickflickabletst_qquickfocusscopetst_qquickfontloadertst_qquickfontloader_statictst_qquickgridviewtst_qquickitemtst_qquickitem2tst_qquicklayoutstst_qquicklistviewtst_qquickmouseareatst_qquickmultipointtouchareatst_qquickpathviewtst_qquickpinchareatst_qquickpositionerstst_qquickrepeatertst_qquickspringanimationtst_qquicktaphandlertst_qquicktexttst_qquicktextedittst_qquicktextinputtst_scenegraph...
 | 35688 | 
| 177 | } | - | 
| 178 |  | - | 
| 179 |  | - | 
| 180 |  | - | 
| 181 |  | - | 
| 182 |  | - | 
| 183 |  | - | 
| 184 |  | - | 
| 185 | QRect QSGMaterialShader::RenderState::deviceRect() const | - | 
| 186 | { | - | 
| 187 | ((m_data) ? static_cast<void>(0) : qt_assert("m_data", __FILE__, 558)); | - | 
| 188 | return never executed: static_cast<const QSGRenderer *>(m_data)->deviceRect();return static_cast<const QSGRenderer *>(m_data)->deviceRect(); never executed: return static_cast<const QSGRenderer *>(m_data)->deviceRect(); | 0 | 
| 189 | } | - | 
| 190 |  | - | 
| 191 |  | - | 
| 192 |  | - | 
| 193 |  | - | 
| 194 |  | - | 
| 195 |  | - | 
| 196 |  | - | 
| 197 | QOpenGLContext *QSGMaterialShader::RenderState::context() const | - | 
| 198 | { | - | 
| 199 |  | - | 
| 200 | auto openGLRenderContext = static_cast<const QSGDefaultRenderContext *>(static_cast<const QSGRenderer *>(m_data)->context()); | - | 
| 201 | if (openGLRenderContext != nullptr )| TRUE | evaluated 84778 times by 33 tests Evaluated by:tst_examplestst_flickableinteroptst_qquickanimatedimagetst_qquickborderimagetst_qquickcustomparticletst_qquickdraghandlertst_qquickflickabletst_qquickfocusscopetst_qquickfontloadertst_qquickfontloader_statictst_qquickframebufferobjecttst_qquickgridviewtst_qquickimagetst_qquickitemtst_qquickitem2tst_qquickitemlayertst_qquickitemparticletst_qquicklayoutstst_qquicklistviewtst_qquickmouseareatst_qquickpainteditemtst_qquickpathviewtst_qquickpinchareatst_qquickpositionerstst_qquickrepeater...
 |  | FALSE | never evaluated | 
 | 0-84778 | 
| 202 | return executed 84778 times by 33 testsopenGLRenderContext->openglContext();:  return openGLRenderContext->openglContext();Executed by:tst_examplestst_flickableinteroptst_qquickanimatedimagetst_qquickborderimagetst_qquickcustomparticletst_qquickdraghandlertst_qquickflickabletst_qquickfocusscopetst_qquickfontloadertst_qquickfontloader_statictst_qquickframebufferobjecttst_qquickgridviewtst_qquickimagetst_qquickitemtst_qquickitem2tst_qquickitemlayertst_qquickitemparticletst_qquicklayoutstst_qquicklistviewtst_qquickmouseareatst_qquickpainteditemtst_qquickpathviewtst_qquickpinchareatst_qquickpositionerstst_qquickrepeater...
 executed 84778 times by 33 tests:  return openGLRenderContext->openglContext();Executed by:tst_examplestst_flickableinteroptst_qquickanimatedimagetst_qquickborderimagetst_qquickcustomparticletst_qquickdraghandlertst_qquickflickabletst_qquickfocusscopetst_qquickfontloadertst_qquickfontloader_statictst_qquickframebufferobjecttst_qquickgridviewtst_qquickimagetst_qquickitemtst_qquickitem2tst_qquickitemlayertst_qquickitemparticletst_qquicklayoutstst_qquicklistviewtst_qquickmouseareatst_qquickpainteditemtst_qquickpathviewtst_qquickpinchareatst_qquickpositionerstst_qquickrepeater...
 | 84778 | 
| 203 | else | - | 
| 204 | return never executed: nullptr;return nullptr; never executed: return nullptr; | 0 | 
| 205 | } | - | 
| 206 |  | - | 
| 207 |  | - | 
| 208 |  | - | 
| 209 |  | - | 
| 210 | static int qt_material_count = 0; | - | 
| 211 |  | - | 
| 212 | static void qt_print_material_count() | - | 
| 213 | { | - | 
| 214 | QMessageLogger(__FILE__, 585, __PRETTY_FUNCTION__).debug("Number of leaked materials: %i", qt_material_count); | - | 
| 215 | qt_material_count = -1; | - | 
| 216 | } never executed: end of block | 0 | 
| 217 | QSGMaterial::QSGMaterial() | - | 
| 218 | : m_flags(nullptr) | - | 
| 219 | { | - | 
| 220 | (void)m_reserved;; | - | 
| 221 |  | - | 
| 222 | if (qsg_leak_check ) {| TRUE | never evaluated |  | FALSE | evaluated 610546 times by 72 tests Evaluated by:tst_drawingmodestst_examplestst_flickableinteroptst_multipointtoucharea_interoptst_nodestesttst_qqmltypeloadertst_qquickagetst_qquickangleddirectiontst_qquickanimatedimagetst_qquickanimatedspritetst_qquickanimationcontrollertst_qquickborderimagetst_qquickcumulativedirectiontst_qquickcustomaffectortst_qquickcustomparticletst_qquickdraghandlertst_qquickellipseextrudertst_qquickflickabletst_qquickfocusscopetst_qquickfontloadertst_qquickfontloader_statictst_qquickframebufferobjecttst_qquickfrictiontst_qquickgravitytst_qquickgridview...
 | 
 | 0-610546 | 
| 223 | ++qt_material_count; | - | 
| 224 | static bool atexit_registered = false; | - | 
| 225 | if (!atexit_registered ) {| TRUE | never evaluated |  | FALSE | never evaluated | 
 | 0 | 
| 226 | atexit(qt_print_material_count); | - | 
| 227 | atexit_registered = true; | - | 
| 228 | } never executed: end of block | 0 | 
| 229 | } never executed: end of block | 0 | 
| 230 |  | - | 
| 231 | } executed 610546 times by 72 tests:  end of blockExecuted by:tst_drawingmodestst_examplestst_flickableinteroptst_multipointtoucharea_interoptst_nodestesttst_qqmltypeloadertst_qquickagetst_qquickangleddirectiontst_qquickanimatedimagetst_qquickanimatedspritetst_qquickanimationcontrollertst_qquickborderimagetst_qquickcumulativedirectiontst_qquickcustomaffectortst_qquickcustomparticletst_qquickdraghandlertst_qquickellipseextrudertst_qquickflickabletst_qquickfocusscopetst_qquickfontloadertst_qquickfontloader_statictst_qquickframebufferobjecttst_qquickfrictiontst_qquickgravitytst_qquickgridview...
 | 610546 | 
| 232 |  | - | 
| 233 |  | - | 
| 234 |  | - | 
| 235 |  | - | 
| 236 |  | - | 
| 237 |  | - | 
| 238 | QSGMaterial::~QSGMaterial() | - | 
| 239 | { | - | 
| 240 |  | - | 
| 241 | if (qsg_leak_check ) {| TRUE | never evaluated |  | FALSE | evaluated 610546 times by 72 tests Evaluated by:tst_drawingmodestst_examplestst_flickableinteroptst_multipointtoucharea_interoptst_nodestesttst_qqmltypeloadertst_qquickagetst_qquickangleddirectiontst_qquickanimatedimagetst_qquickanimatedspritetst_qquickanimationcontrollertst_qquickborderimagetst_qquickcumulativedirectiontst_qquickcustomaffectortst_qquickcustomparticletst_qquickdraghandlertst_qquickellipseextrudertst_qquickflickabletst_qquickfocusscopetst_qquickfontloadertst_qquickfontloader_statictst_qquickframebufferobjecttst_qquickfrictiontst_qquickgravitytst_qquickgridview...
 | 
 | 0-610546 | 
| 242 | --qt_material_count; | - | 
| 243 | if (qt_material_count < 0 )| TRUE | never evaluated |  | FALSE | never evaluated | 
 | 0 | 
| 244 | QMessageLogger(__FILE__, 670, __PRETTY_FUNCTION__).debug("Material destroyed after qt_print_material_count() was called."); never executed: QMessageLogger(__FILE__, 670, __PRETTY_FUNCTION__).debug("Material destroyed after qt_print_material_count() was called."); | 0 | 
| 245 | } never executed: end of block | 0 | 
| 246 |  | - | 
| 247 | } executed 610546 times by 72 tests:  end of blockExecuted by:tst_drawingmodestst_examplestst_flickableinteroptst_multipointtoucharea_interoptst_nodestesttst_qqmltypeloadertst_qquickagetst_qquickangleddirectiontst_qquickanimatedimagetst_qquickanimatedspritetst_qquickanimationcontrollertst_qquickborderimagetst_qquickcumulativedirectiontst_qquickcustomaffectortst_qquickcustomparticletst_qquickdraghandlertst_qquickellipseextrudertst_qquickflickabletst_qquickfocusscopetst_qquickfontloadertst_qquickfontloader_statictst_qquickframebufferobjecttst_qquickfrictiontst_qquickgravitytst_qquickgridview...
 | 610546 | 
| 248 | void QSGMaterial::setFlag(Flags flags, bool on) | - | 
| 249 | { | - | 
| 250 | if (on )| TRUE | evaluated 487220 times by 70 tests Evaluated by:tst_drawingmodestst_examplestst_flickableinteroptst_multipointtoucharea_interoptst_qqmltypeloadertst_qquickagetst_qquickangleddirectiontst_qquickanimatedimagetst_qquickanimatedspritetst_qquickanimationcontrollertst_qquickborderimagetst_qquickcumulativedirectiontst_qquickcustomaffectortst_qquickcustomparticletst_qquickdraghandlertst_qquickellipseextrudertst_qquickflickabletst_qquickfocusscopetst_qquickfontloadertst_qquickfontloader_statictst_qquickframebufferobjecttst_qquickfrictiontst_qquickgravitytst_qquickgridviewtst_qquickgroupgoal...
 |  | FALSE | evaluated 269307 times by 69 tests Evaluated by:tst_drawingmodestst_examplestst_flickableinteroptst_multipointtoucharea_interoptst_nodestesttst_qqmltypeloadertst_qquickagetst_qquickangleddirectiontst_qquickanimatedimagetst_qquickanimatedspritetst_qquickanimationcontrollertst_qquickborderimagetst_qquickcumulativedirectiontst_qquickcustomaffectortst_qquickcustomparticletst_qquickdraghandlertst_qquickellipseextrudertst_qquickflickabletst_qquickfocusscopetst_qquickfontloadertst_qquickfontloader_statictst_qquickfrictiontst_qquickgravitytst_qquickgridviewtst_qquickgroupgoal...
 | 
 | 269307-487220 | 
| 251 | m_flags |= flags; executed 487220 times by 70 tests:  m_flags |= flags;Executed by:tst_drawingmodestst_examplestst_flickableinteroptst_multipointtoucharea_interoptst_qqmltypeloadertst_qquickagetst_qquickangleddirectiontst_qquickanimatedimagetst_qquickanimatedspritetst_qquickanimationcontrollertst_qquickborderimagetst_qquickcumulativedirectiontst_qquickcustomaffectortst_qquickcustomparticletst_qquickdraghandlertst_qquickellipseextrudertst_qquickflickabletst_qquickfocusscopetst_qquickfontloadertst_qquickfontloader_statictst_qquickframebufferobjecttst_qquickfrictiontst_qquickgravitytst_qquickgridviewtst_qquickgroupgoal...
 | 487220 | 
| 252 | else | - | 
| 253 | m_flags &= ~flags; executed 269307 times by 69 tests:  m_flags &= ~flags;Executed by:tst_drawingmodestst_examplestst_flickableinteroptst_multipointtoucharea_interoptst_nodestesttst_qqmltypeloadertst_qquickagetst_qquickangleddirectiontst_qquickanimatedimagetst_qquickanimatedspritetst_qquickanimationcontrollertst_qquickborderimagetst_qquickcumulativedirectiontst_qquickcustomaffectortst_qquickcustomparticletst_qquickdraghandlertst_qquickellipseextrudertst_qquickflickabletst_qquickfocusscopetst_qquickfontloadertst_qquickfontloader_statictst_qquickfrictiontst_qquickgravitytst_qquickgridviewtst_qquickgroupgoal...
 | 269307 | 
| 254 | } | - | 
| 255 | int QSGMaterial::compare(const QSGMaterial *other) const | - | 
| 256 | { | - | 
| 257 | ((other && type() == other->type()) ? static_cast<void>(0) : qt_assert("other && type() == other->type()", __FILE__, 736)); | - | 
| 258 | return executed 2025 times by 5 testsqint64(this) - qint64(other);:  return qint64(this) - qint64(other);Executed by:tst_qquickellipseextrudertst_qquickfrictiontst_qquicklineextrudertst_qquickrectangleextrudertst_qquicktrailemitter
 executed 2025 times by 5 tests:  return qint64(this) - qint64(other);Executed by:tst_qquickellipseextrudertst_qquickfrictiontst_qquicklineextrudertst_qquickrectangleextrudertst_qquicktrailemitter
 | 2025 | 
| 259 | } | - | 
| 260 |  | - | 
|  |  |  |