01.02.2013 Views

Software Development Cross Solution - Index of - Free

Software Development Cross Solution - Index of - Free

Software Development Cross Solution - Index of - Free

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

apply other techniques<br />

Figure out what dependencies<br />

this code has and if it has any<br />

impact on Orion’s Orbits’ code.<br />

408 Chapter 11<br />

Back to the magnets we didn’t use on page 391. Would you do any <strong>of</strong> these activities now?<br />

Why? Any others you might add that aren’t on this list?<br />

Figure out how to package<br />

the compiled version to<br />

include in Orion’s Orbits.<br />

Document the code.<br />

Run a coverage report to see<br />

how much code you need to fix.<br />

Get a line count <strong>of</strong> the code and<br />

estimate how long it will take to fix.<br />

Do a security audit on the code.<br />

Use a UML tool to reverse-engineer<br />

the code and create class diagrams.<br />

Download at WoweBook.Com<br />

Would you do this now? Why? Maybe. It’s possible<br />

that some kind <strong>of</strong> library conflict is behind one <strong>of</strong> our<br />

bugs. You’re going to need to figure this out to get<br />

everything working by the end <strong>of</strong> the iteration anyway.<br />

Would you do this now? Why? Only if the current<br />

packaging approach isn’t going to cut it. This is basically<br />

refactoring at the packaging level. If things are working<br />

and it’s maintainable, you should probably skip this.<br />

Would you do this now? Why? Absolutely! Every<br />

file you touch should come out <strong>of</strong> your cleanup with clear<br />

documentation. At a minimum, explain the code you’ve<br />

touched while fixing a bug.<br />

Would you do this now? Why? Probably. You now<br />

have a set <strong>of</strong> tests that scope how much <strong>of</strong> the system<br />

you need. This will give you an idea <strong>of</strong> how much <strong>of</strong> the<br />

overall code base you actually use, which is a useful metric.<br />

Would you do this now? Why? Nope. Still not a<br />

terribly useful measure. Who cares how big a code base is,<br />

except as to how it relates to the functionality you need<br />

to get working?<br />

Would you do this now? Why? Yes. Any code that<br />

gets touched with your tests should be checked for<br />

security issues. If you can fix any problems as part <strong>of</strong><br />

getting your test to pass, go for it. If not, capture it<br />

and prioritize it in a later iteration.<br />

Would you do this now? Why? Maybe—it depends<br />

on how complicated the code is. If you’re having trouble<br />

figuring out what a block <strong>of</strong> code is trying to do, this<br />

might help you get your head around it.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!