The same four parameters across three functions
The complete source of records_data_clump.ek9, which fails to compile exactly as captioned. Shown on records.html.
Fails with E11053: data clump detected - extract a record to group repeated parameters
#!ek9 defines module bad.site.records.dataclump defines function //Before: the same four parameters repeated across functions formatAddress() -> street as String city as String state as String zipCode as String <- result as String: `${street}, ${city}, ${state} ${zipCode}` isComplete() -> street as String city as String state as String zipCode as String <- result as Boolean: street? and city? and state? and zipCode? labelFor() -> street as String city as String state as String zipCode as String <- result as String: `${zipCode}: ${street} ${city} ${state}`
Download records_data_clump.ek9 - it fails to compile on purpose, with the error its @Error line states.