3.3.43. PublicAccess¶
3.3.43.1. PublicAccess¶
This report is a map on how to access private methods from public methods.
The Public Access report displays a map that show how to reach private methods by calling.
Public methods are in green, protected methods are in orange and private methods are in red.
When creating tests for a class, it is often difficult to find the various ways to hit a private method, and, as such, test it.
This map is built by find all internal calls within a class. Those calls are not systematically made, as conditions may apply. Yet, the map show all possible ways to reach a method, starting from a public one.

3.3.43.2. Specs¶
Short name |
PublicAccess |
Rulesets |
PublicAccess doesn’t depend on rulesets. |
Type |
Dot |
Target |
This report is written in ‘exakat.publicaccess’. |
Available in |