I would move the `!@installed_specs.empty?` check to the body of the `submit_statistics` method.