On the strength and interfacial properties of square wave joints with defects and mismatches