Discussion Locked

Process to take source code

0 helpful
5 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I am looking for resources and advice to guide me through the process of taking ownership of a large, complex source code project.

My outline so far looks like this:

1. Catalog all files contained in the compiled program we have (estimate approx. 300+ programs and configuration files.)

2. Catalog current database structures for all data files/formats.

3. Request any technical documentation that is available from the original developing people. This stuff may or may not exist.4. Check each "sub" program out of the escrow account, dissect it, and document all functions, variables, and dependencies.

5. Place each "sub" program in a visual diagram of the n-tier archtecture with the goal of visually showing the entire product's flow. Remove that "sub" program and its config files from the catalog (step 1)

6. Review original catalog to identify any unaccounted for "parts".

7. Review visual diagram to identify any gaps in flow.

In addition, we are considering partnering with outside resources to assist us in this critical process. Any suggestions for candidates and the criteria we should be reviewing for qualifications? Your war stories and experiences would be greatly appreciated.

5 replies

by epepke

Get Perl and use it to automate as much of the process as you possibly can. It will make your job an order of magnitude easier.

by misstacmhall

The originating product is a mix of VB and VC++. How does Perl fit into this solution? In addition, we do not have Perl skillsets available within our group.

Thanks for taking the time.

by epepke

Perl is a language for automating process involving text. Source code is text. The answer would be the same if you were trying to catalogue the works of Shakespeare. You could do the Dead Sea Scrolls if you had them in text files.

I once had to clean up and organize four gigabytes of sloppily digitized telephone tariffs for a Public Service Commission. I used Perl.

I once had to generate an understandable reference to how all the tables interact in Oracle HRMS. I used Perl.

I use Perl to maintain C code for shared libraries on the Palm OS.

O'Reilly publishes a lot of computer books. They use Perl to do it.

If it involves text, Perl is a tool for getting the job done or at least mostly done with the minimum amount of hassle.

Don't you think that it might be useful in a project cataloguing 300+ source files?

As for the skillset, there are books. If you know C, basic capability in Perl should only take a reasonably intelligent person a few days.

by misstacmhall

Thanks for the detail. I'll take a look into it.

I don't think this will be an appropriate tool to drive out the program flows and identify "problem code."

Any suggestions in this area?

by pierre

One of the first things you need to get a handle of is the process structure and calling tree. There are various tools availiable to help you do this. In the past, I've used McCabe, but they're very expensive. In addition to giving you a calling tree, they give you a complexity analysis of each module based on the number of test paths necessary to validate that module, and recommend you simplify those modules that are most difficult to test, assuming that they are the most likely to contain problems. Competing products are probably out there...

This discussion is closed to new replies.