473,566 Members | 2,785 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 5211
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.goo gle.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 #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.go ogle.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
1777
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 loop (even though this is actually different to the C do loop).
30
2123
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 it out. I spent some time thinking about it and couldn't find anything that would cover the issue. All I came up with was the recognition that...
24
1963
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: http://www.itconversations.com/shows/detail545.html http://www.itconversations.com/shows/detail559.html I'd like to comment on a few parts of that interview. One thing Guido mentions...
18
2131
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 http://www.codeproject.com/cpp/notepadre.asp I'm trying to use best practice in my C++ programming and would appreciate any advice anyone can give. As code is far more than...
19
2249
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 personal server. Are there any code samples or books that someone can recommend so that I can implement this. I would prefer VB.NET code, but I am...
35
1866
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 declaration for the benefits of performance. It's for the benefit of clarity of purpose when reading code. The first thing I do with neophyte...
36
1890
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 is barebones and easy-to-read/modify. While thinking up how to do it, I came up with this idea, which I welcome comments on: QUESTION: What are...
239
10115
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 users request are a part of the OpenSource community. Many if not most of those applications strongly require the presence of the GNU compiling...
45
1880
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 moderately complicated library module, mylib.c. Obviously its "public interface" (i.e. non-static function declarations, typedefs, any global variables)...
0
7666
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7888
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
1
7644
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7951
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
1
5484
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
3626
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2083
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 we have to send another system
1
1201
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
925
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.