mpviewplugins/mpdetailsviewplugin/tsrc/unittest_mpsongdata/profile.txt
changeset 43 0f32e550d9d8
parent 38 b93f525c9244
child 45 612c4815aebe
equal deleted inserted replaced
38:b93f525c9244 43:0f32e550d9d8
     1 *****************************************************************************
       
     2 *           CTC++, Test Coverage Analyzer for C/C++, Version 6.5.5          *
       
     3 *                                                                           *
       
     4 *                         EXECUTION PROFILE LISTING                         *
       
     5 *                                                                           *
       
     6 *                    Copyright (c) 1993-2009 Testwell Oy                    *
       
     7 *****************************************************************************
       
     8 
       
     9 
       
    10 Symbol file(s) used   : MON.sym (Fri Mar 12 15:16:31 2010)
       
    11 Data file(s) used     : MON.dat (Fri Mar 12 15:56:49 2010)
       
    12 Listing produced at   : Fri Mar 12 15:59:17 2010
       
    13 Coverage view         : As instrumented
       
    14 
       
    15 
       
    16 
       
    17 MONITORED SOURCE FILE : Z:/musicplayer/mpviewplugins/mpdetailsviewplugin/tsrc/unittest_mpsongdata/moc_thumbnailmanager_qt.cpp
       
    18 INSTRUMENTATION MODE  : function-decision
       
    19 
       
    20     START/       END/
       
    21       TRUE      FALSE    LINE DESCRIPTION
       
    22 =============================================================================
       
    23 
       
    24          0          0 -    50 FUNCTION ThumbnailManager::getStaticMetaObject()
       
    25          0            -    50 return staticMetaObject
       
    26 
       
    27 ***TER   0 % (  0/  2) of FUNCTION ThumbnailManager::getStaticMetaObject()
       
    28 -----------------------------------------------------------------------------
       
    29 
       
    30         67          0      53 FUNCTION ThumbnailManager::metaObject()
       
    31          0         67 -    55 ternary-?: QObject::d_ptr -> metaObject
       
    32         67                 55 return QObject::d_ptr -> metaObject ? QObject:..
       
    33 
       
    34 ***TER  75 % (  3/  4) of FUNCTION ThumbnailManager::metaObject()
       
    35 -----------------------------------------------------------------------------
       
    36 
       
    37          0          0 -    58 FUNCTION ThumbnailManager::qt_metacast()
       
    38          0          0 -    60 if (! _clname)
       
    39          0            -    60   return 0
       
    40          0          0 -    61 if (! strcmp ( _clname , qt_meta_stringdata_Th..
       
    41          0            -    62   return static_cast < void * > ( const_cast <..
       
    42          0            -    63 return QObject::qt_metacast ( _clname )
       
    43 
       
    44 ***TER   0 % (  0/  8) of FUNCTION ThumbnailManager::qt_metacast()
       
    45 -----------------------------------------------------------------------------
       
    46 
       
    47          2          0      66 FUNCTION ThumbnailManager::qt_metacall()
       
    48          0          2 -    69 if (_id < 0)
       
    49          0            -    70   return _id
       
    50          2          0 -    71 if (_c == QMetaObject::InvokeMetaMethod)
       
    51                            72   switch ( _id )
       
    52          2                 73   case 0:
       
    53          2                 73     break
       
    54          0            -    74   default:
       
    55          2                 78 return _id
       
    56 
       
    57 ***TER  60 % (  6/ 10) of FUNCTION ThumbnailManager::qt_metacall()
       
    58 -----------------------------------------------------------------------------
       
    59 
       
    60          2          2      82 FUNCTION ThumbnailManager::thumbnailReady()
       
    61 
       
    62 ***TER 100 % (  1/  1) of FUNCTION ThumbnailManager::thumbnailReady()
       
    63 -----------------------------------------------------------------------------
       
    64 
       
    65 
       
    66 ***TER  40 % ( 10/ 25) of SOURCE FILE Z:/musicplayer/mpviewplugins/mpdetailsviewplugin/tsrc/unittest_mpsongdata/moc_thumbnailmanager_qt.cpp
       
    67 -----------------------------------------------------------------------------
       
    68 
       
    69 
       
    70 
       
    71 MONITORED SOURCE FILE : Z:/musicplayer/mpviewplugins/mpdetailsviewplugin/tsrc/unittest_mpsongdata/moc_mpsongdata.cpp
       
    72 INSTRUMENTATION MODE  : function-decision
       
    73 
       
    74     START/       END/
       
    75       TRUE      FALSE    LINE DESCRIPTION
       
    76 =============================================================================
       
    77 
       
    78          0          0 -    72 FUNCTION MpSongData::getStaticMetaObject()
       
    79          0            -    72 return staticMetaObject
       
    80 
       
    81 ***TER   0 % (  0/  2) of FUNCTION MpSongData::getStaticMetaObject()
       
    82 -----------------------------------------------------------------------------
       
    83 
       
    84         41          0      75 FUNCTION MpSongData::metaObject()
       
    85          0         41 -    77 ternary-?: QObject::d_ptr -> metaObject
       
    86         41                 77 return QObject::d_ptr -> metaObject ? QObject:..
       
    87 
       
    88 ***TER  75 % (  3/  4) of FUNCTION MpSongData::metaObject()
       
    89 -----------------------------------------------------------------------------
       
    90 
       
    91          0          0 -    80 FUNCTION MpSongData::qt_metacast()
       
    92          0          0 -    82 if (! _clname)
       
    93          0            -    82   return 0
       
    94          0          0 -    83 if (! strcmp ( _clname , qt_meta_stringdata_Mp..
       
    95          0            -    84   return static_cast < void * > ( const_cast <..
       
    96          0            -    85 return QObject::qt_metacast ( _clname )
       
    97 
       
    98 ***TER   0 % (  0/  8) of FUNCTION MpSongData::qt_metacast()
       
    99 -----------------------------------------------------------------------------
       
   100 
       
   101          2          0      88 FUNCTION MpSongData::qt_metacall()
       
   102          0          2 -    91 if (_id < 0)
       
   103          0            -    92   return _id
       
   104          2          0 -    93 if (_c == QMetaObject::InvokeMetaMethod)
       
   105                            94   switch ( _id )
       
   106          0            -    95   case 0:
       
   107          0            -    95     break
       
   108          0            -    96   case 1:
       
   109          0            -    96     break
       
   110          0            -    97   case 2:
       
   111          0            -    97     break
       
   112          2                 98   case 3:
       
   113          2                 98     break
       
   114          0            -    99   case 4:
       
   115          0          0 -   100       if (_a [ 0 ])
       
   116          0            -   100     break
       
   117          0            -   101   case 5:
       
   118          0          0 -   102       if (_a [ 0 ])
       
   119          0            -   102     break
       
   120          0            -   103   case 6:
       
   121          0          0 -   104       if (_a [ 0 ])
       
   122          0            -   104     break
       
   123          0            -   105   case 7:
       
   124          0          0 -   106       if (_a [ 0 ])
       
   125          0            -   106     break
       
   126          0            -   107   case 8:
       
   127          0          0 -   108       if (_a [ 0 ])
       
   128          0            -   108     break
       
   129          0            -   109   case 9:
       
   130          0            -   109     break
       
   131          0            -   110   case 10:
       
   132          0          0 -   111       if (_a [ 0 ])
       
   133          0            -   111     break
       
   134          0            -   112   case 11:
       
   135          0          0 -   113       if (_a [ 0 ])
       
   136          0            -   113     break
       
   137          0            -   114   case 12:
       
   138          0          0 -   115       if (_a [ 0 ])
       
   139          0            -   115     break
       
   140          0            -   116   case 13:
       
   141          0          0 -   117       if (_a [ 0 ])
       
   142          0            -   117     break
       
   143          0            -   118   case 14:
       
   144          0          0 -   119       if (_a [ 0 ])
       
   145          0            -   119     break
       
   146          0            -   120   default:
       
   147          2                124 return _id
       
   148 
       
   149 ***TER  10 % (  6/ 58) of FUNCTION MpSongData::qt_metacall()
       
   150 -----------------------------------------------------------------------------
       
   151 
       
   152          4          4     128 FUNCTION MpSongData::albumArtReady()
       
   153 
       
   154 ***TER 100 % (  1/  1) of FUNCTION MpSongData::albumArtReady()
       
   155 -----------------------------------------------------------------------------
       
   156 
       
   157          1          1     134 FUNCTION MpSongData::playbackInfoChanged()
       
   158 
       
   159 ***TER 100 % (  1/  1) of FUNCTION MpSongData::playbackInfoChanged()
       
   160 -----------------------------------------------------------------------------
       
   161 
       
   162          1          1     140 FUNCTION MpSongData::songDetailInfoChanged()
       
   163 
       
   164 ***TER 100 % (  1/  1) of FUNCTION MpSongData::songDetailInfoChanged()
       
   165 -----------------------------------------------------------------------------
       
   166 
       
   167 
       
   168 ***TER  16 % ( 12/ 75) of SOURCE FILE Z:/musicplayer/mpviewplugins/mpdetailsviewplugin/tsrc/unittest_mpsongdata/moc_mpsongdata.cpp
       
   169 -----------------------------------------------------------------------------
       
   170 
       
   171 
       
   172 
       
   173 MONITORED SOURCE FILE : Z:/musicplayer/mpviewplugins/mpdetailsviewplugin/src/mpsongdata.cpp
       
   174 INSTRUMENTATION MODE  : function-decision
       
   175 
       
   176     START/       END/
       
   177       TRUE      FALSE    LINE DESCRIPTION
       
   178 =============================================================================
       
   179 
       
   180         33         33      62 FUNCTION MpSongData::MpSongData()
       
   181 
       
   182 ***TER 100 % (  1/  1) of FUNCTION MpSongData::MpSongData()
       
   183 -----------------------------------------------------------------------------
       
   184 
       
   185         33         33      88 FUNCTION MpSongData::~MpSongData()
       
   186         33          0 -    91 if (mThumbnailManager)
       
   187 
       
   188 ***TER  67 % (  2/  3) of FUNCTION MpSongData::~MpSongData()
       
   189 -----------------------------------------------------------------------------
       
   190 
       
   191          2          2     100 FUNCTION MpSongData::albumArt()
       
   192          0          2 -   103 if (! mAlbumArt . isNull ( ))
       
   193                           106 else
       
   194 
       
   195 ***TER  67 % (  2/  3) of FUNCTION MpSongData::albumArt()
       
   196 -----------------------------------------------------------------------------
       
   197 
       
   198          0          0 -   116 FUNCTION MpSongData::title()
       
   199          0            -   119 return mTitle
       
   200 
       
   201 ***TER   0 % (  0/  2) of FUNCTION MpSongData::title()
       
   202 -----------------------------------------------------------------------------
       
   203 
       
   204          0          0 -   125 FUNCTION MpSongData::album()
       
   205          0            -   128 return mAlbum
       
   206 
       
   207 ***TER   0 % (  0/  2) of FUNCTION MpSongData::album()
       
   208 -----------------------------------------------------------------------------
       
   209 
       
   210          0          0 -   134 FUNCTION MpSongData::artist()
       
   211          0            -   137 return mArtist
       
   212 
       
   213 ***TER   0 % (  0/  2) of FUNCTION MpSongData::artist()
       
   214 -----------------------------------------------------------------------------
       
   215 
       
   216          0          0 -   143 FUNCTION MpSongData::comment()
       
   217          0            -   146 return mComment
       
   218 
       
   219 ***TER   0 % (  0/  2) of FUNCTION MpSongData::comment()
       
   220 -----------------------------------------------------------------------------
       
   221 
       
   222          0          0 -   152 FUNCTION MpSongData::composer()
       
   223          0            -   155 return mComposer
       
   224 
       
   225 ***TER   0 % (  0/  2) of FUNCTION MpSongData::composer()
       
   226 -----------------------------------------------------------------------------
       
   227 
       
   228          0          0 -   162 FUNCTION MpSongData::genre()
       
   229          0            -   165 return mGenre
       
   230 
       
   231 ***TER   0 % (  0/  2) of FUNCTION MpSongData::genre()
       
   232 -----------------------------------------------------------------------------
       
   233 
       
   234          0          0 -   172 FUNCTION MpSongData::albumTrack()
       
   235          0            -   175 return mAlbumTrack
       
   236 
       
   237 ***TER   0 % (  0/  2) of FUNCTION MpSongData::albumTrack()
       
   238 -----------------------------------------------------------------------------
       
   239 
       
   240          0          0 -   181 FUNCTION MpSongData::link()
       
   241          0            -   184 return mLink
       
   242 
       
   243 ***TER   0 % (  0/  2) of FUNCTION MpSongData::link()
       
   244 -----------------------------------------------------------------------------
       
   245 
       
   246          0          0 -   190 FUNCTION MpSongData::year()
       
   247          0            -   193 return mYear
       
   248 
       
   249 ***TER   0 % (  0/  2) of FUNCTION MpSongData::year()
       
   250 -----------------------------------------------------------------------------
       
   251 
       
   252          2          0     200 FUNCTION MpSongData::setTitle()
       
   253          1          1     204 if (title != mTitle)
       
   254          2                209 return change
       
   255 
       
   256 ***TER 100 % (  4/  4) of FUNCTION MpSongData::setTitle()
       
   257 -----------------------------------------------------------------------------
       
   258 
       
   259          2          0     215 FUNCTION MpSongData::setAlbum()
       
   260          1          1     219 if (album != mAlbum)
       
   261          2                224 return change
       
   262 
       
   263 ***TER 100 % (  4/  4) of FUNCTION MpSongData::setAlbum()
       
   264 -----------------------------------------------------------------------------
       
   265 
       
   266          2          0     230 FUNCTION MpSongData::setArtist()
       
   267          1          1     234 if (artist != mArtist)
       
   268          2                239 return change
       
   269 
       
   270 ***TER 100 % (  4/  4) of FUNCTION MpSongData::setArtist()
       
   271 -----------------------------------------------------------------------------
       
   272 
       
   273          2          0     245 FUNCTION MpSongData::setComment()
       
   274          1          1     249 if (comment != mComment)
       
   275          2                254 return change
       
   276 
       
   277 ***TER 100 % (  4/  4) of FUNCTION MpSongData::setComment()
       
   278 -----------------------------------------------------------------------------
       
   279 
       
   280          2          0     261 FUNCTION MpSongData::setComposer()
       
   281          1          1     265 if (composer != mComposer)
       
   282          2                270 return change
       
   283 
       
   284 ***TER 100 % (  4/  4) of FUNCTION MpSongData::setComposer()
       
   285 -----------------------------------------------------------------------------
       
   286 
       
   287          2          0     276 FUNCTION MpSongData::setGenre()
       
   288          1          1     280 if (genre != mGenre)
       
   289          2                285 return change
       
   290 
       
   291 ***TER 100 % (  4/  4) of FUNCTION MpSongData::setGenre()
       
   292 -----------------------------------------------------------------------------
       
   293 
       
   294          1          0     292 FUNCTION MpSongData::setYear()
       
   295          1          0 -   296 if (QString::number ( year ) != mYear)
       
   296          1          0 -   298   if (year >= 0 && year < 9999)
       
   297                           300   else
       
   298          1                305 return change
       
   299 
       
   300 ***TER  67 % (  4/  6) of FUNCTION MpSongData::setYear()
       
   301 -----------------------------------------------------------------------------
       
   302 
       
   303          2          0     311 FUNCTION MpSongData::setAlbumTrack()
       
   304          1          1     315 if (track != mAlbumTrack)
       
   305          2                320 return change
       
   306 
       
   307 ***TER 100 % (  4/  4) of FUNCTION MpSongData::setAlbumTrack()
       
   308 -----------------------------------------------------------------------------
       
   309 
       
   310          0          0 -   326 FUNCTION MpSongData::setLink()
       
   311 
       
   312 ***TER   0 % (  0/  1) of FUNCTION MpSongData::setLink()
       
   313 -----------------------------------------------------------------------------
       
   314 
       
   315          3          3     336 FUNCTION MpSongData::setAlbumArtUri()
       
   316          2          1     339 if (! albumArtUri . isEmpty ( ))
       
   317          1          1     341   if (mReqId != KUndefined)
       
   318          2          0 -   345   if (ok)
       
   319          1          1     347     if (mReqId == KUndefined)
       
   320                           354 else
       
   321 
       
   322 ***TER  89 % (  8/  9) of FUNCTION MpSongData::setAlbumArtUri()
       
   323 -----------------------------------------------------------------------------
       
   324 
       
   325          2          2     366 FUNCTION MpSongData::thumbnailReady()
       
   326          1          1     374 if (error == 0 && mReqId == id)
       
   327                           379 else
       
   328 
       
   329 ***TER 100 % (  3/  3) of FUNCTION MpSongData::thumbnailReady()
       
   330 -----------------------------------------------------------------------------
       
   331 
       
   332          1          1     391 FUNCTION MpSongData::commitPlaybackInfo()
       
   333 
       
   334 ***TER 100 % (  1/  1) of FUNCTION MpSongData::commitPlaybackInfo()
       
   335 -----------------------------------------------------------------------------
       
   336 
       
   337          1          1     401 FUNCTION MpSongData::commitSongDetailInfo()
       
   338 
       
   339 ***TER 100 % (  1/  1) of FUNCTION MpSongData::commitSongDetailInfo()
       
   340 -----------------------------------------------------------------------------
       
   341 
       
   342 
       
   343 ***TER  68 % ( 50/ 74) of SOURCE FILE Z:/musicplayer/mpviewplugins/mpdetailsviewplugin/src/mpsongdata.cpp
       
   344 -----------------------------------------------------------------------------
       
   345 
       
   346 
       
   347 
       
   348 MONITORED SOURCE FILE : Z:/musicplayer/mpviewplugins/mpdetailsviewplugin/tsrc/unittest_mpsongdata/moc_unittest_mpsongdata.cpp
       
   349 INSTRUMENTATION MODE  : function-decision
       
   350 
       
   351     START/       END/
       
   352       TRUE      FALSE    LINE DESCRIPTION
       
   353 =============================================================================
       
   354 
       
   355          0          0 -   106 FUNCTION TestMpSongData::getStaticMetaObject()
       
   356          0            -   106 return staticMetaObject
       
   357 
       
   358 ***TER   0 % (  0/  2) of FUNCTION TestMpSongData::getStaticMetaObject()
       
   359 -----------------------------------------------------------------------------
       
   360 
       
   361        364          0     109 FUNCTION TestMpSongData::metaObject()
       
   362          0        364 -   111 ternary-?: QObject::d_ptr -> metaObject
       
   363        364                111 return QObject::d_ptr -> metaObject ? QObject:..
       
   364 
       
   365 ***TER  75 % (  3/  4) of FUNCTION TestMpSongData::metaObject()
       
   366 -----------------------------------------------------------------------------
       
   367 
       
   368          0          0 -   114 FUNCTION TestMpSongData::qt_metacast()
       
   369          0          0 -   116 if (! _clname)
       
   370          0            -   116   return 0
       
   371          0          0 -   117 if (! strcmp ( _clname , qt_meta_stringdata_Te..
       
   372          0            -   118   return static_cast < void * > ( const_cast <..
       
   373          0            -   119 return QObject::qt_metacast ( _clname )
       
   374 
       
   375 ***TER   0 % (  0/  8) of FUNCTION TestMpSongData::qt_metacast()
       
   376 -----------------------------------------------------------------------------
       
   377 
       
   378         98          0     122 FUNCTION TestMpSongData::qt_metacall()
       
   379          0         98 -   125 if (_id < 0)
       
   380          0            -   126   return _id
       
   381         98          0 -   127 if (_c == QMetaObject::InvokeMetaMethod)
       
   382                           128   switch ( _id )
       
   383          0            -   129   case 0:
       
   384          0            -   129     break
       
   385          1                130   case 1:
       
   386          1                130     break
       
   387          1                131   case 2:
       
   388          1                131     break
       
   389         32                132   case 3:
       
   390         32                132     break
       
   391         32                133   case 4:
       
   392         32                133     break
       
   393          1                134   case 5:
       
   394          1                134     break
       
   395          1                135   case 6:
       
   396          1                135     break
       
   397          1                136   case 7:
       
   398          1                136     break
       
   399          1                137   case 8:
       
   400          1                137     break
       
   401          1                138   case 9:
       
   402          1                138     break
       
   403          1                139   case 10:
       
   404          1                139     break
       
   405          1                140   case 11:
       
   406          1                140     break
       
   407          1                141   case 12:
       
   408          1                141     break
       
   409          1                142   case 13:
       
   410          1                142     break
       
   411          1                143   case 14:
       
   412          1                143     break
       
   413          1                144   case 15:
       
   414          1                144     break
       
   415          1                145   case 16:
       
   416          1                145     break
       
   417          1                146   case 17:
       
   418          1                146     break
       
   419          1                147   case 18:
       
   420          1                147     break
       
   421          1                148   case 19:
       
   422          1                148     break
       
   423          1                149   case 20:
       
   424          1                149     break
       
   425          1                150   case 21:
       
   426          1                150     break
       
   427          1                151   case 22:
       
   428          1                151     break
       
   429          1                152   case 23:
       
   430          1                152     break
       
   431          1                153   case 24:
       
   432          1                153     break
       
   433          1                154   case 25:
       
   434          1                154     break
       
   435          1                155   case 26:
       
   436          1                155     break
       
   437          1                156   case 27:
       
   438          1                156     break
       
   439          1                157   case 28:
       
   440          1                157     break
       
   441          1                158   case 29:
       
   442          1                158     break
       
   443          1                159   case 30:
       
   444          1                159     break
       
   445          1                160   case 31:
       
   446          1                160     break
       
   447          1                161   case 32:
       
   448          1                161     break
       
   449          1                162   case 33:
       
   450          1                162     break
       
   451          1                163   case 34:
       
   452          1                163     break
       
   453          1                164   case 35:
       
   454          1                164     break
       
   455          1                165   case 36:
       
   456          1                165     break
       
   457          0            -   166   default:
       
   458         98                170 return _id
       
   459 
       
   460 ***TER  93 % ( 76/ 82) of FUNCTION TestMpSongData::qt_metacall()
       
   461 -----------------------------------------------------------------------------
       
   462 
       
   463          2          2     174 FUNCTION TestMpSongData::thumbnailReady()
       
   464 
       
   465 ***TER 100 % (  1/  1) of FUNCTION TestMpSongData::thumbnailReady()
       
   466 -----------------------------------------------------------------------------
       
   467 
       
   468 
       
   469 ***TER  82 % ( 80/ 97) of SOURCE FILE Z:/musicplayer/mpviewplugins/mpdetailsviewplugin/tsrc/unittest_mpsongdata/moc_unittest_mpsongdata.cpp
       
   470 -----------------------------------------------------------------------------
       
   471 
       
   472 
       
   473 
       
   474 MONITORED SOURCE FILE : Z:/musicplayer/mpviewplugins/mpdetailsviewplugin/tsrc/unittest_mpsongdata/stub/src/thumbnailmanager_qt.cpp
       
   475 INSTRUMENTATION MODE  : function-decision
       
   476 
       
   477     START/       END/
       
   478       TRUE      FALSE    LINE DESCRIPTION
       
   479 =============================================================================
       
   480 
       
   481          1          0      26 FUNCTION ThumbnailManager::getInitCounter()
       
   482          1                 28 return gInitCounter
       
   483 
       
   484 ***TER 100 % (  2/  2) of FUNCTION ThumbnailManager::getInitCounter()
       
   485 -----------------------------------------------------------------------------
       
   486 
       
   487          1          1      34 FUNCTION ThumbnailManager::resetInitCounter()
       
   488 
       
   489 ***TER 100 % (  1/  1) of FUNCTION ThumbnailManager::resetInitCounter()
       
   490 -----------------------------------------------------------------------------
       
   491 
       
   492         33         33      42 FUNCTION ThumbnailManager::ThumbnailManager()
       
   493 
       
   494 ***TER 100 % (  1/  1) of FUNCTION ThumbnailManager::ThumbnailManager()
       
   495 -----------------------------------------------------------------------------
       
   496 
       
   497         33         33      54 FUNCTION ThumbnailManager::~ThumbnailManager()
       
   498 
       
   499 ***TER 100 % (  1/  1) of FUNCTION ThumbnailManager::~ThumbnailManager()
       
   500 -----------------------------------------------------------------------------
       
   501 
       
   502          0          0 -    62 FUNCTION ThumbnailManager::setMode()
       
   503          0            -    65 return true
       
   504 
       
   505 ***TER   0 % (  0/  2) of FUNCTION ThumbnailManager::setMode()
       
   506 -----------------------------------------------------------------------------
       
   507 
       
   508         33          0      71 FUNCTION ThumbnailManager::setQualityPreference()
       
   509         33                 75 return true
       
   510 
       
   511 ***TER 100 % (  2/  2) of FUNCTION ThumbnailManager::setQualityPreference()
       
   512 -----------------------------------------------------------------------------
       
   513 
       
   514         33          0      81 FUNCTION ThumbnailManager::setThumbnailSize()
       
   515         33                 84 return true
       
   516 
       
   517 ***TER 100 % (  2/  2) of FUNCTION ThumbnailManager::setThumbnailSize()
       
   518 -----------------------------------------------------------------------------
       
   519 
       
   520          2          0      90 FUNCTION ThumbnailManager::getThumbnail()
       
   521          0          2 -    96 if (clientData)
       
   522          1          1     104 if (mGetThumbFails)
       
   523          1                105   return - 1
       
   524          1                109 return mThumbnailReqCounter
       
   525 
       
   526 ***TER  86 % (  6/  7) of FUNCTION ThumbnailManager::getThumbnail()
       
   527 -----------------------------------------------------------------------------
       
   528 
       
   529          1          0     115 FUNCTION ThumbnailManager::cancelRequest()
       
   530          1                119 return true
       
   531 
       
   532 ***TER 100 % (  2/  2) of FUNCTION ThumbnailManager::cancelRequest()
       
   533 -----------------------------------------------------------------------------
       
   534 
       
   535 
       
   536 ***TER  85 % ( 17/ 20) of SOURCE FILE Z:/musicplayer/mpviewplugins/mpdetailsviewplugin/tsrc/unittest_mpsongdata/stub/src/thumbnailmanager_qt.cpp
       
   537 -----------------------------------------------------------------------------
       
   538 
       
   539 
       
   540 
       
   541 MONITORED SOURCE FILE : Z:/musicplayer/mpviewplugins/mpdetailsviewplugin/tsrc/unittest_mpsongdata/src/unittest_mpsongdata.cpp
       
   542 INSTRUMENTATION MODE  : function-decision
       
   543 
       
   544     START/       END/
       
   545       TRUE      FALSE    LINE DESCRIPTION
       
   546 =============================================================================
       
   547 
       
   548          1          0      34 FUNCTION main()
       
   549          1                 48 return res
       
   550 
       
   551 ***TER 100 % (  2/  2) of FUNCTION main()
       
   552 -----------------------------------------------------------------------------
       
   553 
       
   554          1          1      52 FUNCTION TestMpSongData::TestMpSongData()
       
   555 
       
   556 ***TER 100 % (  1/  1) of FUNCTION TestMpSongData::TestMpSongData()
       
   557 -----------------------------------------------------------------------------
       
   558 
       
   559          1          1      59 FUNCTION TestMpSongData::~TestMpSongData()
       
   560 
       
   561 ***TER 100 % (  1/  1) of FUNCTION TestMpSongData::~TestMpSongData()
       
   562 -----------------------------------------------------------------------------
       
   563 
       
   564          1          1      67 FUNCTION TestMpSongData::initTestCase()
       
   565 
       
   566 ***TER 100 % (  1/  1) of FUNCTION TestMpSongData::initTestCase()
       
   567 -----------------------------------------------------------------------------
       
   568 
       
   569          1          1      75 FUNCTION TestMpSongData::cleanupTestCase()
       
   570 
       
   571 ***TER 100 % (  1/  1) of FUNCTION TestMpSongData::cleanupTestCase()
       
   572 -----------------------------------------------------------------------------
       
   573 
       
   574         33         33      83 FUNCTION TestMpSongData::init()
       
   575 
       
   576 ***TER 100 % (  1/  1) of FUNCTION TestMpSongData::init()
       
   577 -----------------------------------------------------------------------------
       
   578 
       
   579         34         34      91 FUNCTION TestMpSongData::cleanup()
       
   580 
       
   581 ***TER 100 % (  1/  1) of FUNCTION TestMpSongData::cleanup()
       
   582 -----------------------------------------------------------------------------
       
   583 
       
   584          1          1     100 FUNCTION TestMpSongData::testMemberCleanup()
       
   585                           106 do
       
   586          0          1 -   106   if (! QTest::qCompare ( ThumbnailManager::ge..
       
   587          0            -   106     return
       
   588                           106 while ( 0 )
       
   589 
       
   590 ***TER  50 % (  2/  4) of FUNCTION TestMpSongData::testMemberCleanup()
       
   591 -----------------------------------------------------------------------------
       
   592 
       
   593          1          1     112 FUNCTION TestMpSongData::testAlbumArtIsNull()
       
   594                           116 do
       
   595          0          1 -   116   if (! QTest::qVerify ( ( dummyAlbumArt . isN..
       
   596          0            -   116     return
       
   597                           116 while ( 0 )
       
   598 
       
   599 ***TER  50 % (  2/  4) of FUNCTION TestMpSongData::testAlbumArtIsNull()
       
   600 -----------------------------------------------------------------------------
       
   601 
       
   602          1          1     123 FUNCTION TestMpSongData::testAlbumArtNotNull()
       
   603 
       
   604 ***TER 100 % (  1/  1) of FUNCTION TestMpSongData::testAlbumArtNotNull()
       
   605 -----------------------------------------------------------------------------
       
   606 
       
   607          1          1     133 FUNCTION TestMpSongData::testTitleIsNull()
       
   608                           135 do
       
   609          0          1 -   135   if (! QTest::qVerify ( ( mTest -> mTitle . i..
       
   610          0            -   135     return
       
   611                           135 while ( 0 )
       
   612 
       
   613 ***TER  50 % (  2/  4) of FUNCTION TestMpSongData::testTitleIsNull()
       
   614 -----------------------------------------------------------------------------
       
   615 
       
   616          1          1     141 FUNCTION TestMpSongData::testAlbumIsNull()
       
   617                           143 do
       
   618          0          1 -   143   if (! QTest::qVerify ( ( mTest -> mAlbum . i..
       
   619          0            -   143     return
       
   620                           143 while ( 0 )
       
   621 
       
   622 ***TER  50 % (  2/  4) of FUNCTION TestMpSongData::testAlbumIsNull()
       
   623 -----------------------------------------------------------------------------
       
   624 
       
   625          1          1     149 FUNCTION TestMpSongData::testArtistIsNull()
       
   626                           151 do
       
   627          0          1 -   151   if (! QTest::qVerify ( ( mTest -> mArtist . ..
       
   628          0            -   151     return
       
   629                           151 while ( 0 )
       
   630 
       
   631 ***TER  50 % (  2/  4) of FUNCTION TestMpSongData::testArtistIsNull()
       
   632 -----------------------------------------------------------------------------
       
   633 
       
   634          1          1     157 FUNCTION TestMpSongData::testCommentIsNull()
       
   635                           159 do
       
   636          0          1 -   159   if (! QTest::qVerify ( ( mTest -> mComment ...
       
   637          0            -   159     return
       
   638                           159 while ( 0 )
       
   639 
       
   640 ***TER  50 % (  2/  4) of FUNCTION TestMpSongData::testCommentIsNull()
       
   641 -----------------------------------------------------------------------------
       
   642 
       
   643          1          1     165 FUNCTION TestMpSongData::testComposerIsNull()
       
   644                           167 do
       
   645          0          1 -   167   if (! QTest::qVerify ( ( mTest -> mComposer ..
       
   646          0            -   167     return
       
   647                           167 while ( 0 )
       
   648 
       
   649 ***TER  50 % (  2/  4) of FUNCTION TestMpSongData::testComposerIsNull()
       
   650 -----------------------------------------------------------------------------
       
   651 
       
   652          1          1     173 FUNCTION TestMpSongData::testGenreIsNull()
       
   653                           175 do
       
   654          0          1 -   175   if (! QTest::qVerify ( ( mTest -> mGenre . i..
       
   655          0            -   175     return
       
   656                           175 while ( 0 )
       
   657 
       
   658 ***TER  50 % (  2/  4) of FUNCTION TestMpSongData::testGenreIsNull()
       
   659 -----------------------------------------------------------------------------
       
   660 
       
   661          1          1     182 FUNCTION TestMpSongData::testAlbumtrackIsNull()
       
   662                           184 do
       
   663          0          1 -   184   if (! QTest::qVerify ( ( mTest -> mAlbumTrac..
       
   664          0            -   184     return
       
   665                           184 while ( 0 )
       
   666 
       
   667 ***TER  50 % (  2/  4) of FUNCTION TestMpSongData::testAlbumtrackIsNull()
       
   668 -----------------------------------------------------------------------------
       
   669 
       
   670          1          1     190 FUNCTION TestMpSongData::testLinkIsNull()
       
   671                           192 do
       
   672          0          1 -   192   if (! QTest::qVerify ( ( mTest -> mLink . is..
       
   673          0            -   192     return
       
   674                           192 while ( 0 )
       
   675 
       
   676 ***TER  50 % (  2/  4) of FUNCTION TestMpSongData::testLinkIsNull()
       
   677 -----------------------------------------------------------------------------
       
   678 
       
   679          1          1     198 FUNCTION TestMpSongData::testYearIsNull()
       
   680                           200 do
       
   681          0          1 -   200   if (! QTest::qVerify ( ( mTest -> mYear . is..
       
   682          0            -   200     return
       
   683                           200 while ( 0 )
       
   684 
       
   685 ***TER  50 % (  2/  4) of FUNCTION TestMpSongData::testYearIsNull()
       
   686 -----------------------------------------------------------------------------
       
   687 
       
   688          1          1     206 FUNCTION TestMpSongData::testSetTitleTrue()
       
   689                           211 do
       
   690          0          1 -   211   if (! QTest::qCompare ( result , true , "res..
       
   691          0            -   211     return
       
   692                           211 while ( 0 )
       
   693 
       
   694 ***TER  50 % (  2/  4) of FUNCTION TestMpSongData::testSetTitleTrue()
       
   695 -----------------------------------------------------------------------------
       
   696 
       
   697          1          1     218 FUNCTION TestMpSongData::testSetTitleFalse()
       
   698                           223 do
       
   699          0          1 -   223   if (! QTest::qCompare ( result , false , "re..
       
   700          0            -   223     return
       
   701                           223 while ( 0 )
       
   702 
       
   703 ***TER  50 % (  2/  4) of FUNCTION TestMpSongData::testSetTitleFalse()
       
   704 -----------------------------------------------------------------------------
       
   705 
       
   706          1          1     229 FUNCTION TestMpSongData::testsetAlbumTrue()
       
   707                           234 do
       
   708          0          1 -   234   if (! QTest::qCompare ( result , true , "res..
       
   709          0            -   234     return
       
   710                           234 while ( 0 )
       
   711 
       
   712 ***TER  50 % (  2/  4) of FUNCTION TestMpSongData::testsetAlbumTrue()
       
   713 -----------------------------------------------------------------------------
       
   714 
       
   715          1          1     241 FUNCTION TestMpSongData::testsetAlbumFalse()
       
   716                           246 do
       
   717          0          1 -   246   if (! QTest::qCompare ( result , false , "re..
       
   718          0            -   246     return
       
   719                           246 while ( 0 )
       
   720 
       
   721 ***TER  50 % (  2/  4) of FUNCTION TestMpSongData::testsetAlbumFalse()
       
   722 -----------------------------------------------------------------------------
       
   723 
       
   724          1          1     253 FUNCTION TestMpSongData::testsetArtistTrue()
       
   725                           258 do
       
   726          0          1 -   258   if (! QTest::qCompare ( result , true , "res..
       
   727          0            -   258     return
       
   728                           258 while ( 0 )
       
   729 
       
   730 ***TER  50 % (  2/  4) of FUNCTION TestMpSongData::testsetArtistTrue()
       
   731 -----------------------------------------------------------------------------
       
   732 
       
   733          1          1     265 FUNCTION TestMpSongData::testsetArtistFalse()
       
   734                           270 do
       
   735          0          1 -   270   if (! QTest::qCompare ( result , false , "re..
       
   736          0            -   270     return
       
   737                           270 while ( 0 )
       
   738 
       
   739 ***TER  50 % (  2/  4) of FUNCTION TestMpSongData::testsetArtistFalse()
       
   740 -----------------------------------------------------------------------------
       
   741 
       
   742          1          1     276 FUNCTION TestMpSongData::testsetCommentTrue()
       
   743                           281 do
       
   744          0          1 -   281   if (! QTest::qCompare ( result , true , "res..
       
   745          0            -   281     return
       
   746                           281 while ( 0 )
       
   747 
       
   748 ***TER  50 % (  2/  4) of FUNCTION TestMpSongData::testsetCommentTrue()
       
   749 -----------------------------------------------------------------------------
       
   750 
       
   751          1          1     288 FUNCTION TestMpSongData::testsetCommentFalse()
       
   752                           293 do
       
   753          0          1 -   293   if (! QTest::qCompare ( result , false , "re..
       
   754          0            -   293     return
       
   755                           293 while ( 0 )
       
   756 
       
   757 ***TER  50 % (  2/  4) of FUNCTION TestMpSongData::testsetCommentFalse()
       
   758 -----------------------------------------------------------------------------
       
   759 
       
   760          1          1     299 FUNCTION TestMpSongData::testsetComposerTrue()
       
   761                           304 do
       
   762          0          1 -   304   if (! QTest::qCompare ( result , true , "res..
       
   763          0            -   304     return
       
   764                           304 while ( 0 )
       
   765 
       
   766 ***TER  50 % (  2/  4) of FUNCTION TestMpSongData::testsetComposerTrue()
       
   767 -----------------------------------------------------------------------------
       
   768 
       
   769          1          1     311 FUNCTION TestMpSongData::testsetComposerFalse()
       
   770                           316 do
       
   771          0          1 -   316   if (! QTest::qCompare ( result , false , "re..
       
   772          0            -   316     return
       
   773                           316 while ( 0 )
       
   774 
       
   775 ***TER  50 % (  2/  4) of FUNCTION TestMpSongData::testsetComposerFalse()
       
   776 -----------------------------------------------------------------------------
       
   777 
       
   778          1          1     322 FUNCTION TestMpSongData::testsetGenreTrue()
       
   779                           327 do
       
   780          0          1 -   327   if (! QTest::qCompare ( result , true , "res..
       
   781          0            -   327     return
       
   782                           327 while ( 0 )
       
   783 
       
   784 ***TER  50 % (  2/  4) of FUNCTION TestMpSongData::testsetGenreTrue()
       
   785 -----------------------------------------------------------------------------
       
   786 
       
   787          1          1     334 FUNCTION TestMpSongData::testsetGenreFalse()
       
   788                           339 do
       
   789          0          1 -   339   if (! QTest::qCompare ( result , false , "re..
       
   790          0            -   339     return
       
   791                           339 while ( 0 )
       
   792 
       
   793 ***TER  50 % (  2/  4) of FUNCTION TestMpSongData::testsetGenreFalse()
       
   794 -----------------------------------------------------------------------------
       
   795 
       
   796          1          1     345 FUNCTION TestMpSongData::testsetYearTrue()
       
   797                           350 do
       
   798          0          1 -   350   if (! QTest::qCompare ( result , true , "res..
       
   799          0            -   350     return
       
   800                           350 while ( 0 )
       
   801 
       
   802 ***TER  50 % (  2/  4) of FUNCTION TestMpSongData::testsetYearTrue()
       
   803 -----------------------------------------------------------------------------
       
   804 
       
   805          1          1     357 FUNCTION TestMpSongData::testsetYearFalse()
       
   806 
       
   807 ***TER 100 % (  1/  1) of FUNCTION TestMpSongData::testsetYearFalse()
       
   808 -----------------------------------------------------------------------------
       
   809 
       
   810          1          1     371 FUNCTION TestMpSongData::testsetAlbumTrackTrue()
       
   811                           376 do
       
   812          0          1 -   376   if (! QTest::qCompare ( result , true , "res..
       
   813          0            -   376     return
       
   814                           376 while ( 0 )
       
   815 
       
   816 ***TER  50 % (  2/  4) of FUNCTION TestMpSongData::testsetAlbumTrackTrue()
       
   817 -----------------------------------------------------------------------------
       
   818 
       
   819          1          1     383 FUNCTION TestMpSongData::testsetAlbumTrackFalse()
       
   820                           388 do
       
   821          0          1 -   388   if (! QTest::qCompare ( result , false , "re..
       
   822          0            -   388     return
       
   823                           388 while ( 0 )
       
   824 
       
   825 ***TER  50 % (  2/  4) of FUNCTION TestMpSongData::testsetAlbumTrackFalse()
       
   826 -----------------------------------------------------------------------------
       
   827 
       
   828          1          1     394 FUNCTION TestMpSongData::testsetAlbumArtUri()
       
   829                           401 do
       
   830          0          1 -   401   if (! QTest::qVerify ( ( spy . isValid ( ) )..
       
   831          0            -   401     return
       
   832                           401 while ( 0 )
       
   833                           402 do
       
   834          0          1 -   402   if (! QTest::qCompare ( spy . count ( ) , 0 ..
       
   835          0            -   402     return
       
   836                           402 while ( 0 )
       
   837                           405 do
       
   838          0          1 -   405   if (! QTest::qCompare ( spy . count ( ) , 0 ..
       
   839          0            -   405     return
       
   840                           405 while ( 0 )
       
   841                           409 do
       
   842          0          1 -   409   if (! QTest::qCompare ( spy . count ( ) , 1 ..
       
   843          0            -   409     return
       
   844                           409 while ( 0 )
       
   845                           410 do
       
   846          0          1 -   410   if (! QTest::qCompare ( mTest -> mAlbumArt ,..
       
   847          0            -   410     return
       
   848                           410 while ( 0 )
       
   849                           413 do
       
   850          0          1 -   413   if (! QTest::qCompare ( spy . count ( ) , 2 ..
       
   851          0            -   413     return
       
   852                           413 while ( 0 )
       
   853                           414 do
       
   854          0          1 -   414   if (! QTest::qCompare ( mTest -> mAlbumArt ,..
       
   855          0            -   414     return
       
   856                           414 while ( 0 )
       
   857 
       
   858 ***TER  36 % (  8/ 22) of FUNCTION TestMpSongData::testsetAlbumArtUri()
       
   859 -----------------------------------------------------------------------------
       
   860 
       
   861          1          1     421 FUNCTION TestMpSongData::testThumbnailReady()
       
   862                           427 do
       
   863          0          1 -   427   if (! QTest::qVerify ( ( spy . isValid ( ) )..
       
   864          0            -   427     return
       
   865                           427 while ( 0 )
       
   866                           428 do
       
   867          0          1 -   428   if (! QTest::qCompare ( spy . count ( ) , 0 ..
       
   868          0            -   428     return
       
   869                           428 while ( 0 )
       
   870                           433 do
       
   871          0          1 -   433   if (! QTest::qCompare ( spy . count ( ) , 1 ..
       
   872          0            -   433     return
       
   873                           433 while ( 0 )
       
   874                           434 do
       
   875          0          1 -   434   if (! QTest::qCompare ( mTest -> mAlbumArt ,..
       
   876          0            -   434     return
       
   877                           434 while ( 0 )
       
   878                           437 do
       
   879          0          1 -   437   if (! QTest::qCompare ( spy . count ( ) , 2 ..
       
   880          0            -   437     return
       
   881                           437 while ( 0 )
       
   882                           438 do
       
   883          0          1 -   438   if (! QTest::qCompare ( mTest -> mAlbumArt ,..
       
   884          0            -   438     return
       
   885                           438 while ( 0 )
       
   886 
       
   887 ***TER  37 % (  7/ 19) of FUNCTION TestMpSongData::testThumbnailReady()
       
   888 -----------------------------------------------------------------------------
       
   889 
       
   890          1          1     446 FUNCTION TestMpSongData::testCommitPlaybackInfo()
       
   891                           450 do
       
   892          0          1 -   450   if (! QTest::qVerify ( ( spy . isValid ( ) )..
       
   893          0            -   450     return
       
   894                           450 while ( 0 )
       
   895                           451 do
       
   896          0          1 -   451   if (! QTest::qCompare ( spy . count ( ) , 0 ..
       
   897          0            -   451     return
       
   898                           451 while ( 0 )
       
   899                           454 do
       
   900          0          1 -   454   if (! QTest::qCompare ( spy . count ( ) , 1 ..
       
   901          0            -   454     return
       
   902                           454 while ( 0 )
       
   903 
       
   904 ***TER  40 % (  4/ 10) of FUNCTION TestMpSongData::testCommitPlaybackInfo()
       
   905 -----------------------------------------------------------------------------
       
   906 
       
   907          1          1     461 FUNCTION TestMpSongData::testCommitSongDetailInfo()
       
   908                           465 do
       
   909          0          1 -   465   if (! QTest::qVerify ( ( spy . isValid ( ) )..
       
   910          0            -   465     return
       
   911                           465 while ( 0 )
       
   912                           466 do
       
   913          0          1 -   466   if (! QTest::qCompare ( spy . count ( ) , 0 ..
       
   914          0            -   466     return
       
   915                           466 while ( 0 )
       
   916                           469 do
       
   917          0          1 -   469   if (! QTest::qCompare ( spy . count ( ) , 1 ..
       
   918          0            -   469     return
       
   919                           469 while ( 0 )
       
   920 
       
   921 ***TER  40 % (  4/ 10) of FUNCTION TestMpSongData::testCommitSongDetailInfo()
       
   922 -----------------------------------------------------------------------------
       
   923 
       
   924 
       
   925 ***TER  49 % ( 85/175) of SOURCE FILE Z:/musicplayer/mpviewplugins/mpdetailsviewplugin/tsrc/unittest_mpsongdata/src/unittest_mpsongdata.cpp
       
   926 -----------------------------------------------------------------------------
       
   927 
       
   928 
       
   929 
       
   930 
       
   931 
       
   932 SUMMARY
       
   933 =======
       
   934 
       
   935 Number of monitored source files  : 6
       
   936 Number of source lines            : 1408
       
   937 Number of measurement points      : 556
       
   938 TER                               : 55% (decision)