...
Automatic detection of the labelling of every component in the manifest as exported true or false would be straightforward. It is not feasible to automatically determine whether the component was meant to be private or not.
Bibliography
[Android API 2013] | Class Context |
[Enck 09]2009 | Understanding Android Security |