Subversion Repositories DevTools

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
119 ghuddy 1
<%@LANGUAGE="VBSCRIPT"%>
2
<%
3
Option explicit
129 ghuddy 4
Response.Expires = 0   ' always load the page, dont store
119 ghuddy 5
%>
6
<%
7
'=====================================================
129 ghuddy 8
'               Update Code Review
119 ghuddy 9
'=====================================================
10
%>
11
<!--#include file="common/conf.asp"-->
12
<!--#include file="common/globals.asp"-->
13
<!--#include file="common/formating.asp"-->
14
<!--#include file="common/qstr.asp"-->
15
<!--#include file="common/common_subs.asp"-->
16
<!--#include file="common/common_dbedit.asp"-->
17
<!--#include file="common/_popup_window_common.asp"-->
18
<%
19
' Set rfile parameter. This is a return page after Login
20
Call objPMod.StoreParameter ( "rfile", "fixed_issues.asp" )
21
'------------ ACCESS CONTROL ------------------
22
%>
23
<!--#include file="_access_control_login.asp"-->
24
<!--#include file="_access_control_general.asp"-->
25
<!--#include file="_access_control_project.asp"-->
26
<%
27
'------------ Variable Definition -------------
28
Dim parPv_id
29
Dim rsQry
30
Dim arrItemResults
31
Dim arrOverallResults
32
Dim pkgName
33
Dim pkgVersion
34
'------------ Constants Declaration -----------
35
'------------ Variable Init -------------------
36
parPv_id = Request("pv_id")
37
parRtag_id = Request("rtag_id")
38
arrItemResults = Array ( "","","", _
129 ghuddy 39
                  "Pass",enumCODE_REVIEW_PASS,"class='pass_alert'", _
40
                  "Fail",enumCODE_REVIEW_FAIL,"class='err_alert'" )
119 ghuddy 41
arrOverallResults = Array ( "","", _
129 ghuddy 42
                     "Accepted",enumCODE_REVIEW_ACCEPTED, _
43
                     "Minor updates required",enumCODE_REVIEW_MINOR_UPDATES, _
44
                     "Major rework required",enumCODE_REVIEW_MAJOR_REWORK )
119 ghuddy 45
'----------------------------------------------
46
%>
47
<%
48
'-----------------------------------------------------------------------------------------------------------------------------------
49
Sub GetCodeReview ( nPv_id, oRS )
129 ghuddy 50
   Dim Query_String
51
   Query_String = _
52
   " SELECT *  FROM CODE_REVIEWS WHERE pv_id = :PV_ID"
53
   Query_String = Replace( Query_String, ":PV_ID", nPv_id )
54
 
55
   Set oRS = OraDatabase.CreateDynaset( Query_String, cint(0))
56
 
57
   ' Make sure therer is always a record to read from
58
   If oRS.RecordCount < 1 Then
59
      oRS.Close
60
      Call InserDefaultRow ( parPv_id )
61
      Set oRS = OraDatabase.CreateDynaset( Query_String, cint(0))
62
   End If
63
 
119 ghuddy 64
End Sub
65
'-----------------------------------------------------------------------------------------------------------------------------------
66
Function DrawItemResult ( cCheck )
129 ghuddy 67
   Dim item, val, maxOptions, selected, tempSTR
68
   maxOptions = UBound( arrItemResults )
69
 
70
   tempSTR = ""
71
   For val = 0 to maxOptions Step 3
72
      selected = ""
73
      If CStr( arrItemResults(val + 1) ) = cCheck Then selected = "selected"
74
      tempSTR =  tempSTR & "<option value='"& arrItemResults( val + 1 ) &"' "& selected &" "& arrItemResults(val + 2) &">"& arrItemResults( val ) &"</option>"& VBNewLine
75
   Next
76
 
77
   DrawItemResult = tempSTR
119 ghuddy 78
End Function
79
'-----------------------------------------------------------------------------------------------------------------------------------
80
Function DrawOverallResult ( ByVal nResult )
129 ghuddy 81
   Dim val, maxOptions, tempSTR, selected
82
   maxOptions = Ubound( arrOverallResults )
83
   If nResult = "" OR IsNull(nResult) Then nResult = 0
84
 
85
   tempSTR = ""
86
   For val = 0 To maxOptions Step 2
87
      selected = ""
88
      If arrOverallResults(val + 1) = CInt( nResult ) Then selected = "selected"
