7odaifa-ab/TaskTimer

Cohesion & Single Responsibilty

Closed this issue · 1 comments

static public void runCMDCommand(String command) throws IOException {

This line lowers the cohesion of this program and break Single Responsibilty (as on of the SOLID principles)

i really don't get what you mean, is it because it declared Static public? cause I can simply put it back to the Timer Class