A LegacyApplication that may or may not have started with a decent architecture, but which has been heavily polluted by years of poorly thought-out changes and add-ons, resulting in incomphrensible SpaghettiCode.
Or perhaps a redeveloped application, which was hideousness personified, but where elements of order are arising from the swamp.