89
      tempSTR =  tempSTR & "<option value='"& arrOverallResults( val + 1 ) &"' "& selected &">"& arrOverallResults( val ) &"</option>"& VBNewLine
90
   Next
91
 
92
   DrawOverallResult = tempSTR
119 ghuddy 93
End Function
94
'-----------------------------------------------------------------------------------------------------------------------------------
95
Sub InserDefaultRow ( nPv_id )
129 ghuddy 96
   objEH.TryORA ( OraSession )
97
   On Error Resume Next
98
   OraDatabase.ExecuteSQL  _
99
   " INSERT INTO CODE_REVIEWS (pv_id) VALUES("& nPv_id &")"
100
   objEH.CatchORA ( OraSession )
119 ghuddy 101
End Sub
102
'-----------------------------------------------------------------------------------------------------------------------------------
103
%>
104
<%
105
'------------ Action Requirements -------------------
106
'Process submition
107
If CBool(Request("action")) AND objAccessControl.UserLogedIn Then
129 ghuddy 108
   Call UpdateCodeReview ( parPv_id )
109
   Call OpenInParentWindow ("fixed_issues.asp?pv_id="& parPv_id &"&rtag_id="& parRtag_id )
110
   'Response.Redirect ( "_wform_code_review.asp?pv_id="& parPv_id &"&rtag_id="& parRtag_id )
111
   'Call CloseWindow
112
 
113
 
119 ghuddy 114
End If
115
Call Get_Pkg_Short_Info(  parPv_id, NULL, pkgName, pkgVersion, NULL, NULL, NULL )
116
Call GetCodeReview ( parPv_id, rsQry )
117
%>
118
<html>
119
<head>
120
<title>Release Manager</title>
121
<meta HTTP-EQUIV="Pragma" CONTENT="no-cache">
122
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
123
<link rel="stylesheet" href="images/release_manager_style.css" type="text/css">
124
<link rel="stylesheet" href="images/navigation.css" type="text/css">
125
<script language="JavaScript" src="images/common.js"></script>
126
<!-- TIPS -->
127
<script language="JavaScript" src="images/tipster.js"></script>
128
<script language="JavaScript" src="images/_help_tips.js"></script>
129
</head>
130
<body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0" onload="self.focus();">
131
<!-- TIPS LAYERS -------------------------------------->
132
<div id="formTipsLayer" style="position: absolute; z-index: 1000; visibility: hidden; left:0; top: 0; width: 10">&nbsp;</div>
133
<!----------------------------------------------------->
129 ghuddy 134
<form action="_wform_code_review.asp" method="post" name="codereview"
135
   onSubmit="MM_validateForm(
136
   'date_of_review','Date of Review','RisDate',
137
   'time_spent','Time Spent','RisNumber',
138
   'review_reason','Reason for Review','RmaxLength:4000',
139
   'files_reviewed','Files Reviewed','RmaxLength:4000',
140
   'review_results','Review Results','R'
141
   );return document.MM_returnValue;">
142
   <table width="100%" border="0" cellspacing="0" cellpadding="2" height="100%">
143
      <tr>
144
         <td width="1%" background="images/lbox_bg_orange.gif"><img src="images/s_code_review_off.gif" width="21" height="23" hspace="5" border="0"></td>
145
         <td width="1%" background="images/lbox_bg_blue.gif" nowrap class="wform_ttl">&nbsp;Code Review for <%=pkgName%>&nbsp;<%=pkgVersion%> </td>
146
         <td width="100%" background="images/lbox_bg_blue.gif" align="right" nowrap class="wform_ttl">
147
            <input type="submit" name="btn" value="Save" class="form_btn">
148
            <input type="reset" name="btn" value="Close" class="form_btn" onclick="self.close()">
149
         </td>
150
         <td background="images/lbox_bg_blue.gif" align="right" width="1%" nowrap><img src="images/h_trsp_dot.gif" width="5" height="22"></td>
151
      </tr>
152
      <tr>
153
         <td height="100%" width="1%">&nbsp;</td>
154
         <td valign="top" nowrap colspan="3" class="wform_ttl" background="images/bg_form_lightgray.gif">
155
            <br>
156
            <br>
157
            <table width="100%"  border="0" cellspacing="0" cellpadding="0">
158
               <tr>
159
                  <td width="1%"><img src="images/h_trsp_dot.gif" width="10" height="30"></td>
160
                  <td width="100%">
161
                     <table width="100%"  border="0" cellspacing="1" cellpadding="4">
162
                        <tr align="center">
