I have an initial project that I'm interested in you taking a look at. If it goes well, I have so much more work I'd like to share with you. I expect that this will take no more than 8 hours.
Our framework logging class currently consists of a single method which has an NPath complexity of 6253 and a Cyclomatic complexity 12. Our typical threshold for NPath for a single method is 200 while the Cyclomatic threshold is generally 10. Overall, the class is not a complex concept. When called, it simply writes the log message provided in the method’s argument to the file also provided in the arguments. The write() method is currently about 50 lines of code. We’d like to abstract this into multiple functions to reduce the single-method complexity currently in the file so that each method falls under both complexity indexes mentioned above. Any other suggestions for optimization are also welcome.
If you accept the job, I'll share all of the necessary credentials with you to access the class.