Skip to content

Static Analysis results ran from XCode 9.4.1 #290

@mikelupo

Description

@mikelupo

Ran Static analysis on my project and saw some collateral information that I thought I'd pass on.
I realize this is older code but probably still applies.

  • OHHTTPStubs/OHHTTPStubs/Sources/OHHTTPStubs.m:46:1: Property of mutable type 'NSMutableArray' has 'copy' attribute; an immutable object will be stored instead

Memory error Group

  • OHHTTPStubs/OHHTTPStubs/Sources/Mocktail/OHHTTPStubs+Mocktail.m:44:9: nil returned from a method that is expected to return a non-null value

  • OHHTTPStubs/OHHTTPStubs/Sources/Mocktail/OHHTTPStubs+Mocktail.m:103:9: nil returned from a method that is expected to return a non-null value

  • OHHTTPStubs/OHHTTPStubs/Sources/OHHTTPStubsResponse.m:153:12: nil passed to a callee that requires a non-null 1st parameter

New Issue Checklist

Environment

  • version of OHHTTPStubs: [LIB VERSION HERE]
  • integration method you are using:
    • Cocoapods
    • Carthage
    • submodule
    • [X ] other (*Built into our Project from sources)
  • version of the tool you use: [5.1.0]

There is no ill issue seen with OHTTPStubs. This is just FYI in case you wish to investigate.
I realize this is an older version. I can't update and try again.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions