GRB,
ASME B31.3 references ASME VIII Div 1 Appendix 4 for internal porosity.
(c) Maximum Size of Rounded Indication. (See Table
4-1 for examples.) The maximum permissible size of
any indication shall be 1⁄4t, or 5⁄32 in. (4 mm), whichever
is smaller; except that an isolated indication separated
from an adjacent indication by 1 in. (25 mm) or more
may be 1⁄3t, or 1⁄4 in. (6 mm), whichever is less. For
t greater than 2 in. (51 mm) the maximum permissible
size of an isolated indication shall be increased to 3⁄8
in. (10 mm).
It is more involved than just what I have posted above - Severe Cyclic and Normal Fluid Service have different acceptance criteria and also wall thickness plays a part,
Regards,
Shane