@staticmethod
def __percentage_storage_saved(task):
    """
        Calculate the percentage of storage space saved by the compression.
        :param task: information about the task
        :return: percentage of storage space saved
        """
    task_information = task.get_task_information()
    return int((1 - task_information.output_filesize / task_information.
        filesize) * 100)
