Showing 1 of 2 files from the diff.

@@ -537,13 +537,11 @@
Loading
537 537
                    SDImageCacheType cacheType = [context[SDWebImageContextStoreCacheType] integerValue];
538 538
                    shouldCacheToMomery = (cacheType == SDImageCacheTypeAll || cacheType == SDImageCacheTypeMemory);
539 539
                }
540 -
                if (shouldCacheToMomery) {
541 -
                    // decode image data only if in-memory cache missed
542 -
                    diskImage = [self diskImageForKey:key data:diskData options:options context:context];
543 -
                    if (diskImage && self.config.shouldCacheImagesInMemory) {
544 -
                        NSUInteger cost = diskImage.sd_memoryCost;
545 -
                        [self.memoryCache setObject:diskImage forKey:key cost:cost];
546 -
                    }
540 +
                // decode image data only if in-memory cache missed
541 +
                diskImage = [self diskImageForKey:key data:diskData options:options context:context];
542 +
                if (shouldCacheToMomery && diskImage && self.config.shouldCacheImagesInMemory) {
543 +
                    NSUInteger cost = diskImage.sd_memoryCost;
544 +
                    [self.memoryCache setObject:diskImage forKey:key cost:cost];
547 545
                }
548 546
            }
549 547
            
Files Coverage
SDWebImage 83.53%
SDWebImageMapKit/MapKit/MKAnnotationView+WebCache.m 65.51%
Project Totals (70 files) 83.46%
3302.1
default=
TRAVIS_OS_NAME=osx
ios
3302.1
default=
TRAVIS_OS_NAME=osx
macos
1
coverage:
2
  ignore:
3
    - "Examples"
4
    - "Vendors"
5
    - "Tests"
6
  status:
7
    project:
8
      default: off
9
      ios:
10
        flags: ios
11
      macos:
12
        flags: macos
13
      tvos:
14
        flags: tvos
Sunburst
The inner-most circle is the entire project, moving away from the center are folders then, finally, a single file. The size and color of each slice is representing the number of statements and the coverage, respectively.
Icicle
The top section represents the entire project. Proceeding with folders and finally individual files. The size and color of each slice is representing the number of statements and the coverage, respectively.
Grid
Each block represents a single file in the project. The size and color of each block is represented by the number of statements and the coverage, respectively.
Loading