frontend code coverage: clean code