163
                           <td colspan="4" class="form_ttl" background="images/bg_form_lightbluedark.gif">Summary</td>
164
                        </tr>
165
                        <tr>
166
                           <td align="right" nowrap background="images/bg_form_lightbluedark.gif" class="form_field">Date of Review</td>
167
                           <td nowrap bgcolor="#FFFFFF" class="form_item">
168
                           <input name="date_of_review" type="text" size="20" maxlength="20" class="form_item" value='<%If IsNull(rsQry("date_of_review")) Then%><%=EuroDate ( Date )%><%Else%><%=EuroDate ( rsQry("date_of_review") )%><%End If%>'>&nbsp;&nbsp;&nbsp;</td>
169
                           <td align="right" nowrap background="images/bg_form_lightbluedark.gif" class="form_field">&nbsp;&nbsp;&nbsp;Time Spent (hrs)</td>
170
                           <td bgcolor="#FFFFFF" class="form_item">
171
                           <input name="time_spent" type="text" size="20" maxlength="20" class="form_item" value="<%=rsQry("time_spent")%>"></td>
172
                        </tr>
173
                        <tr>
174
                           <td align="right" valign="top" nowrap background="images/bg_form_lightbluedark.gif" class="form_field">Reason for Review</td>
175
                           <td colspan="3" bgcolor="#FFFFFF" class="form_item">
176
                           <textarea name="review_reason" cols="80" rows="5" class="form_item"><%=rsQry("review_reason")%></textarea></td>
177
                        </tr>
178
                        <tr>
179
                           <td rowspan="4" align="right" nowrap background="images/bg_form_lightbluedark.gif" class="form_field">Review Team </td>
180
                           <td align="right" nowrap background="images/bg_form_lightbluedark.gif" class="form_field">Domain Expert </td>
181
                           <td colspan="2" bgcolor="#FFFFFF" class="form_item">
182
                           <textarea name="rteam_domain_expert" cols="60" rows="2" class="form_item"><%=rsQry("rteam_domain_expert")%></textarea></td>
183
                        </tr>
184
                        <tr>
185
                           <td align="right" nowrap background="images/bg_form_lightbluedark.gif" class="form_field">Language Expert </td>
186
                           <td colspan="2" bgcolor="#FFFFFF" class="form_item">
187
                           <textarea name="rteam_language_expert" cols="60" rows="2" class="form_item"><%=rsQry("rteam_language_expert")%></textarea></td>
188
                        </tr>
189
                        <tr>
190
                           <td align="right" nowrap background="images/bg_form_lightbluedark.gif" class="form_field">Peer Developer </td>
191
                           <td colspan="2" bgcolor="#FFFFFF" class="form_item">
192
                           <textarea name="rteam_peer_developer" cols="60" rows="2" class="form_item"><%=rsQry("rteam_peer_developer")%></textarea></td>
193
                        </tr>
194
                        <tr>
195
                           <td align="right" nowrap background="images/bg_form_lightbluedark.gif" class="form_field">Author</td>
196
                           <td colspan="2" bgcolor="#FFFFFF" class="form_item">
197
                           <textarea name="rteam_author" cols="60" rows="2" class="form_item"><%=rsQry("rteam_author")%></textarea></td>
198
                        </tr>
199
                        <tr>
200
                           <td align="right" nowrap background="images/bg_form_lightbluedark.gif" class="form_field">Files Reviewed</td>
201
                           <td colspan="3" bgcolor="#FFFFFF" class="form_item">
202
                           <textarea name="files_reviewed" cols="80" rows="5" class="form_item"><%=rsQry("files_reviewed")%></textarea></td>
203
                        </tr>
204
                        <tr>
205
                           <td align="right" nowrap background="images/bg_form_lightbluedark.gif" class="form_field">Review Results </td>
206
                           <td colspan="3" bgcolor="#FFFFFF" class="form_item">
207
                              <select name="review_results" class="form_item" id="review_results">
208
                                 <%=DrawOverallResult ( rsQry("review_results") )%>
209
                              </select>
210
                           </td>
211
                        </tr>
212
                        <tr>
213
                           <td align="right" nowrap background="images/bg_form_lightbluedark.gif" class="form_field">Issues Raised </td>
214
                           <td colspan="3" bgcolor="#FFFFFF" class="form_item">
215
                           <textarea name="issues_raised" cols="80" rows="5" class="form_item"><%=rsQry("issues_raised")%></textarea></td>
216
                        </tr>
217
                        <tr>
218
                           <td align="right" nowrap background="images/bg_form_lightbluedark.gif" class="form_field">Comments</td>
