defectively
Definitions
In a manner that is imperfect, incomplete, or lacking a necessary quality.
In a way that is faulty or malfunctioning.
Examples
The machine was manufactured defectively, causing it to break down after only a few hours of use.
The software was defectively coded, which led to frequent crashes and data loss for the users.
Synonyms
flawed imperfectly faultily erroneously inadequately poorly unsatisfactorily
Antonyms
perfectly flawlessly impeccably correctly faultlessly excellently adequately