analysis_conn_meson: extracted analysis routine from driver function