219
                           <td colspan="3" bgcolor="#FFFFFF" class="form_item">
220
                           <textarea name="review_comments" cols="80" rows="5" class="form_item"><%=rsQry("review_comments")%></textarea></td>
221
                        </tr>
222
                     </table>
223
                     <br>
224
                     <br>
225
                     <table width="100%"  border="0" cellspacing="1" cellpadding="4">
226
                        <tr align="center">
227
                           <td colspan="3" class="form_ttl" background="images/bg_form_lightbluedark.gif">Functionality</td>
228
                        </tr>
229
                        <tr>
230
                           <td width="1%" align="center" background="images/bg_form_lightbluedark.gif" class="form_field">Item</td>
231
                           <td width="1%" align="center" background="images/bg_form_lightbluedark.gif" class="form_field">Check</td>
232
                           <td width="100%" align="center" background="images/bg_form_lightbluedark.gif" class="form_field">Comment</td>
233
                        </tr>
234
                        <tr>
235
                           <td valign="top" nowrap background="images/bg_form_lightbluedark.gif" class="form_item">Meets required functionality </td>
236
                           <td valign="top" bgcolor="#FFFFFF">
237
                              <select name="fnc_s_meets_functionality" class="form_item" id="fnc_s_meets_functionality">
238
                                 <%=DrawItemResult( rsQry("fnc_s_meets_functionality") )%>
239
                              </select>
240
                           </td>
241
                           <td bgcolor="#FFFFFF" class="form_item">
242
                           <textarea name="fnc_c_meets_functionality" cols="60" rows="3" class="form_item"><%=rsQry("fnc_c_meets_functionality")%></textarea></td>
243
                        </tr>
244
                     </table>
245
                     <br>
246
                     <br>
247
                     <table width="100%"  border="0" cellspacing="1" cellpadding="4">
248
                        <tr align="center">
249
                           <td colspan="3" class="form_ttl" background="images/bg_form_lightbluedark.gif">Robustness</td>
250
                        </tr>
251
                        <tr>
252
                           <td width="1%" align="center" background="images/bg_form_lightbluedark.gif" class="form_field">Item</td>
253
                           <td width="1%" align="center" background="images/bg_form_lightbluedark.gif" class="form_field">Check</td>
254
                           <td width="100%" align="center" background="images/bg_form_lightbluedark.gif" class="form_field">Comment</td>
255
                        </tr>
256
                        <tr>
257
                           <td valign="top" nowrap background="images/bg_form_lightbluedark.gif" class="form_item">Boundary conditions handled </td>
258
                           <td valign="top" bgcolor="#FFFFFF">
259
                              <select name="rbs_s_bound_cond_handled" class="form_item" id="rbs_s_bound_cond_handled">
260
                                 <%=DrawItemResult( rsQry("rbs_s_bound_cond_handled") )%>
261
                              </select>
262
                           </td>
263
                           <td bgcolor="#FFFFFF" class="form_item">
264
                           <textarea name="rbs_c_bound_cond_handled" cols="60" rows="3" class="form_item"><%=rsQry("rbs_c_bound_cond_handled")%></textarea></td>
265
                        </tr>
266
                        <tr>
267
                           <td valign="top" nowrap background="images/bg_form_lightbluedark.gif" class="form_item">Class interface preconditions tested</td>
268
                           <td valign="top" bgcolor="#FFFFFF">
269
                              <select name="rbs_s_class_interf_precond" class="form_item" id="rbs_s_class_interf_precond">
270
                                 <%=DrawItemResult( rsQry("rbs_s_class_interf_precond") )%>
271
                              </select>
272
                           </td>
273
                           <td bgcolor="#FFFFFF" class="form_item">
274
                           <textarea name="rbs_c_class_interf_precond" cols="60" rows="3" class="form_item"><%=rsQry("rbs_c_class_interf_precond")%></textarea></td>
275
                        </tr>
276
                        <tr>
277
                           <td valign="top" nowrap background="images/bg_form_lightbluedark.gif" class="form_item">No unititalised data</td>
278
                           <td valign="top" bgcolor="#FFFFFF">
279
                              <select name="rbs_s_no_unitialised_date" class="form_item" id="rbs_s_no_unitialised_date">
280
                                 <%=DrawItemResult( rsQry("rbs_s_no_unitialised_date") )%>
281
                              </select>
282
                           </td>
283
                           <td bgcolor="#FFFFFF" class="form_item">
