Techniques used to determine porosity