473,503 Members | 3,045 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Thoughts on Code review

I need some advice guys.. I am proposing that we get someone to do a
complete audit/review of our Java application codebase, about 1000
JSPs/Servlets and 100 EJBs. If I get firms to submit proposals, what
should I be asking /looking out for? I realise that running the
applications through a migration tool will help but I am looking for a
more through analysis of the actual codebase as well as assessment of
the architecture

Thanks

Arvie
Jul 17 '05 #1
3 5206
Code reviews are great. They should be done fairly early in the process to
catch bugs early before they propagate. (In your case, it sounds like you
can't but they will help even later in the game.)

If your project was just starting, I advocate one early in the process
(third of the way through) and one later (two-thirds to three-quarters).

Many studies have been done that show code reviews greatly improve software
quality and time to market. (See "Rapid Development" by Steve Connell)

Great way to exchange knowledge, both from the reviewers perspective as well
as the reviewee.

Always remember to be respectful to the coder.

"Arvie" <ar******@yahoo.com> wrote in message
news:69**************************@posting.google.c om...
I need some advice guys.. I am proposing that we get someone to do a
complete audit/review of our Java application codebase, about 1000
JSPs/Servlets and 100 EJBs. If I get firms to submit proposals, what
should I be asking /looking out for? I realise that running the
applications through a migration tool will help but I am looking for a
more through analysis of the actual codebase as well as assessment of
the architecture

Thanks

Arvie

Jul 17 '05 #2
I did not use to be a fan of code reviews because the code review
checklist focused on coding style rather than finding logic errors in
the code. But after modifying the checklist to include common coding
errors and to make sure that code naming standards follow industry
standards I have become a fan of code reviews. We perform a 2 level
code review, the first is done by the software engineer who wrote the
code, the second is done by fellow team members.

Since you are proposing to review existing codebase you must ask
yourself the following questions.

1. Will code be rewritten based on the audit?

2. What kind of things are you looking for in the review? ie naming
standards, logic errors, code documentation etc.

Code reviews are most effective if they are done early in the
development cycle. We had one application that did not follow the
design pattern of the other applications and it is more difficult for
another program to maintain. An early code review would have caught
this and the application probably would have followed a similiar
design as the others.

Michael
ar******@yahoo.com (Arvie) wrote in message news:<69**************************@posting.google. com>...
I need some advice guys.. I am proposing that we get someone to do a
complete audit/review of our Java application codebase, about 1000
JSPs/Servlets and 100 EJBs. If I get firms to submit proposals, what
should I be asking /looking out for? I realise that running the
applications through a migration tool will help but I am looking for a
more through analysis of the actual codebase as well as assessment of
the architecture

Thanks

Arvie

Jul 17 '05 #3
For the codebase the best approach (IMHO) is:

1. a relatively informal review of ALL the code, with the focus on:
- adherence to coding standards (or better still, use a decent IDE and
beautifier)
- defect spotting

2. an in-depth inspection *sampling* various aspects of the
application, i.e. choose a representative component from each tier
(say a JSP, an EJB, a DAO, XML schema, database table, etc depending
on your architecture) and inspect those. This will give you some
defect stats that you can extrapolate across the entire system.

There's tons of case studies out there concerning inspections, but the
focussed sampling technique is extremely useful. Have a search for
Gilb, Fagan, etc.

- chris
Jul 17 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

24
1766
by: Stephen Horne | last post by:
PEP315 (Enhanced while loop) suggests a syntax as follows... do: ... while condition: ... The motives are IMO good, but I don't like this solution. It replicates a problem with the C do...
30
2112
by: Stephen Horne | last post by:
Some more looping thoughts - this time on integer for loops... There may be some hint towards PEP284 (integer for loops) in a review of ideas from other languages, but I'm damned if i can figure...
24
1946
by: Dave Benjamin | last post by:
Guido gave a good, long interview, available at IT Conversations, as was recently announced by Dr. Dobb's Python-URL! The audio clips are available here: ...
18
2123
by: Ben Hanson | last post by:
I have created an open source Notepad program for Windows in C++ that allows search and replace using regular expressions (and a few other extras). It is located at...
19
2236
by: Swaregirl | last post by:
Hello, I would like to build a website using ASP.NET. I would like website visitors to be able to download code that I would like to make available to them and that would be residing on my...
35
1850
by: Justin Weinberg | last post by:
My thoughts on this.... http://msdn.microsoft.com/vbasic/Future/default.aspx?pull=/library/en-us/dnvs05/html/vb9overview.asp My thoughts: 1. Regarding Implicit types, I don't use type...
36
1875
by: Giggle Girl | last post by:
Hello! :) I am working on an app that uses dozens of tables, some with hundreds (or even thousands!) of rows. I am interested in formatting the tables using as much CSS as possible, so the HTML...
239
10024
by: Eigenvector | last post by:
My question is more generic, but it involves what I consider ANSI standard C and portability. I happen to be a system admin for multiple platforms and as such a lot of the applications that my...
45
1861
by: David Mearsen | last post by:
Hi, I've recently started programming C after many years using "the other language"... I just wanted to find out the common practice for organising source files. Specifically, consider a...
0
7067
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
1
6975
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
5562
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
4992
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4666
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3160
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3148
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1495
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
728
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.