284
                           <textarea name="rbs_c_no_unitialised_date" cols="60" rows="3" class="form_item"><%=rsQry("rbs_c_no_unitialised_date")%></textarea></td>
285
                        </tr>
286
                        <tr>
287
                           <td valign="top" nowrap background="images/bg_form_lightbluedark.gif" class="form_item">Exception handling</td>
288
                           <td valign="top" bgcolor="#FFFFFF">
289
                              <select name="rbs_s_excep_handing" class="form_item" id="rbs_s_excep_handing">
290
                                 <%=DrawItemResult( rsQry("rbs_s_excep_handing") )%>
291
                              </select>
292
                           </td>
293
                           <td bgcolor="#FFFFFF" class="form_item">
294
                           <textarea name="rbs_c_excep_handing" cols="60" rows="3" class="form_item"><%=rsQry("rbs_c_excep_handing")%></textarea></td>
295
                        </tr>
296
                        <tr>
297
                           <td valign="top" nowrap background="images/bg_form_lightbluedark.gif" class="form_item">Resource mgt (db cxn, memory)</td>
298
                           <td valign="top" bgcolor="#FFFFFF">
299
                              <select name="rbs_s_resource_mng" class="form_item" id="rbs_s_resource_mng">
300
                                 <%=DrawItemResult( rsQry("rbs_s_resource_mng") )%>
301
                              </select>
302
                           </td>
303
                           <td bgcolor="#FFFFFF" class="form_item">
304
                           <textarea name="rbs_c_resource_mng" cols="60" rows="3" class="form_item"><%=rsQry("rbs_c_resource_mng")%></textarea></td>
305
                        </tr>
306
                        <tr>
307
                           <td valign="top" nowrap background="images/bg_form_lightbluedark.gif" class="form_item">Transaction completeness</td>
308
                           <td valign="top" bgcolor="#FFFFFF">
309
                              <select name="rbs_s_trans_complet" class="form_item" id="rbs_s_trans_complet">
310
                                 <%=DrawItemResult( rsQry("rbs_s_trans_complet") )%>
311
                              </select>
312
                           </td>
313
                           <td bgcolor="#FFFFFF" class="form_item">
314
                           <textarea name="rbs_c_trans_complet" cols="60" rows="3" class="form_item"><%=rsQry("rbs_c_trans_complet")%></textarea></td>
315
                        </tr>
316
                        <tr>
317
                           <td valign="top" nowrap background="images/bg_form_lightbluedark.gif" class="form_item">Threadsafety</td>
318
                           <td valign="top" bgcolor="#FFFFFF">
319
                              <select name="rbs_s_threadsafety" class="form_item" id="rbs_s_threadsafety">
320
                                 <%=DrawItemResult( rsQry("rbs_s_threadsafety") )%>
321
                              </select>
322
                           </td>
323
                           <td bgcolor="#FFFFFF" class="form_item">
324
                           <textarea name="rbs_c_threadsafety" cols="60" rows="3" class="form_item"><%=rsQry("rbs_c_threadsafety")%></textarea></td>
325
                        </tr>
326
                        <tr>
327
                           <td valign="top" nowrap background="images/bg_form_lightbluedark.gif" class="form_item">Return values (where appropriate)</td>
328
                           <td valign="top" bgcolor="#FFFFFF">
329
                              <select name="rbs_s_ret_vals" class="form_item" id="rbs_s_ret_vals">
330
                                 <%=DrawItemResult( rsQry("rbs_s_ret_vals") )%>
331
                              </select>
332
                           </td>
333
                           <td bgcolor="#FFFFFF" class="form_item">
334
                           <textarea name="rbs_c_ret_vals" cols="60" rows="3" class="form_item"><%=rsQry("rbs_c_ret_vals")%></textarea></td>
335
                        </tr>
336
                        <tr>
337
                           <td valign="top" nowrap background="images/bg_form_lightbluedark.gif" class="form_item">Correct err handling at Subsys bdys</td>
338
                           <td valign="top" bgcolor="#FFFFFF">
339
                              <select name="rbs_s_corr_err_handling" class="form_item" id="rbs_s_corr_err_handling">
340
                                 <%=DrawItemResult( rsQry("rbs_s_corr_err_handling") )%>
341
                              </select>
342
                           </td>
343
                           <td bgcolor="#FFFFFF" class="form_item">
344
                           <textarea name="rbs_c_corr_err_handling" cols="60" rows="3" class="form_item"><%=rsQry("rbs_c_corr_err_handling")%></textarea></td>
