Abstract:Abstract:Information hiding is a positive consequence of properly defining com-ponent interfaces. Unfortunately, determining what should constitute a public interface remains difficult. We have analyzed over 3.6 million lines of Java open-source code and found that on the average, at least 20% of defined methods are over-exposed, thus threatening public interfaces to unnecessary exposure.Such over-exposed methods may have their accessibility reduced to exactly reflect the method usage. We have identified three… Show more
scite is a Brooklyn-based organization that helps researchers better discover and understand research articles through Smart Citations–citations that display the context of the citation and describe whether the article provides supporting or contrasting evidence. scite is used by students and researchers from around the world and is funded in part by the National Science Foundation and the National Institute on Drug Abuse of the National Institutes of Health.