ABC Shell Code Task

ABC Code Task
You have joined a startup that develops software for IoT devices. This software runs on a custom low power consumption operating system. The main user interface of this system is a homegrown shell. Since its inception, the company relies on this shell, and many scripts and commands have already been written by the users and developers of the system. However, the functionality and stability of the shell do not longer meet the requirements of the growing business. At the same time, legacy code makes it too expensive to switch to a different shell implementation. Your manager asks you to extend the capabilities of this shell, while preserving the original features and fixing existing bugs. After examining the source code, you realize that it was developed without following software engineering practices, and as a result, it is extremely difficult to extend without introducing new bugs which will lead to problems in production. You receive the source code of the shell on GitHub, and an incomplete specification of its functionality in the README.md file.
The existing legacy implementation of the shell provides the following functionality:
• Shell features: calling applications, quoting, semicolon operator, globbing. • Applications: cd, pwd, ls, cat, echo, head, tail, grep.
Your goal is to preserve the existing functionality (while fixing possible bugs), and implement the following new features:
• Shell features: pipe operator, IO-redirection. • Applications: find, sort, uniq, cut.
You are expected to refactor the current implementation to make it extendable, and add the missing functionality to pass the system tests. You are also expected to write unit tests, analyze the project with a static analyzer, compute code coverage, and follow other modern development practices.
The submitted file must be a ZIP archive named “shell.zip”. The file must contain the source code of the shell. The submitted code will be tested by executing the commands in README.md.
Here are different components and how they contribute to the final mark:
Mark modifier range
Code coverage (automated, expected 80- 85%)

程序代写 CS代考 加QQ: 749389476
System tests -15..0 (automated)
Design – 10..+10
Code quality -7..+7 Error -5..+5 handling
Static analysis violations (automated)

Computer Science Tutoring