345
                        </tr>
346
                        <tr>
347
                           <td valign="top" nowrap background="images/bg_form_lightbluedark.gif" class="form_item">SQL correct and conforming to standards</td>
348
                           <td valign="top" bgcolor="#FFFFFF">
349
                              <select name="rbs_s_sql_std" class="form_item" id="rbs_s_sql_std">
350
                                 <%=DrawItemResult( rsQry("rbs_s_sql_std") )%>
351
                              </select>
352
                           </td>
353
                           <td bgcolor="#FFFFFF" class="form_item">
354
                           <textarea name="rbs_c_sql_std" cols="60" rows="3" class="form_item"><%=rsQry("rbs_c_sql_std")%></textarea></td>
355
                        </tr>
356
                     </table>
357
                     <br>
358
                     <br>
359
                     <table width="100%"  border="0" cellspacing="1" cellpadding="4">
360
                        <tr align="center">
361
                           <td colspan="3" class="form_ttl" background="images/bg_form_lightbluedark.gif">Maintainability</td>
362
                        </tr>
363
                        <tr>
364
                           <td width="1%" align="center" background="images/bg_form_lightbluedark.gif" class="form_field">Item</td>
365
                           <td width="1%" align="center" background="images/bg_form_lightbluedark.gif" class="form_field">Check</td>
366
                           <td width="100%" align="center" background="images/bg_form_lightbluedark.gif" class="form_field">Comment</td>
367
                        </tr>
368
                        <tr>
369
                           <td valign="top" nowrap background="images/bg_form_lightbluedark.gif" class="form_item">External references explicit (eg: pkg imports)</td>
370
                           <td valign="top" bgcolor="#FFFFFF">
371
                              <select name="mnt_s_ext_ref" class="form_item" id="mnt_s_ext_ref">
372
                                 <%=DrawItemResult( rsQry("mnt_s_ext_ref") )%>
373
                              </select>
374
                           </td>
375
                           <td bgcolor="#FFFFFF" class="form_item">
376
                           <textarea name="mnt_c_ext_ref" cols="60" rows="3" class="form_item"><%=rsQry("mnt_c_ext_ref")%></textarea></td>
377
                        </tr>
378
                        <tr>
379
                           <td valign="top" nowrap background="images/bg_form_lightbluedark.gif" class="form_item">Class size ok</td>
380
                           <td valign="top" bgcolor="#FFFFFF">
381
                              <select name="mnt_s_class_size" class="form_item" id="mnt_s_class_size">
382
                                 <%=DrawItemResult( rsQry("mnt_s_class_size") )%>
383
                              </select>
384
                           </td>
385
                           <td bgcolor="#FFFFFF" class="form_item">
386
                           <textarea name="mnt_c_class_size" cols="60" rows="3" class="form_item"><%=rsQry("mnt_c_class_size")%></textarea></td>
387
                        </tr>
388
                        <tr>
389
                           <td valign="top" nowrap background="images/bg_form_lightbluedark.gif" class="form_item">Method size ok</td>
390
                           <td valign="top" bgcolor="#FFFFFF">
391
                              <select name="mnt_s_method_size" class="form_item" id="mnt_s_method_size">
392
                                 <%=DrawItemResult( rsQry("mnt_s_method_size") )%>
393
                              </select>
394
                           </td>
395
                           <td bgcolor="#FFFFFF" class="form_item">
396
                           <textarea name="mnt_c_method_size" cols="60" rows="3" class="form_item"><%=rsQry("mnt_c_method_size")%></textarea></td>
397
                        </tr>
398
                        <tr>
399
                           <td valign="top" nowrap background="images/bg_form_lightbluedark.gif" class="form_item">Appropriate commenting</td>
400
                           <td valign="top" bgcolor="#FFFFFF">
401
                              <select name="mnt_s_approp_comm" class="form_item" id="mnt_s_approp_comm">
402
                                 <%=DrawItemResult( rsQry("mnt_s_approp_comm") )%>
403
                              </select>
404
                           </td>
405
                           <td bgcolor="#FFFFFF" class="form_item">
406
                           <textarea name="mnt_c_approp_comm" cols="60" rows="3" class="form_item"><%=rsQry("mnt_c_approp_comm")%></textarea></td>
407
                        </tr>
408
                        <tr>
409
                           <td valign="top" nowrap background="images/bg_form_lightbluedark.gif" class="form_item">Indentifiers conform to naming standards</td>
