Relative Content

Tag Archive for legacy-code

How to find classes that use certain DB tables

Problem:
I’m asked to prepare a document where all our DB tables are listed and I’m supposed to list all Controllers that uses these DB tables for read and another list for Controllers that do write operations.

How to find classes that use certain DB tables

Problem:
I’m asked to prepare a document where all our DB tables are listed and I’m supposed to list all Controllers that uses these DB tables for read and another list for Controllers that do write operations.

How to find classes that use certain DB tables

Problem:
I’m asked to prepare a document where all our DB tables are listed and I’m supposed to list all Controllers that uses these DB tables for read and another list for Controllers that do write operations.

How to avoid excessive method overloading?

We have quite a lot of places in the source code of our application , where one class has many methods with same names and different parameters. Those methods always have all the parameters of a ‘previous’ method plus one more.

Can I refactor “safely” without specs? [duplicate]

This question already has answers here: I’ve inherited 200K lines of spaghetti code — what now? (19 answers) Closed 9 years ago. I have inherited a legacy web application many years which: Does not make use of Object Oriented principles, even though the language would permit it Has no unit tests, nor any sort of […]

Can I refactor “safely” without specs? [duplicate]

This question already has answers here: I’ve inherited 200K lines of spaghetti code — what now? (19 answers) Closed 9 years ago. I have inherited a legacy web application many years which: Does not make use of Object Oriented principles, even though the language would permit it Has no unit tests, nor any sort of […]