| 119 |
ghuddy |
1 |
<%@LANGUAGE="VBSCRIPT"%>
|
|
|
2 |
<%
|
|
|
3 |
Option explicit
|
|
|
4 |
Response.Expires = 0 ' always load the page, dont store
|
|
|
5 |
%>
|
|
|
6 |
<%
|
|
|
7 |
'=====================================================
|
|
|
8 |
' Code Review
|
|
|
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 pkgName
|
|
|
31 |
Dim pkgVersion
|
|
|
32 |
Dim isDLocked
|
|
|
33 |
Dim pageIsEditable
|
|
|
34 |
'------------ Constants Declaration -----------
|
|
|
35 |
'------------ Variable Init -------------------
|
|
|
36 |
parPv_id = Request("pv_id")
|
|
|
37 |
parRtag_id = Request("rtag_id")
|
|
|
38 |
'----------------------------------------------
|
|
|
39 |
%>
|
|
|
40 |
<%
|
|
|
41 |
'-----------------------------------------------------------------------------------------------------------------------------------
|
|
|
42 |
Sub GetCodeReview ( nPv_id, oRS )
|
|
|
43 |
Dim Query_String
|
|
|
44 |
Query_String = _
|
|
|
45 |
" SELECT * FROM CODE_REVIEWS WHERE pv_id = :PV_ID"
|
|
|
46 |
Query_String = Replace( Query_String, ":PV_ID", nPv_id )
|
|
|
47 |
|
|
|
48 |
Set oRS = OraDatabase.CreateDynaset( Query_String, cint(0))
|
|
|
49 |
End Sub
|
|
|
50 |
'-----------------------------------------------------------------------------------------------------------------------------------
|
|
|
51 |
Function DecodeItemResult ( cCheck )
|
|
|
52 |
|
|
|
53 |
Select Case cCheck
|
|
|
54 |
Case enumCODE_REVIEW_PASS
|
|
|
55 |
DecodeItemResult = "<option>Pass</option>"
|
|
|
56 |
Case enumCODE_REVIEW_FAIL
|
|
|
57 |
DecodeItemResult = "<option>Fail</option>"
|
|
|
58 |
Case Else
|
|
|
59 |
DecodeItemResult = "<option></option>"
|
|
|
60 |
End Select
|
|
|
61 |
|
|
|
62 |
End Function
|
|
|
63 |
'-----------------------------------------------------------------------------------------------------------------------------------
|
|
|
64 |
Function DecodeOverallResult ( ByVal cCheck )
|
|
|
65 |
If cCheck = "" OR IsNull(cCheck) Then cCheck = 0
|
|
|
66 |
|
|
|
67 |
Select Case CInt( cCheck )
|
|
|
68 |
Case enumCODE_REVIEW_ACCEPTED
|
|
|
69 |
DecodeOverallResult = "<option>Accepted</option>"
|
|
|
70 |
Case enumCODE_REVIEW_MINOR_UPDATES
|
|
|
71 |
DecodeOverallResult = "<option>Minor updates required</option>"
|
|
|
72 |
Case enumCODE_REVIEW_MAJOR_REWORK
|
|
|
73 |
DecodeOverallResult = "<option>Major rework required</option>"
|
|
|
74 |
Case Else
|
|
|
75 |
DecodeOverallResult = "<option></option>"
|
|
|
76 |
End Select
|
|
|
77 |
|
|
|
78 |
End Function
|
|
|
79 |
'-----------------------------------------------------------------------------------------------------------------------------------
|
|
|
80 |
Function ConstructSQL ( nPv_id, sQuery )
|
|
|
81 |
Dim SQLqry, arrLineSplit, arrParamSplit, line
|
|
|
82 |
Const localPARAM_SPLIT = ":"
|
|
|
83 |
|
|
|
84 |
SQLqry = ReadFile( sQuery )
|
|
|
85 |
|
|
|
86 |
arrLineSplit = Split ( SQLqry, VBNewLine )
|
|
|
87 |
|
|
|
88 |
For Each line in arrLineSplit
|
|
|
89 |
arrParamSplit = Split ( line, localPARAM_SPLIT ) ' Split the line with ":" e.g. some_column = ':param_name:',
|
|
|
90 |
If Ubound( arrParamSplit ) > 0 Then
|
|
|
91 |
SQLqry = Replace( SQLqry, localPARAM_SPLIT & arrParamSplit( 1 ) & localPARAM_SPLIT, Replace( Request( arrParamSplit( 1 ) ), "'", "''") )
|
|
|
92 |
End If
|
|
|
93 |
Next
|
|
|
94 |
|
|
|
95 |
ConstructSQL = SQLqry
|
|
|
96 |
|
|
|
97 |
End Function
|
|
|
98 |
'-----------------------------------------------------------------------------------------------------------------------------------
|
|
|
99 |
Sub UpdateCodeReview ( nPv_id )
|
|
|
100 |
Dim SQLstr
|
|
|
101 |
SQLstr = ConstructSQL ( nPv_id, rootPath & "queries\update_code_review.sql" )
|
|
|
102 |
|
|
|
103 |
OraSession.BeginTrans
|
|
|
104 |
OraDatabase.ExecuteSQL SQLstr
|
|
|
105 |
OraSession.CommitTrans
|
|
|
106 |
|
|
|
107 |
End Sub
|
|
|
108 |
'-----------------------------------------------------------------------------------------------------------------------------------
|
|
|
109 |
%>
|
|
|
110 |
<%
|
|
|
111 |
'------------ Action Requirements -------------------
|
|
|
112 |
'Process submition
|
|
|
113 |
If CBool(Request("action")) AND objAccessControl.UserLogedIn Then
|
|
|
114 |
Call UpdateCodeReview ( parPv_id )
|
|
|
115 |
Call OpenInParentWindow ("fixed_issues.asp?pv_id="& parPv_id &"&rtag_id="& parRtag_id )
|
|
|
116 |
'Call CloseWindow
|
|
|
117 |
|
|
|
118 |
End If
|
|
|
119 |
|
|
|
120 |
Call Get_Pkg_Short_Info( parPv_id, NULL, pkgName, pkgVersion, NULL, NULL, isDLocked )
|
|
|
121 |
Call GetCodeReview ( parPv_id, rsQry )
|
|
|
122 |
pageIsEditable = Is_Page_Editable ( isDLocked )
|
|
|
123 |
%>
|
|
|
124 |
<html>
|
|
|
125 |
<head>
|
|
|
126 |
<title>Release Manager</title>
|
|
|
127 |
<meta HTTP-EQUIV="Pragma" CONTENT="no-cache">
|
|
|
128 |
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
|
|
129 |
<link rel="stylesheet" href="images/release_manager_style.css" type="text/css">
|
|
|
130 |
<link rel="stylesheet" href="images/navigation.css" type="text/css">
|
|
|
131 |
<script language="JavaScript" src="images/common.js"></script>
|
|
|
132 |
<!-- TIPS -->
|
|
|
133 |
<script language="JavaScript" src="images/tipster.js"></script>
|
|
|
134 |
<script language="JavaScript" src="images/_help_tips.js"></script>
|
|
|
135 |
</head>
|
|
|
136 |
<body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0" onload="self.focus();">
|
|
|
137 |
<!-- TIPS LAYERS -------------------------------------->
|
|
|
138 |
<div id="formTipsLayer" style="position: absolute; z-index: 1000; visibility: hidden; left:0; top: 0; width: 10"> </div>
|
|
|
139 |
<!----------------------------------------------------->
|
|
|
140 |
<form action="_wform_update_code_review.asp" method="post" name="codereview">
|
|
|
141 |
<table width="100%" border="0" cellspacing="0" cellpadding="2" height="100%">
|
|
|
142 |
<tr>
|
|
|
143 |
<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>
|
|
|
144 |
<td width="1%" background="images/lbox_bg_blue.gif" nowrap class="wform_ttl"> Code Review for <%=pkgName%> <%=pkgVersion%> </td>
|
|
|
145 |
<td width="100%" background="images/lbox_bg_blue.gif" align="right" nowrap class="wform_ttl">
|
|
|
146 |
<input type="submit" name="btn" value="Edit" <%If pageIsEditable Then%>class="form_btn"<%Else%>disabled class="form_btn_disabled"<%End If%>>
|
|
|
147 |
<input type="reset" name="btn" value="Close" class="form_btn" onclick="self.close()">
|
|
|
148 |
</td>
|
|
|
149 |
<td background="images/lbox_bg_blue.gif" align="right" width="1%" nowrap><img src="images/h_trsp_dot.gif" width="5" height="22"></td>
|
|
|
150 |
</tr>
|
|
|
151 |
<tr>
|
|
|
152 |
<td height="100%" width="1%"> </td>
|
|
|
153 |
<td valign="top" nowrap colspan="3" class="wform_ttl" background="images/bg_form_lightgray.gif">
|
|
|
154 |
<br>
|
|
|
155 |
<br>
|
|
|
156 |
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
|
|
157 |
<tr>
|
|
|
158 |
<td width="1%"><img src="images/h_trsp_dot.gif" width="10" height="30"></td>
|
|
|
159 |
<td width="100%">
|
|
|
160 |
<table width="100%" border="0" cellspacing="1" cellpadding="4">
|
|
|
161 |
<tr align="center">
|
|
|
162 |
<td colspan="4" class="form_ttl" background="images/bg_form_lightbluedark.gif">Summary</td>
|
|
|
163 |
</tr>
|
|
|
164 |
<tr>
|
|
|
165 |
<td width="1%" align="right" nowrap background="images/bg_form_lightbluedark.gif" class="form_field">Date of Review</td>
|
|
|
166 |
<td width="1%" nowrap bgcolor="#FFFFFF" class="form_item"><%=EuroDate ( rsQry("date_of_review") )%> </td>
|
|
|
167 |
<td width="1%" align="right" nowrap background="images/bg_form_lightbluedark.gif" class="form_field"> Time Spent</td>
|
|
|
168 |
<td width="100%" bgcolor="#FFFFFF" class="form_item"><%=rsQry("time_spent")%> hrs </td>
|
|
|
169 |
</tr>
|
|
|
170 |
<tr>
|
|
|
171 |
<td align="right" valign="top" nowrap background="images/bg_form_lightbluedark.gif" class="form_field">Reason for Review</td>
|
|
|
172 |
<td colspan="3" bgcolor="#FFFFFF" class="form_item"><%=NewLine_To_BR( To_HTML( rsQry("review_reason") ))%></td>
|
|
|
173 |
</tr>
|
|
|
174 |
<tr>
|
|
|
175 |
<td rowspan="4" align="right" nowrap background="images/bg_form_lightbluedark.gif" class="form_field">Review Team </td>
|
|
|
176 |
<td align="right" nowrap background="images/bg_form_lightbluedark.gif" class="form_field">Domain Expert </td>
|
|
|
177 |
<td colspan="2" bgcolor="#FFFFFF" class="form_item"><%=NewLine_To_BR( To_HTML( rsQry("rteam_domain_expert") ))%></td>
|
|
|
178 |
</tr>
|
|
|
179 |
<tr>
|
|
|
180 |
<td align="right" nowrap background="images/bg_form_lightbluedark.gif" class="form_field">Language Expert </td>
|
|
|
181 |
<td colspan="2" bgcolor="#FFFFFF" class="form_item"><%=NewLine_To_BR( To_HTML( rsQry("rteam_language_expert") ))%></td>
|
|
|
182 |
</tr>
|
|
|
183 |
<tr>
|
|
|
184 |
<td align="right" nowrap background="images/bg_form_lightbluedark.gif" class="form_field">Peer Developer </td>
|
|
|
185 |
<td colspan="2" bgcolor="#FFFFFF" class="form_item"><%=NewLine_To_BR( To_HTML( rsQry("rteam_peer_developer") ))%></td>
|
|
|
186 |
</tr>
|
|
|
187 |
<tr>
|
|
|
188 |
<td align="right" nowrap background="images/bg_form_lightbluedark.gif" class="form_field">Author</td>
|
|
|
189 |
<td colspan="2" bgcolor="#FFFFFF" class="form_item"><%=NewLine_To_BR( To_HTML( rsQry("rteam_author") ))%></td>
|
|
|
190 |
</tr>
|
|
|
191 |
<tr>
|
|
|
192 |
<td align="right" nowrap background="images/bg_form_lightbluedark.gif" class="form_field">Files Reviewed</td>
|
|
|
193 |
<td colspan="3" bgcolor="#FFFFFF" class="form_item"><%=NewLine_To_BR( To_HTML( rsQry("files_reviewed") ))%></td>
|
|
|
194 |
</tr>
|
|
|
195 |
<tr>
|
|
|
196 |
<td align="right" nowrap background="images/bg_form_lightbluedark.gif" class="form_field">Review Results </td>
|
|
|
197 |
<td colspan="3" bgcolor="#FFFFFF" class="form_item"><select name="review_results" disabled class="form_item" id="review_results">
|
|
|
198 |
<%=DecodeOverallResult( rsQry("review_results") )%>
|
|
|
199 |
</select></td>
|
|
|
200 |
</tr>
|
|
|
201 |
<tr>
|
|
|
202 |
<td align="right" nowrap background="images/bg_form_lightbluedark.gif" class="form_field">Issues Raised </td>
|
|
|
203 |
<td colspan="3" bgcolor="#FFFFFF" class="form_item"><%=NewLine_To_BR( To_HTML( rsQry("issues_raised") ))%></td>
|
|
|
204 |
</tr>
|
|
|
205 |
<tr>
|
|
|
206 |
<td align="right" nowrap background="images/bg_form_lightbluedark.gif" class="form_field">Comments</td>
|
|
|
207 |
<td colspan="3" bgcolor="#FFFFFF" class="form_item"><%=NewLine_To_BR( To_HTML( rsQry("review_comments") ))%></td>
|
|
|
208 |
</tr>
|
|
|
209 |
</table>
|
|
|
210 |
<br>
|
|
|
211 |
<br>
|
|
|
212 |
<table width="100%" border="0" cellspacing="1" cellpadding="4">
|
|
|
213 |
<tr align="center">
|
|
|
214 |
<td colspan="3" class="form_ttl" background="images/bg_form_lightbluedark.gif">Functionality</td>
|
|
|
215 |
</tr>
|
|
|
216 |
<tr>
|
|
|
217 |
<td width="1%" align="center" background="images/bg_form_lightbluedark.gif" class="form_field">Item</td>
|
|
|
218 |
<td width="1%" align="center" background="images/bg_form_lightbluedark.gif" class="form_field">Check</td>
|
|
|
219 |
<td width="100%" align="center" background="images/bg_form_lightbluedark.gif" class="form_field">Comment</td>
|
|
|
220 |
</tr>
|
|
|
221 |
<tr>
|
|
|
222 |
<td valign="top" nowrap background="images/bg_form_lightbluedark.gif" class="form_item">Meets required functionality </td>
|
|
|
223 |
<td valign="top" bgcolor="#FFFFFF"><select name="fnc_s_meets_functionality" disabled class="form_item" id="fnc_s_meets_functionality">
|
|
|
224 |
<%=DecodeItemResult( rsQry("fnc_s_meets_functionality") )%>
|
|
|
225 |
</select></td>
|
|
|
226 |
<td bgcolor="#FFFFFF" class="form_item"><%=NewLine_To_BR( To_HTML( rsQry("fnc_c_meets_functionality") ))%></td>
|
|
|
227 |
</tr>
|
|
|
228 |
</table>
|
|
|
229 |
<br>
|
|
|
230 |
<br>
|
|
|
231 |
<table width="100%" border="0" cellspacing="1" cellpadding="4">
|
|
|
232 |
<tr align="center">
|
|
|
233 |
<td colspan="3" class="form_ttl" background="images/bg_form_lightbluedark.gif">Robustness</td>
|
|
|
234 |
</tr>
|
|
|
235 |
<tr>
|
|
|
236 |
<td width="1%" align="center" background="images/bg_form_lightbluedark.gif" class="form_field">Item</td>
|
|
|
237 |
<td width="1%" align="center" background="images/bg_form_lightbluedark.gif" class="form_field">Check</td>
|
|
|
238 |
<td width="100%" align="center" background="images/bg_form_lightbluedark.gif" class="form_field">Comment</td>
|
|
|
239 |
</tr>
|
|
|
240 |
<tr>
|
|
|
241 |
<td valign="top" nowrap background="images/bg_form_lightbluedark.gif" class="form_item">Boundary conditions handled </td>
|
|
|
242 |
<td valign="top" bgcolor="#FFFFFF"><select name="rbs_s_bound_cond_handled" disabled class="form_item" id="rbs_s_bound_cond_handled">
|
|
|
243 |
<%=DecodeItemResult( rsQry("rbs_s_bound_cond_handled") )%>
|
|
|
244 |
</select></td>
|
|
|
245 |
<td bgcolor="#FFFFFF" class="form_item"><%=NewLine_To_BR( To_HTML( rsQry("rbs_c_bound_cond_handled") ))%></td>
|
|
|
246 |
</tr>
|
|
|
247 |
<tr>
|
|
|
248 |
<td valign="top" nowrap background="images/bg_form_lightbluedark.gif" class="form_item">Class interface preconditions tested</td>
|
|
|
249 |
<td valign="top" bgcolor="#FFFFFF"><select name="rbs_s_class_interf_precond" disabled class="form_item" id="rbs_s_class_interf_precond">
|
|
|
250 |
<%=DecodeItemResult( rsQry("rbs_s_class_interf_precond") )%>
|
|
|
251 |
</select></td>
|
|
|
252 |
<td bgcolor="#FFFFFF" class="form_item"><%=NewLine_To_BR( To_HTML( rsQry("rbs_c_class_interf_precond") ))%></td>
|
|
|
253 |
</tr>
|
|
|
254 |
<tr>
|
|
|
255 |
<td valign="top" nowrap background="images/bg_form_lightbluedark.gif" class="form_item">No unititalised data</td>
|
|
|
256 |
<td valign="top" bgcolor="#FFFFFF"><select name="rbs_s_no_unitialised_date" disabled class="form_item" id="rbs_s_no_unitialised_date">
|
|
|
257 |
<%=DecodeItemResult( rsQry("rbs_s_no_unitialised_date") )%>
|
|
|
258 |
</select></td>
|
|
|
259 |
<td bgcolor="#FFFFFF" class="form_item"><%=NewLine_To_BR( To_HTML( rsQry("rbs_c_no_unitialised_date") ))%></td>
|
|
|
260 |
</tr>
|
|
|
261 |
<tr>
|
|
|
262 |
<td valign="top" nowrap background="images/bg_form_lightbluedark.gif" class="form_item">Exception handling</td>
|
|
|
263 |
<td valign="top" bgcolor="#FFFFFF"><select name="rbs_s_excep_handing" disabled class="form_item" id="rbs_s_excep_handing">
|
|
|
264 |
<%=DecodeItemResult( rsQry("rbs_s_excep_handing") )%>
|
|
|
265 |
</select></td>
|
|
|
266 |
<td bgcolor="#FFFFFF" class="form_item"><%=NewLine_To_BR( To_HTML( rsQry("rbs_c_excep_handing") ))%></td>
|
|
|
267 |
</tr>
|
|
|
268 |
<tr>
|
|
|
269 |
<td valign="top" nowrap background="images/bg_form_lightbluedark.gif" class="form_item">Resource mgt (db cxn, memory)</td>
|
|
|
270 |
<td valign="top" bgcolor="#FFFFFF"><select name="rbs_s_resource_mng" disabled class="form_item" id="rbs_s_resource_mng">
|
|
|
271 |
<%=DecodeItemResult( rsQry("rbs_s_resource_mng") )%>
|
|
|
272 |
</select></td>
|
|
|
273 |
<td bgcolor="#FFFFFF" class="form_item"><%=NewLine_To_BR( To_HTML( rsQry("rbs_c_resource_mng") ))%></td>
|
|
|
274 |
</tr>
|
|
|
275 |
<tr>
|
|
|
276 |
<td valign="top" nowrap background="images/bg_form_lightbluedark.gif" class="form_item">Transaction completeness</td>
|
|
|
277 |
<td valign="top" bgcolor="#FFFFFF"><select name="rbs_s_trans_complet" disabled class="form_item" id="rbs_s_trans_complet">
|
|
|
278 |
<%=DecodeItemResult( rsQry("rbs_s_trans_complet") )%>
|
|
|
279 |
</select></td>
|
|
|
280 |
<td bgcolor="#FFFFFF" class="form_item"><%=NewLine_To_BR( To_HTML( rsQry("rbs_c_trans_complet") ))%></td>
|
|
|
281 |
</tr>
|
|
|
282 |
<tr>
|
|
|
283 |
<td valign="top" nowrap background="images/bg_form_lightbluedark.gif" class="form_item">Threadsafety</td>
|
|
|
284 |
<td valign="top" bgcolor="#FFFFFF"><select name="rbs_s_threadsafety" disabled class="form_item" id="rbs_s_threadsafety">
|
|
|
285 |
<%=DecodeItemResult( rsQry("rbs_s_threadsafety") )%>
|
|
|
286 |
</select></td>
|
|
|
287 |
<td bgcolor="#FFFFFF" class="form_item"><%=NewLine_To_BR( To_HTML( rsQry("rbs_c_threadsafety") ))%></td>
|
|
|
288 |
</tr>
|
|
|
289 |
<tr>
|
|
|
290 |
<td valign="top" nowrap background="images/bg_form_lightbluedark.gif" class="form_item">Return values (where appropriate)</td>
|
|
|
291 |
<td valign="top" bgcolor="#FFFFFF"><select name="rbs_s_ret_vals" disabled class="form_item" id="rbs_s_ret_vals">
|
|
|
292 |
<%=DecodeItemResult( rsQry("rbs_s_ret_vals") )%>
|
|
|
293 |
</select></td>
|
|
|
294 |
<td bgcolor="#FFFFFF" class="form_item"><%=NewLine_To_BR( To_HTML( rsQry("rbs_c_ret_vals") ))%></td>
|
|
|
295 |
</tr>
|
|
|
296 |
<tr>
|
|
|
297 |
<td valign="top" nowrap background="images/bg_form_lightbluedark.gif" class="form_item">Correct err handling at Subsys bdys</td>
|
|
|
298 |
<td valign="top" bgcolor="#FFFFFF"><select name="rbs_s_corr_err_handling" disabled class="form_item" id="rbs_s_corr_err_handling">
|
|
|
299 |
<%=DecodeItemResult( rsQry("rbs_s_corr_err_handling") )%>
|
|
|
300 |
</select></td>
|
|
|
301 |
<td bgcolor="#FFFFFF" class="form_item"><%=NewLine_To_BR( To_HTML( rsQry("rbs_c_corr_err_handling") ))%></td>
|
|
|
302 |
</tr>
|
|
|
303 |
<tr>
|
|
|
304 |
<td valign="top" nowrap background="images/bg_form_lightbluedark.gif" class="form_item">SQL correct and conforming to standards</td>
|
|
|
305 |
<td valign="top" bgcolor="#FFFFFF"><select name="rbs_s_sql_std" disabled class="form_item" id="rbs_s_sql_std">
|
|
|
306 |
<%=DecodeItemResult( rsQry("rbs_s_sql_std") )%>
|
|
|
307 |
</select></td>
|
|
|
308 |
<td bgcolor="#FFFFFF" class="form_item"><%=NewLine_To_BR( To_HTML( rsQry("rbs_c_sql_std") ))%></td>
|
|
|
309 |
</tr>
|
|
|
310 |
</table>
|
|
|
311 |
<br>
|
|
|
312 |
<br>
|
|
|
313 |
<table width="100%" border="0" cellspacing="1" cellpadding="4">
|
|
|
314 |
<tr align="center">
|
|
|
315 |
<td colspan="3" class="form_ttl" background="images/bg_form_lightbluedark.gif">Maintainability</td>
|
|
|
316 |
</tr>
|
|
|
317 |
<tr>
|
|
|
318 |
<td width="1%" align="center" background="images/bg_form_lightbluedark.gif" class="form_field">Item</td>
|
|
|
319 |
<td width="1%" align="center" background="images/bg_form_lightbluedark.gif" class="form_field">Check</td>
|
|
|
320 |
<td width="100%" align="center" background="images/bg_form_lightbluedark.gif" class="form_field">Comment</td>
|
|
|
321 |
</tr>
|
|
|
322 |
<tr>
|
|
|
323 |
<td valign="top" nowrap background="images/bg_form_lightbluedark.gif" class="form_item">External references explicit (eg: pkg imports)</td>
|
|
|
324 |
<td valign="top" bgcolor="#FFFFFF"><select name="mnt_s_ext_ref" disabled class="form_item" id="mnt_s_ext_ref">
|
|
|
325 |
<%=DecodeItemResult( rsQry("mnt_s_ext_ref") )%>
|
|
|
326 |
</select></td>
|
|
|
327 |
<td bgcolor="#FFFFFF" class="form_item"><%=NewLine_To_BR( To_HTML( rsQry("mnt_c_ext_ref") ))%></td>
|
|
|
328 |
</tr>
|
|
|
329 |
<tr>
|
|
|
330 |
<td valign="top" nowrap background="images/bg_form_lightbluedark.gif" class="form_item">Class size ok</td>
|
|
|
331 |
<td valign="top" bgcolor="#FFFFFF"><select name="mnt_s_class_size" disabled class="form_item" id="mnt_s_class_size">
|
|
|
332 |
<%=DecodeItemResult( rsQry("mnt_s_class_size") )%>
|
|
|
333 |
</select></td>
|
|
|
334 |
<td bgcolor="#FFFFFF" class="form_item"><%=NewLine_To_BR( To_HTML( rsQry("mnt_c_class_size") ))%></td>
|
|
|
335 |
</tr>
|
|
|
336 |
<tr>
|
|
|
337 |
<td valign="top" nowrap background="images/bg_form_lightbluedark.gif" class="form_item">Method size ok</td>
|
|
|
338 |
<td valign="top" bgcolor="#FFFFFF"><select name="mnt_s_method_size" disabled class="form_item" id="mnt_s_method_size">
|
|
|
339 |
<%=DecodeItemResult( rsQry("mnt_s_method_size") )%>
|
|
|
340 |
</select></td>
|
|
|
341 |
<td bgcolor="#FFFFFF" class="form_item"><%=NewLine_To_BR( To_HTML( rsQry("mnt_c_method_size") ))%></td>
|
|
|
342 |
</tr>
|
|
|
343 |
<tr>
|
|
|
344 |
<td valign="top" nowrap background="images/bg_form_lightbluedark.gif" class="form_item">Appropriate commenting</td>
|
|
|
345 |
<td valign="top" bgcolor="#FFFFFF"><select name="mnt_s_approp_comm" disabled class="form_item" id="mnt_s_approp_comm">
|
|
|
346 |
<%=DecodeItemResult( rsQry("mnt_s_approp_comm") )%>
|
|
|
347 |
</select></td>
|
|
|
348 |
<td bgcolor="#FFFFFF" class="form_item"><%=NewLine_To_BR( To_HTML( rsQry("mnt_c_approp_comm") ))%></td>
|
|
|
349 |
</tr>
|
|
|
350 |
<tr>
|
|
|
351 |
<td valign="top" nowrap background="images/bg_form_lightbluedark.gif" class="form_item">Indentifiers conform to naming standards</td>
|
|
|
352 |
<td valign="top" bgcolor="#FFFFFF"><select name="mnt_s_ident_name_std" disabled class="form_item" id="mnt_s_ident_name_std">
|
|
|
353 |
<%=DecodeItemResult( rsQry("mnt_s_ident_name_std") )%>
|
|
|
354 |
</select></td>
|
|
|
355 |
<td bgcolor="#FFFFFF" class="form_item"><%=NewLine_To_BR( To_HTML( rsQry("mnt_c_ident_name_std") ))%></td>
|
|
|
356 |
</tr>
|
|
|
357 |
<tr>
|
|
|
358 |
<td valign="top" nowrap background="images/bg_form_lightbluedark.gif" class="form_item">Switch statements have defaults</td>
|
|
|
359 |
<td valign="top" bgcolor="#FFFFFF"><select name="mnt_s_switch_have_defaults" disabled class="form_item" id="mnt_s_switch_have_defaults">
|
|
|
360 |
<%=DecodeItemResult( rsQry("mnt_s_switch_have_defaults") )%>
|
|
|
361 |
</select></td>
|
|
|
362 |
<td bgcolor="#FFFFFF" class="form_item"><%=NewLine_To_BR( To_HTML( rsQry("mnt_c_switch_have_defaults") ))%></td>
|
|
|
363 |
</tr>
|
|
|
364 |
<tr>
|
|
|
365 |
<td valign="top" nowrap background="images/bg_form_lightbluedark.gif" class="form_item">No literal numeric constants except 1, 0, 1</td>
|
|
|
366 |
<td valign="top" bgcolor="#FFFFFF"><select name="mnt_s_no_lit_num" disabled class="form_item" id="mnt_s_no_lit_num">
|
|
|
367 |
<%=DecodeItemResult( rsQry("mnt_s_no_lit_num") )%>
|
|
|
368 |
</select></td>
|
|
|
369 |
<td bgcolor="#FFFFFF" class="form_item"><%=NewLine_To_BR( To_HTML( rsQry("mnt_c_no_lit_num") ))%></td>
|
|
|
370 |
</tr>
|
|
|
371 |
<tr>
|
|
|
372 |
<td valign="top" nowrap background="images/bg_form_lightbluedark.gif" class="form_item">No dead or unused code</td>
|
|
|
373 |
<td valign="top" bgcolor="#FFFFFF"><select name="mnt_s_no_dead_code" disabled class="form_item" id="mnt_s_no_dead_code">
|
|
|
374 |
<%=DecodeItemResult( rsQry("mnt_s_no_dead_code") )%>
|
|
|
375 |
</select></td>
|
|
|
376 |
<td bgcolor="#FFFFFF" class="form_item"><%=NewLine_To_BR( To_HTML( rsQry("mnt_c_no_dead_code") ))%></td>
|
|
|
377 |
</tr>
|
|
|
378 |
</table>
|
|
|
379 |
<br>
|
|
|
380 |
<br>
|
|
|
381 |
<table width="100%" border="0" cellspacing="1" cellpadding="4">
|
|
|
382 |
<tr align="center">
|
|
|
383 |
<td colspan="3" class="form_ttl" background="images/bg_form_lightbluedark.gif">Design Issues </td>
|
|
|
384 |
</tr>
|
|
|
385 |
<tr>
|
|
|
386 |
<td width="1%" align="center" background="images/bg_form_lightbluedark.gif" class="form_field">Item</td>
|
|
|
387 |
<td width="1%" align="center" background="images/bg_form_lightbluedark.gif" class="form_field">Check</td>
|
|
|
388 |
<td width="100%" align="center" background="images/bg_form_lightbluedark.gif" class="form_field">Comment</td>
|
|
|
389 |
</tr>
|
|
|
390 |
<tr>
|
|
|
391 |
<td valign="top" nowrap background="images/bg_form_lightbluedark.gif" class="form_item">Use of standard design patterns</td>
|
|
|
392 |
<td valign="top" bgcolor="#FFFFFF"><select name="dei_s_std_des_patt" disabled class="form_item" id="dei_s_std_des_patt">
|
|
|
393 |
<%=DecodeItemResult( rsQry("dei_s_std_des_patt") )%>
|
|
|
394 |
</select></td>
|
|
|
395 |
<td bgcolor="#FFFFFF" class="form_item"><%=NewLine_To_BR( To_HTML( rsQry("dei_c_std_des_patt") ))%></td>
|
|
|
396 |
</tr>
|
|
|
397 |
<tr>
|
|
|
398 |
<td valign="top" background="images/bg_form_lightbluedark.gif" class="form_item">Use of appropriate algorithms (consider performance)</td>
|
|
|
399 |
<td valign="top" bgcolor="#FFFFFF"><select name="dei_s_approp_algor" disabled class="form_item" id="dei_s_approp_algor">
|
|
|
400 |
<%=DecodeItemResult( rsQry("dei_s_approp_algor") )%>
|
|
|
401 |
</select></td>
|
|
|
402 |
<td bgcolor="#FFFFFF" class="form_item"><%=NewLine_To_BR( To_HTML( rsQry("dei_c_approp_algor") ))%></td>
|
|
|
403 |
</tr>
|
|
|
404 |
<tr>
|
|
|
405 |
<td valign="top" background="images/bg_form_lightbluedark.gif" class="form_item">Use of appropriate objects (consider bloat, object focus, encapsulation)</td>
|
|
|
406 |
<td valign="top" bgcolor="#FFFFFF"><select name="dei_s_approp_obj" disabled class="form_item" id="dei_s_approp_obj">
|
|
|
407 |
<%=DecodeItemResult( rsQry("dei_s_approp_obj") )%>
|
|
|
408 |
</select></td>
|
|
|
409 |
<td bgcolor="#FFFFFF" class="form_item"><%=NewLine_To_BR( To_HTML( rsQry("dei_c_approp_obj") ))%></td>
|
|
|
410 |
</tr>
|
|
|
411 |
<tr>
|
|
|
412 |
<td valign="top" background="images/bg_form_lightbluedark.gif" class="form_item">Appropriate user error messages</td>
|
|
|
413 |
<td valign="top" bgcolor="#FFFFFF"><select name="dei_s_approp_err_msg" disabled class="form_item" id="dei_s_approp_err_msg">
|
|
|
414 |
<%=DecodeItemResult( rsQry("dei_s_approp_err_msg") )%>
|
|
|
415 |
</select></td>
|
|
|
416 |
<td bgcolor="#FFFFFF" class="form_item"><%=NewLine_To_BR( To_HTML( rsQry("dei_c_approp_err_msg") ))%></td>
|
|
|
417 |
</tr>
|
|
|
418 |
<tr>
|
|
|
419 |
<td valign="top" nowrap background="images/bg_form_lightbluedark.gif" class="form_item">Use of standard framework components</td>
|
|
|
420 |
<td valign="top" bgcolor="#FFFFFF"><select name="dei_s_std_framew_comp" disabled class="form_item" id="dei_s_std_framew_comp">
|
|
|
421 |
<%=DecodeItemResult( rsQry("dei_s_std_framew_comp") )%>
|
|
|
422 |
</select></td>
|
|
|
423 |
<td bgcolor="#FFFFFF" class="form_item"><%=NewLine_To_BR( To_HTML( rsQry("dei_c_std_framew_comp") ))%></td>
|
|
|
424 |
</tr>
|
|
|
425 |
<tr>
|
|
|
426 |
<td valign="top" nowrap background="images/bg_form_lightbluedark.gif" class="form_item">Appropriate logging</td>
|
|
|
427 |
<td valign="top" bgcolor="#FFFFFF"><select name="dei_s_approp_logging" disabled class="form_item" id="dei_s_approp_logging">
|
|
|
428 |
<%=DecodeItemResult( rsQry("dei_s_approp_logging") )%>
|
|
|
429 |
</select></td>
|
|
|
430 |
<td bgcolor="#FFFFFF" class="form_item"><%=NewLine_To_BR( To_HTML( rsQry("dei_c_approp_logging") ))%></td>
|
|
|
431 |
</tr>
|
|
|
432 |
</table>
|
|
|
433 |
<br>
|
|
|
434 |
<br></td>
|
|
|
435 |
</tr>
|
|
|
436 |
</table></td>
|
|
|
437 |
</tr>
|
|
|
438 |
<tr>
|
|
|
439 |
<td height="1%" width="1%"><img src="images/h_trsp_dot.gif" width="5" height="5"></td>
|
|
|
440 |
<td valign="top" nowrap colspan="3" class="wform_ttl" background="images/lbox_bg_blue.gif" align="right">
|
|
|
441 |
<input type="submit" name="btn" value="Edit" <%If pageIsEditable Then%>class="form_btn"<%Else%>disabled class="form_btn_disabled"<%End If%>>
|
|
|
442 |
<input type="reset" name="btn" value="Close" class="form_btn" onclick="self.close()">
|
|
|
443 |
</td>
|
|
|
444 |
</tr>
|
|
|
445 |
</table>
|
|
|
446 |
<input type="hidden" name="pv_id" value="<%=parPv_id%>">
|
|
|
447 |
<input type="hidden" name="rtag_id" value="<%=parRtag_id%>">
|
|
|
448 |
</form>
|
|
|
449 |
</body>
|
|
|
450 |
</html>
|
|
|
451 |
|
|
|
452 |
|
|
|
453 |
<!-- DESTRUCTOR ------->
|
|
|
454 |
<!--#include file="common/destructor.asp"-->
|