410
                           <td valign="top" bgcolor="#FFFFFF">
411
                              <select name="mnt_s_ident_name_std" class="form_item" id="mnt_s_ident_name_std">
412
                                 <%=DrawItemResult( rsQry("mnt_s_ident_name_std") )%>
413
                              </select>
414
                           </td>
415
                           <td bgcolor="#FFFFFF" class="form_item">
416
                           <textarea name="mnt_c_ident_name_std" cols="60" rows="3" class="form_item"><%=rsQry("mnt_c_ident_name_std")%></textarea></td>
417
                        </tr>
418
                        <tr>
419
                           <td valign="top" nowrap background="images/bg_form_lightbluedark.gif" class="form_item">Switch statements have defaults</td>
420
                           <td valign="top" bgcolor="#FFFFFF">
421
                              <select name="mnt_s_switch_have_defaults" class="form_item" id="mnt_s_switch_have_defaults">
422
                                 <%=DrawItemResult( rsQry("mnt_s_switch_have_defaults") )%>
423
                              </select>
424
                           </td>
425
                           <td bgcolor="#FFFFFF" class="form_item">
426
                           <textarea name="mnt_c_switch_have_defaults" cols="60" rows="3" class="form_item"><%=rsQry("mnt_c_switch_have_defaults")%></textarea></td>
427
                        </tr>
428
                        <tr>
429
                           <td valign="top" nowrap background="images/bg_form_lightbluedark.gif" class="form_item">No literal numeric constants except –1, 0, 1</td>
430
                           <td valign="top" bgcolor="#FFFFFF">
431
                              <select name="mnt_s_no_lit_num" class="form_item" id="mnt_s_no_lit_num">
432
                                 <%=DrawItemResult( rsQry("mnt_s_no_lit_num") )%>
433
                              </select>
434
                           </td>
435
                           <td bgcolor="#FFFFFF" class="form_item">
436
                           <textarea name="mnt_c_no_lit_num" cols="60" rows="3" class="form_item"><%=rsQry("mnt_c_no_lit_num")%></textarea></td>
437
                        </tr>
438
                        <tr>
439
                           <td valign="top" nowrap background="images/bg_form_lightbluedark.gif" class="form_item">No dead or unused code</td>
440
                           <td valign="top" bgcolor="#FFFFFF">
441
                              <select name="mnt_s_no_dead_code" class="form_item" id="mnt_s_no_dead_code">
442
                                 <%=DrawItemResult( rsQry("mnt_s_no_dead_code") )%>
443
                              </select>
444
                           </td>
445
                           <td bgcolor="#FFFFFF" class="form_item">
446
                           <textarea name="mnt_c_no_dead_code" cols="60" rows="3" class="form_item"><%=rsQry("mnt_c_no_dead_code")%></textarea></td>
447
                        </tr>
448
                     </table>
449
                     <br>
450
                     <br>
451
                     <table width="100%"  border="0" cellspacing="1" cellpadding="4">
452
                        <tr align="center">
453
                           <td colspan="3" class="form_ttl" background="images/bg_form_lightbluedark.gif">Design Issues </td>
454
                        </tr>
455
                        <tr>
456
                           <td width="1%" align="center" background="images/bg_form_lightbluedark.gif" class="form_field">Item</td>
457
                           <td width="1%" align="center" background="images/bg_form_lightbluedark.gif" class="form_field">Check</td>
458
                           <td width="100%" align="center" background="images/bg_form_lightbluedark.gif" class="form_field">Comment</td>
459
                        </tr>
460
                        <tr>
461
                           <td valign="top" nowrap background="images/bg_form_lightbluedark.gif" class="form_item">Use of standard design patterns</td>
462
                           <td valign="top" bgcolor="#FFFFFF">
463
                              <select name="dei_s_std_des_patt" class="form_item" id="dei_s_std_des_patt">
464
                                 <%=DrawItemResult( rsQry("dei_s_std_des_patt") )%>
465
                              </select>
466
                           </td>
467
                           <td bgcolor="#FFFFFF" class="form_item">
468
                           <textarea name="dei_c_std_des_patt" cols="60" rows="3" class="form_item"><%=rsQry("dei_c_std_des_patt")%></textarea></td>
469
                        </tr>
470
                        <tr>
471
                           <td valign="top" background="images/bg_form_lightbluedark.gif" class="form_item">Use of appropriate algorithms (consider performance)</td>
472
                           <td valign="top" bgcolor="#FFFFFF">
473
                              <select name="dei_s_approp_algor" class="form_item" id="dei_s_approp_algor">
