I work at a larger startup with a maturing codebase. I've only worked here a few months. I have few issues to work on currently because we are near a release. I don't have many assigned issues / bugs compared to other developers who are polishing new features, and adding regress tests. I am not really sure what to work on, but I know there is plenty to do. It is tough to find motivation as well since the work tends to be more tedious (QA).
I inherited part of the product that was poorly written- a C++ developers first foray into HTML / JS, and its my main focus here. I know all code has its issues but this code genuinely needs a rewrite (it's about 20,000 lines of javascript, lots of copy and pasted code, poor naming & magic numbers [var obj = ev.Items;, doGetStuff(), meths[method][6], etc], mostly static methods with no object reuse, no separation of UI and business logic) The UI is really bad as well, I could go on with more examples but I just want to stress the code is objectively bad, not just messy or needing slight refactoring. However, because we are near a release and the code is somewhat stable at this point, nothing should be changed that may impact the release. Ideally they just want the code to have more unit tests, testing, documentation, etc.
Since it's mostly javascript that's tightly coupled to ASP.NET code behind pages, it's is extremely difficult to unit test. In addition, there's no spec so it's hard to know if the code is even working right (there are very complex business rules.) So I'm not sure how valuable unit tests would be even if I got them up and running, which would be difficult itself.
What would look best for me to work on, so that I could seem more like a go-getter, self starter that actually does useful things in this situation? I worry that I will look lazy if I'm not actively producing anything- whether it be code, documentation, or tests. I could try to optimize, bug-fix it without breaking anything- which is risky and doesn't provide much benefit, or test the code more manually (which is probably the best thing to do, but doesn't really give me any recognition from my peers and is unfortunately very boring.) I would like to rework some of the UI and refactor but I can't do that close to a release. I'm really struggling to figure out what is the best thing to do to seem positive and hard working, and to find motivation. Any ideas on how I can be more productive?