refactoring : extracted method print_build_summary