474
                                 <%=DrawItemResult( rsQry("dei_s_approp_algor") )%>
475
                              </select>
476
                           </td>
477
                           <td bgcolor="#FFFFFF" class="form_item">
478
                           <textarea name="dei_c_approp_algor" cols="60" rows="3" class="form_item"><%=rsQry("dei_c_approp_algor")%></textarea></td>
479
                        </tr>
480
                        <tr>
481
                           <td valign="top" background="images/bg_form_lightbluedark.gif" class="form_item">Use of appropriate objects (consider bloat, object focus, encapsulation)</td>
482
                           <td valign="top" bgcolor="#FFFFFF">
483
                              <select name="dei_s_approp_obj" class="form_item" id="dei_s_approp_obj">
484
                                 <%=DrawItemResult( rsQry("dei_s_approp_obj") )%>
485
                              </select>
486
                           </td>
487
                           <td bgcolor="#FFFFFF" class="form_item">
488
                           <textarea name="dei_c_approp_obj" cols="60" rows="3" class="form_item"><%=rsQry("dei_c_approp_obj")%></textarea></td>
489
                        </tr>
490
                        <tr>
491
                           <td valign="top" background="images/bg_form_lightbluedark.gif" class="form_item">Appropriate user error messages</td>
492
                           <td valign="top" bgcolor="#FFFFFF">
493
                              <select name="dei_s_approp_err_msg" class="form_item" id="dei_s_approp_err_msg">
494
                                 <%=DrawItemResult( rsQry("dei_s_approp_err_msg") )%>
495
                              </select>
496
                           </td>
497
                           <td bgcolor="#FFFFFF" class="form_item">
498
                           <textarea name="dei_c_approp_err_msg" cols="60" rows="3" class="form_item"><%=rsQry("dei_c_approp_err_msg")%></textarea></td>
499
                        </tr>
500
                        <tr>
501
                           <td valign="top" nowrap background="images/bg_form_lightbluedark.gif" class="form_item">Use of standard framework components</td>
502
                           <td valign="top" bgcolor="#FFFFFF">
503
                              <select name="dei_s_std_framew_comp" class="form_item" id="dei_s_std_framew_comp">
504
                                 <%=DrawItemResult( rsQry("dei_s_std_framew_comp") )%>
505
                              </select>
506
                           </td>
507
                           <td bgcolor="#FFFFFF" class="form_item">
508
                           <textarea name="dei_c_std_framew_comp" cols="60" rows="3" class="form_item"><%=rsQry("dei_c_std_framew_comp")%></textarea></td>
509
                        </tr>
510
                        <tr>
511
                           <td valign="top" nowrap background="images/bg_form_lightbluedark.gif" class="form_item">Appropriate logging</td>
512
                           <td valign="top" bgcolor="#FFFFFF">
513
                              <select name="dei_s_approp_logging" class="form_item" id="dei_s_approp_logging">
514
                                 <%=DrawItemResult( rsQry("dei_s_approp_logging") )%>
515
                              </select>
516
                           </td>
517
                           <td bgcolor="#FFFFFF" class="form_item">
518
                           <textarea name="dei_c_approp_logging" cols="60" rows="3" class="form_item"><%=rsQry("dei_c_approp_logging")%></textarea></td>
519
                        </tr>
520
                     </table>
521
                     <br>
522
                     <br>
523
                  </td>
524
               </tr>
119 ghuddy 525
            </table>
129 ghuddy 526
         </td>
527
      </tr>
528
      <tr>
529
         <td height="1%" width="1%"><img src="images/h_trsp_dot.gif" width="5" height="5"></td>
530
         <td valign="top" nowrap colspan="3" class="wform_ttl" background="images/lbox_bg_blue.gif" align="right">
531
            <input type="submit" name="btn" value="Save" class="form_btn">
532
            <input type="reset" name="btn" value="Close" class="form_btn" onclick="self.close()">
533
         </td>
534
      </tr>
535
   </table>
536
   <input type="hidden" name="action" value="true">
537
   <input type="hidden" name="pv_id" value="<%=parPv_id%>">
538
   <input type="hidden" name="rtag_id" value="<%=parRtag_id%>">
539
</form>
119 ghuddy 540
</body>
541
</html>
542
<%rsQry.Close
543
Set rsQry = Nothing%>
544
 
545
 
546
<!-- DESTRUCTOR ------->
129 ghuddy 547
<!--#include file="common/destructor.asp"-->