1. A method for optimizing an application with less access to privacy data stored on a user device, comprising: processing, by an apparatus, one or more code segments, one or more execution logs associated with the one or more code segments, or a combination thereof to determine at least one privacy intrusion signature when developing the one or more code segments for the application being developed for the user device; calculating, by the apparatus, a privacy score for the at least one privacy intrusion signature based, at least in part, on one or more intrusiveness levels of the one or more code segments using one or more re-accesses frequencies, one or more granularity levels, or a combination thereof associated with the privacy data stored on the user device accessed by the one or more code segments; calculating, by the apparatus, a privacy score for one or more alternate code segments associated with one or more application programming interface functions that are available to the user device for executing the application in place of the at least one privacy intrusion signature; and determining, by the apparatus, one or more recommendations of at least one of the alternate code segments for the developing based, at least in part, on that the privacy score of the at least one privacy intrusion signature is lower than a privacy score of the at least one of the alternate code segments.