[Prolint-cvs] SF.net SVN: prolint: [264] trunk/prolint/rules
Brought to you by:
johnallengreen,
jurjen
From: <ju...@us...> - 2006-03-14 22:19:25
|
Revision: 264 Author: jurjen Date: 2006-03-14 14:19:11 -0800 (Tue, 14 Mar 2006) ViewCVS: http://svn.sourceforge.net/prolint/?rev=264&view=rev Log Message: ----------- Regression testing fixed. Rule nameconv.p fixed because it was not regression-test-friendly: it wrote fully qualified filenames in the warning. Modified Paths: -------------- trunk/prolint/regrtest/expect.log trunk/prolint/rules/nameconv.p Added Paths: ----------- trunk/prolint/settings/regression test/ trunk/prolint/settings/regression test/exclude.lst trunk/prolint/settings/regression test/handlers.d trunk/prolint/settings/regression test/no-local-settings.lk trunk/prolint/settings/regression test/nowarn.lst trunk/prolint/settings/regression test/severity.d Modified: trunk/prolint/regrtest/expect.log =================================================================== --- trunk/prolint/regrtest/expect.log 2006-03-14 22:16:37 UTC (rev 263) +++ trunk/prolint/regrtest/expect.log 2006-03-14 22:19:11 UTC (rev 264) @@ -10,6 +10,10 @@ rule=abbrevkwd; source=prolint/regrtest/abbrevkwd.i; line= 58; descr=Abbreviated BGCOL for BGCOLOR rule=abbrevkwd; source=prolint/regrtest/abbrevkwd.i; line= 61; descr=Abbreviated exclusive for EXCLUSIVE-LOCK rule=abbrevkwd; source=prolint/regrtest/defaultname.w; line= 267; descr=Abbreviated MOVE-AFTER for MOVE-AFTER-TAB-ITEM +rule=abbrevkwd; source=prolint/regrtest/vardef.p; line= 6; descr=Abbreviated param for PARAMETER +rule=abbrevkwd; source=prolint/regrtest/vardef.p; line= 11; descr=Abbreviated info for INFORMATION +rule=abbrevkwd; source=prolint/regrtest/vardef.p; line= 23; descr=Abbreviated char for CHARACTER +rule=abbrevkwd; source=prolint/regrtest/vardef.p; line= 25; descr=Abbreviated char for CHARACTER rule=abbrevkwd; source=prolint/regrtest/where-udf.i; line= 3; descr=Abbreviated CHAR for CHARACTER rule=abbrevkwd; source=prolint/regrtest/where-udf.i; line= 9; descr=Abbreviated CHAR for CHARACTER rule=abbrevtable; source=prolint/regrtest/abbrevkwd.i; line= 16; descr=Abbreviation of table Customer used (custome) @@ -86,6 +90,7 @@ rule=emptyblock; source=prolint/regrtest/nowhere.i; line= 23; descr=Empty DO block rule=emptyblock; source=prolint/regrtest/oflink.i; line= 7; descr=Empty FOR block rule=emptyblock; source=prolint/regrtest/sortaccess.i; line= 5; descr=Empty FOR block +rule=emptyblock; source=prolint/regrtest/vardef.p; line= 22; descr=Empty FUNCTION block rule=emptyblock; source=prolint/regrtest/where-udf.i; line= 15; descr=Empty FOR block rule=emptyblock; source=prolint/regrtest/where-udf.i; line= 19; descr=Empty FOR block rule=emptyblock; source=prolint/regrtest/where-udf.i; line= 23; descr=Empty FOR block @@ -140,6 +145,7 @@ rule=idiskeyword; source=prolint/regrtest/idiskeyword.p; line= 19; descr=name of fields 'LENGTH' is a keyword rule=idiskeyword; source=prolint/regrtest/idiskeyword.p; line= 22; descr=name of index 'key' is a keyword rule=idiskeyword; source=prolint/regrtest/idiskeyword.p; line= 25; descr=name of buffer 'border-b' is a keyword +rule=idiskeyword; source=prolint/regrtest/vardef.p; line= 8; descr=name of variable 'Name' is a keyword rule=ifindent1; source=prolint/regrtest/dotcomment.i; line= 23; descr=#101: Node blablabla has greater indent than IF on line 22. Expected to be 0, is 1. rule=ifindent1; source=prolint/regrtest/ifindent.i; line= 27; descr=#101: Node IF has greater indent than IF on line 25. Expected to be 0, is 2. rule=ifindent1; source=prolint/regrtest/ifindent.i; line= 28; descr=#102: More indent expected for node ELSE. Node's indent should be at least 2, is 0. @@ -201,6 +207,7 @@ rule=lexcolon; source=prolint/regrtest/nocomment.i; line= 62; descr=FUNCTION block header should terminate with a COLON rule=lexcolon; source=prolint/regrtest/undoretry.p; line= 4; descr=DO block header should terminate with a COLON rule=lexcolon; source=prolint/regrtest/undoretry.p; line= 21; descr=DO block header should terminate with a COLON +rule=lexcolon; source=prolint/regrtest/vardef.p; line= 22; descr=FUNCTION block header should terminate with a COLON rule=maxchar; source=prolint/regrtest/test4.p; line= 6; descr=String constant too long for Tranman (max 188) rule=message; source=prolint/regrtest/dotcomment.i; line= 6; descr=use MESSAGE only in debug-mode rule=message; source=prolint/regrtest/dotcomment.i; line= 9; descr=use MESSAGE only in debug-mode @@ -220,6 +227,7 @@ rule=message; source=prolint/regrtest/strattrib.i; line= 51; descr=use MESSAGE only in debug-mode rule=message; source=prolint/regrtest/strattrib.i; line= 55; descr=use MESSAGE only in debug-mode rule=message; source=prolint/regrtest/strattrib.i; line= 60; descr=use MESSAGE only in debug-mode +rule=message; source=prolint/regrtest/vardef.p; line= 10; descr=use MESSAGE only in debug-mode rule=messagetype; source=prolint/regrtest/defaultname.w; line= 364; descr=ALERT BOX is missing alert type rule=messagetype; source=prolint/regrtest/dotcomment.i; line= 6; descr=ALERT BOX is missing alert type rule=messagetype; source=prolint/regrtest/dotcomment.i; line= 9; descr=ALERT BOX is missing alert type @@ -229,6 +237,172 @@ rule=messagetype; source=prolint/regrtest/dotcomment.i; line= 16; descr=ALERT BOX is missing alert type rule=messagetype; source=prolint/regrtest/message.i; line= 6; descr=ALERT BOX is missing alert type rule=messagetype; source=prolint/regrtest/message.i; line= 11; descr=ALERT BOX is missing alert type +rule=nameconv; source=prolint/regrtest/abbrevkwd.i; line= 4; descr= VARIABLE abbrev1 CHARACTER scope MAIN should start with "g" +rule=nameconv; source=prolint/regrtest/abbrevkwd.i; line= 5; descr= VARIABLE abbrev2 CHARACTER scope MAIN should start with "g" +rule=nameconv; source=prolint/regrtest/abbrevkwd.i; line= 6; descr= VARIABLE abbrev3 INTEGER scope MAIN should start with "g" +rule=nameconv; source=prolint/regrtest/abbrevkwd.i; line= 9; descr= VARIABLE abbrev4 LOGICAL scope MAIN should start with "g" +rule=nameconv; source=prolint/regrtest/abbrevkwd.i; line= 19; descr= btn_abbrevkwd scope MAIN should start with "g" +rule=nameconv; source=prolint/regrtest/abbrevkwd.i; line= 20; descr= FRAME-Abbrevkwd scope MAIN should start with "g" +rule=nameconv; source=prolint/regrtest/abbrevkwd.i; line= 41; descr= ttabbrev scope MAIN should start with "g" +rule=nameconv; source=prolint/regrtest/abbrevkwd.i; line= 46; descr= VARIABLE abbrev5 CHARACTER scope MAIN should start with "g" +rule=nameconv; source=prolint/regrtest/abbrevkwd.i; line= 55; descr= VARIABLE chAbbrevkwd COMHANDLE scope MAIN should start with "g" +rule=nameconv; source=prolint/regrtest/abbrevkwd.i; line= 56; descr= VARIABLE hbAbbrevkwd HANDLE scope MAIN should start with "g" +rule=nameconv; source=prolint/regrtest/blocklabel.i; line= 35; descr= VARIABLE hwBlocklabel WIDGETHANDLE scope MAIN should start with "g" +rule=nameconv; source=prolint/regrtest/colon-t.i; line= 3; descr= VARIABLE colont CHARACTER scope MAIN should start with "g" +rule=nameconv; source=prolint/regrtest/defaultname.w; line= 348; descr= VARIABLE UIB_S LOGICAL scope LOCAL control_load should start with "l" +rule=nameconv; source=prolint/regrtest/defaultname.w; line= 349; descr= VARIABLE OCXFile CHARACTER scope LOCAL control_load should start with "l" +rule=nameconv; source=prolint/regrtest/do1.i; line= 3; descr= VARIABLE do1_1 INTEGER scope MAIN should start with "g" +rule=nameconv; source=prolint/regrtest/do1.i; line= 4; descr= VARIABLE do1_2 INTEGER scope MAIN should start with "g" +rule=nameconv; source=prolint/regrtest/dotcomment.i; line= 4; descr= VARIABLE dotcomment DECIMAL scope MAIN should start with "g" +rule=nameconv; source=prolint/regrtest/i18nlength.i; line= 5; descr= VARIABLE i18nlength_1 CHARACTER scope MAIN should start with "g" +rule=nameconv; source=prolint/regrtest/i18nlength.i; line= 6; descr= VARIABLE i18nlength_2 INTEGER scope MAIN should start with "g" +rule=nameconv; source=prolint/regrtest/idiskeyword.p; line= 5; descr= VARIABLE X DECIMAL scope MAIN should start with "g" +rule=nameconv; source=prolint/regrtest/idiskeyword.p; line= 5; descr=X in is a Progress keyword +rule=nameconv; source=prolint/regrtest/idiskeyword.p; line= 7; descr= VARIABLE hh COMHANDLE scope MAIN should start with "g" +rule=nameconv; source=prolint/regrtest/idiskeyword.p; line= 8; descr=ERROR in is a Progress keyword +rule=nameconv; source=prolint/regrtest/idiskeyword.p; line= 8; descr=OUTPUT PARAMETER ERROR LOGICAL scope MAIN should start with "g" +rule=nameconv; source=prolint/regrtest/idiskeyword.p; line= 16; descr= OBJECT scope MAIN should start with "g" +rule=nameconv; source=prolint/regrtest/idiskeyword.p; line= 16; descr=OBJECT in is a Progress keyword +rule=nameconv; source=prolint/regrtest/idiskeyword.p; line= 24; descr= bcust-b BUFFER scope MAIN should start with "g" +rule=nameconv; source=prolint/regrtest/idiskeyword.p; line= 25; descr= border-b BUFFER scope MAIN should start with "g" +rule=nameconv; source=prolint/regrtest/idiskeyword.p; line= 25; descr=border-b in is a Progress keyword +rule=nameconv; source=prolint/regrtest/ifindentextra.i; line= 8; descr= VARIABLE i INTEGER scope MAIN should start with "g" +rule=nameconv; source=prolint/regrtest/ifparens.p; line= 2; descr= VARIABLE a INTEGER scope MAIN should start with "g" +rule=nameconv; source=prolint/regrtest/ifparens.p; line= 3; descr= VARIABLE b INTEGER scope MAIN should start with "g" +rule=nameconv; source=prolint/regrtest/message.i; line= 18; descr= MESSAGEFRAME scope MAIN should start with "g" +rule=nameconv; source=prolint/regrtest/nocomment.i; line= 54; descr=INPUT PARAMETER test1 scope LOCAL udf_nocomment_1 should start with "l" +rule=nameconv; source=prolint/regrtest/nocomment.i; line= 54; descr=INPUT PARAMETER test1 scope LOCAL udf_nocomment_1 should start with "l" +rule=nameconv; source=prolint/regrtest/nocomment.i; line= 58; descr=INPUT PARAMETER test1 scope LOCAL udf_nocomment_2 should start with "l" +rule=nameconv; source=prolint/regrtest/nocomment.i; line= 58; descr=INPUT PARAMETER test1 scope LOCAL udf_nocomment_2 should start with "l" +rule=nameconv; source=prolint/regrtest/nocomment.i; line= 62; descr=INPUT PARAMETER test1 scope LOCAL udf_nocomment_3 should start with "l" +rule=nameconv; source=prolint/regrtest/nocomment.i; line= 62; descr=INPUT PARAMETER test1 scope LOCAL udf_nocomment_3 should start with "l" +rule=nameconv; source=prolint/regrtest/nocomment.i; line= 67; descr=INPUT PARAMETER test1 scope LOCAL udf_nocomment_4 should start with "l" +rule=nameconv; source=prolint/regrtest/nocomment.i; line= 67; descr=INPUT PARAMETER test1 scope LOCAL udf_nocomment_4 should start with "l" +rule=nameconv; source=prolint/regrtest/nocomment.i; line= 74; descr= VARIABLE nocomment_var1 CHARACTER scope MAIN should start with "g" +rule=nameconv; source=prolint/regrtest/nocomment.i; line= 74; descr= VARIABLE nocomment_var1 CHARACTER scope MAIN should start with "g" +rule=nameconv; source=prolint/regrtest/nocomment.i; line= 76; descr= VARIABLE nocomment_var2 CHARACTER scope MAIN should start with "g" +rule=nameconv; source=prolint/regrtest/nocomment.i; line= 76; descr= VARIABLE nocomment_var2 CHARACTER scope MAIN should start with "g" +rule=nameconv; source=prolint/regrtest/noeffect.i; line= 5; descr= VARIABLE i_noeffect INTEGER scope MAIN should start with "g" +rule=nameconv; source=prolint/regrtest/noeffect.i; line= 6; descr= VARIABLE c_noeffect CHARACTER scope MAIN should start with "g" +rule=nameconv; source=prolint/regrtest/noeffect.i; line= 7; descr= VARIABLE h_noeffect HANDLE scope MAIN should start with "g" +rule=nameconv; source=prolint/regrtest/noundo.i; line= 5; descr= VARIABLE noundo_1 CHARACTER scope MAIN should start with "g" +rule=nameconv; source=prolint/regrtest/noundo.i; line= 6; descr= VARIABLE noundo_2 CHARACTER scope MAIN should start with "g" +rule=nameconv; source=prolint/regrtest/noundo.i; line= 8; descr= tt_noundo scope MAIN should start with "g" +rule=nameconv; source=prolint/regrtest/noundo.i; line= 16; descr=INPUT PARAMETER ip_noundo_1 CHARACTER scope LOCAL ip_noundo should start with "l" +rule=nameconv; source=prolint/regrtest/noundo.i; line= 18; descr=OUTPUT PARAMETER ip_noundo_2 CHARACTER scope LOCAL ip_noundo should start with "l" +rule=nameconv; source=prolint/regrtest/noundo.i; line= 19; descr=INPUTOUTPUT PARAMETER ip_noundo_3 LOGICAL scope LOCAL ip_noundo should start with "l" +rule=nameconv; source=prolint/regrtest/noundo.i; line= 20; descr=INPUTOUTPUT PARAMETER TABLE scope LOCAL ip_noundo should start with "l" +rule=nameconv; source=prolint/regrtest/noundo.i; line= 22; descr= VARIABLE noundo_1 CHARACTER scope LOCAL ip_noundo should start with "l" +rule=nameconv; source=prolint/regrtest/noundo.i; line= 23; descr= VARIABLE noundo_2 CHARACTER scope LOCAL ip_noundo should start with "l" +rule=nameconv; source=prolint/regrtest/noundo.i; line= 33; descr= tt_noundo2 scope MAIN should start with "g" +rule=nameconv; source=prolint/regrtest/noundo.i; line= 40; descr= tt_noundo3 scope MAIN should start with "g" +rule=nameconv; source=prolint/regrtest/noundo.i; line= 43; descr= tt_noundo4 scope MAIN should start with "g" +rule=nameconv; source=prolint/regrtest/noundo.i; line= 44; descr= tt_noundo5 scope MAIN should start with "g" +rule=nameconv; source=prolint/regrtest/noundo.i; line= 50; descr=INPUT PARAMETER ip_noundo_1 CHARACTER scope LOCAL ip_noundo3 should start with "l" +rule=nameconv; source=prolint/regrtest/noundo.i; line= 52; descr=INPUT PARAMETER ip_noundo_2 HANDLE scope LOCAL ip_noundo3 should start with "l" +rule=nameconv; source=prolint/regrtest/noundo.i; line= 54; descr=OUTPUT PARAMETER ip_noundo_3 INTEGER scope LOCAL ip_noundo3 should start with "l" +rule=nameconv; source=prolint/regrtest/noundo.i; line= 56; descr=INPUTOUTPUT PARAMETER ip_noundo_4 LOGICAL scope LOCAL ip_noundo3 should start with "l" +rule=nameconv; source=prolint/regrtest/noundo.i; line= 57; descr=OUTPUT PARAMETER ip_noundo_5 HANDLE scope LOCAL ip_noundo3 should start with "l" +rule=nameconv; source=prolint/regrtest/noundo.i; line= 59; descr=INPUT PARAMETER iph_noundo scope LOCAL ip_noundo3 should start with "l" +rule=nameconv; source=prolint/regrtest/nowhere.i; line= 4; descr= tt_nowhere scope MAIN should start with "g" +rule=nameconv; source=prolint/regrtest/nowhere.i; line= 22; descr= buf-cust BUFFER scope MAIN should start with "g" +rule=nameconv; source=prolint/regrtest/oflink.i; line= 15; descr= qoflink scope MAIN should start with "g" +rule=nameconv; source=prolint/regrtest/recid.i; line= 3; descr= VARIABLE xyz RECID scope MAIN should start with "g" +rule=nameconv; source=prolint/regrtest/runargs.i; line= 4; descr= VARIABLE runargs_1 INTEGER scope MAIN should start with "g" +rule=nameconv; source=prolint/regrtest/runargs.i; line= 6; descr= VARIABLE runargs_2 INTEGER scope MAIN should start with "g" +rule=nameconv; source=prolint/regrtest/runargs.i; line= 8; descr= VARIABLE runargs_3 INTEGER scope MAIN should start with "g" +rule=nameconv; source=prolint/regrtest/runname.i; line= 5; descr= VARIABLE hRunname HANDLE scope MAIN should start with "g" +rule=nameconv; source=prolint/regrtest/runname.i; line= 6; descr= VARIABLE vRunname CHARACTER scope MAIN should start with "g" +rule=nameconv; source=prolint/regrtest/runname.i; line= 7; descr= VARIABLE hRunnameServer HANDLE scope MAIN should start with "g" +rule=nameconv; source=prolint/regrtest/runname.i; line= 70; descr=INPUT PARAMETER cNothing CHARACTER scope LOCAL CtrlFrame.TreeView.NodeClicked should start with "l" +rule=nameconv; source=prolint/regrtest/sepdbui.i; line= 5; descr= tt_sepdbui scope MAIN should start with "g" +rule=nameconv; source=prolint/regrtest/shared.i; line= 12; descr= VARIABLE shared_a HANDLE scope MAIN should start with "g" +rule=nameconv; source=prolint/regrtest/shared.i; line= 13; descr= VARIABLE shared_c HANDLE scope SHARED should start with "l" +rule=nameconv; source=prolint/regrtest/shared.i; line= 14; descr= VARIABLE shared_d HANDLE scope MAIN should start with "g" +rule=nameconv; source=prolint/regrtest/shared.i; line= 16; descr= VARIABLE shared_e INTEGER scope MAIN should start with "g" +rule=nameconv; source=prolint/regrtest/shared.i; line= 17; descr= VARIABLE shared_f INTEGER scope MAIN should start with "g" +rule=nameconv; source=prolint/regrtest/shared.i; line= 20; descr= tt_shared scope MAIN should start with "g" +rule=nameconv; source=prolint/regrtest/shared.i; line= 23; descr= tt_shared_b scope SHARED should start with "l" +rule=nameconv; source=prolint/regrtest/shared.i; line= 27; descr= shared_g scope MAIN should start with "g" +rule=nameconv; source=prolint/regrtest/shared.i; line= 28; descr= shared_h scope SHARED should start with "l" +rule=nameconv; source=prolint/regrtest/shared.i; line= 31; descr= shared_cust BUFFER scope SHARED should start with "l" +rule=nameconv; source=prolint/regrtest/sharelock.i; line= 4; descr= tt_sharelock scope MAIN should start with "g" +rule=nameconv; source=prolint/regrtest/sharelock.i; line= 7; descr= VARIABLE vSharelock CHARACTER scope MAIN should start with "g" +rule=nameconv; source=prolint/regrtest/sharelock.i; line= 8; descr= qcust scope MAIN should start with "g" +rule=nameconv; source=prolint/regrtest/sharelock.i; line= 9; descr= buf_cust BUFFER scope MAIN should start with "g" +rule=nameconv; source=prolint/regrtest/sharelock.i; line= 10; descr= buftt BUFFER scope MAIN should start with "g" +rule=nameconv; source=prolint/regrtest/substitute.i; line= 2; descr= VARIABLE substitute_1 CHARACTER scope MAIN should start with "g" +rule=nameconv; source=prolint/regrtest/substitute.i; line= 3; descr= VARIABLE substitute_2 CHARACTER scope MAIN should start with "g" +rule=nameconv; source=prolint/regrtest/substitute.i; line= 4; descr= VARIABLE substitute_3 INTEGER scope MAIN should start with "g" +rule=nameconv; source=prolint/regrtest/substitute.i; line= 6; descr= VARIABLE substitute_4 CHARACTER scope MAIN should start with "g" +rule=nameconv; source=prolint/regrtest/test3.p; line= 4; descr= VARIABLE RADIO-SET-2 INTEGER scope MAIN should start with "g" +rule=nameconv; source=prolint/regrtest/test3.p; line= 9; descr= VARIABLE myfile CHARACTER scope MAIN should start with "g" +rule=nameconv; source=prolint/regrtest/test4.p; line= 3; descr= VARIABLE longtext CHARACTER scope MAIN should start with "g" +rule=nameconv; source=prolint/regrtest/use-index.i; line= 4; descr= tt_customer scope MAIN should start with "g" +rule=nameconv; source=prolint/regrtest/vardef.p; line= 5; descr=INPUT PARAMETER InputHandle HANDLE scope MAIN should start with "g" +rule=nameconv; source=prolint/regrtest/vardef.p; line= 6; descr= PARAMETER bCustomer BUFFER scope MAIN should start with "g" +rule=nameconv; source=prolint/regrtest/vardef.p; line= 8; descr= VARIABLE Name scope MAIN should start with "g" +rule=nameconv; source=prolint/regrtest/vardef.p; line= 8; descr=Name in is a Progress keyword +rule=nameconv; source=prolint/regrtest/vardef.p; line= 17; descr=INPUT PARAMETER MyChar CHARACTER scope LOCAL proc1 should start with "l" +rule=nameconv; source=prolint/regrtest/vardef.p; line= 18; descr= VARIABLE currentFocus WIDGETHANDLE scope LOCAL proc1 should start with "l" +rule=nameconv; source=prolint/regrtest/vardef.p; line= 23; descr=INPUT PARAMETER funcparchar scope LOCAL func1 should start with "l" +rule=nameconv; source=prolint/regrtest/varusage.i; line= 9; descr= VARIABLE v_varusage_1 DECIMAL scope MAIN should start with "g" +rule=nameconv; source=prolint/regrtest/varusage.i; line= 10; descr= VARIABLE v_varusage_1b DECIMAL scope MAIN should start with "g" +rule=nameconv; source=prolint/regrtest/varusage.i; line= 11; descr= VARIABLE v_varusage_2 DECIMAL scope MAIN should start with "g" +rule=nameconv; source=prolint/regrtest/varusage.i; line= 12; descr= VARIABLE v_varusage_3 INTEGER scope MAIN should start with "g" +rule=nameconv; source=prolint/regrtest/varusage.i; line= 13; descr= VARIABLE v_varusage_4 CHARACTER scope MAIN should start with "g" +rule=nameconv; source=prolint/regrtest/varusage.i; line= 14; descr= VARIABLE v_varusage_5 LOGICAL scope MAIN should start with "g" +rule=nameconv; source=prolint/regrtest/varusage.i; line= 15; descr= VARIABLE v_varusage_8 HANDLE scope MAIN should start with "g" +rule=nameconv; source=prolint/regrtest/varusage.i; line= 16; descr= VARIABLE v_varusage_9a INTEGER scope MAIN should start with "g" +rule=nameconv; source=prolint/regrtest/varusage.i; line= 17; descr= VARIABLE v_varusage_9b INTEGER scope MAIN should start with "g" +rule=nameconv; source=prolint/regrtest/varusage.i; line= 18; descr= VARIABLE v_varusage_10 INTEGER scope MAIN should start with "g" +rule=nameconv; source=prolint/regrtest/varusage.i; line= 19; descr= VARIABLE v_varusage_11 HANDLE scope MAIN should start with "g" +rule=nameconv; source=prolint/regrtest/varusage.i; line= 20; descr= VARIABLE v_varusage_12 HANDLE scope MAIN should start with "g" +rule=nameconv; source=prolint/regrtest/varusage.i; line= 21; descr= VARIABLE v_varusage_14 DECIMAL scope MAIN should start with "g" +rule=nameconv; source=prolint/regrtest/varusage.i; line= 50; descr= VARIABLE v_varusage_12 INTEGER scope LOCAL CLOSE should start with "l" +rule=nameconv; source=prolint/regrtest/varusage.i; line= 51; descr= VARIABLE v_varusage_13 INTEGER scope LOCAL CLOSE should start with "l" +rule=nameconv; source=prolint/regrtest/varusage.i; line= 58; descr= VARIABLE v_varusage_newcity CHARACTER scope LOCAL WRITE should start with "l" +rule=nameconv; source=prolint/regrtest/varusage.i; line= 59; descr= VARIABLE v_varusage_oldcity CHARACTER scope LOCAL WRITE should start with "l" +rule=nameconv; source=prolint/regrtest/varusage.i; line= 61; descr= VARIABLE v_varusage_1 LOGICAL scope LOCAL WRITE should start with "l" +rule=nameconv; source=prolint/regrtest/varusage.i; line= 74; descr= VARIABLE v_varusage_ph1 HANDLE scope LOCAL ip_varusage_pp1 should start with "l" +rule=nameconv; source=prolint/regrtest/varusage.i; line= 81; descr= VARIABLE v_varusage_ph2 HANDLE scope LOCAL ip_varusage_pp2 should start with "l" +rule=nameconv; source=prolint/regrtest/varusage.i; line= 89; descr= VARIABLE v_varusage_ph3 HANDLE scope LOCAL ip_varusage_pp3 should start with "l" +rule=nameconv; source=prolint/regrtest/varusage.i; line= 90; descr= VARIABLE v_varusage_async HANDLE scope LOCAL ip_varusage_pp3 should start with "l" +rule=nameconv; source=prolint/regrtest/varusage.i; line= 101; descr= VARIABLE v_varusage_ph4 HANDLE scope LOCAL ip_varusage_pp4 should start with "l" +rule=nameconv; source=prolint/regrtest/varusage.i; line= 118; descr=INPUT PARAMETER v_varusage_1 INTEGER scope LOCAL ip_varusage_2 should start with "l" +rule=nameconv; source=prolint/regrtest/varusage.i; line= 119; descr=INPUT PARAMETER p_varusage_b LOGICAL scope LOCAL ip_varusage_2 should start with "l" +rule=nameconv; source=prolint/regrtest/varusage.i; line= 120; descr=OUTPUT PARAMETER p_varusage_c DECIMAL scope LOCAL ip_varusage_2 should start with "l" +rule=nameconv; source=prolint/regrtest/varusage.i; line= 121; descr=INPUTOUTPUT PARAMETER p_varusage_d DECIMAL scope LOCAL ip_varusage_2 should start with "l" +rule=nameconv; source=prolint/regrtest/varusage.i; line= 123; descr= VARIABLE v_varusage_ip INTEGER scope LOCAL ip_varusage_2 should start with "l" +rule=nameconv; source=prolint/regrtest/varusage.i; line= 133; descr=INPUT PARAMETER whocares scope LOCAL udf_varusage_1 should start with "l" +rule=nameconv; source=prolint/regrtest/varusage.i; line= 135; descr= VARIABLE v_varusage_6 LOGICAL scope LOCAL udf_varusage_1 should start with "l" +rule=nameconv; source=prolint/regrtest/varusage.i; line= 136; descr= VARIABLE v_varusage_ip INTEGER scope LOCAL udf_varusage_1 should start with "l" +rule=nameconv; source=prolint/regrtest/varusage.i; line= 146; descr= VARIABLE hColumn HANDLE scope LOCAL ip_varusage_browse should start with "l" +rule=nameconv; source=prolint/regrtest/varusage.i; line= 147; descr= VARIABLE hbCust HANDLE scope LOCAL ip_varusage_browse should start with "l" +rule=nameconv; source=prolint/regrtest/varusage.i; line= 160; descr= VARIABLE hMenuItem HANDLE scope MAIN should start with "g" +rule=nameconv; source=prolint/regrtest/varusage.i; line= 170; descr= VARIABLE v_varusage2_1a DECIMAL scope MAIN should start with "g" +rule=nameconv; source=prolint/regrtest/varusage.i; line= 171; descr= VARIABLE v_varusage2_2a DECIMAL scope MAIN should start with "g" +rule=nameconv; source=prolint/regrtest/varusage.i; line= 172; descr= VARIABLE v_varusage2_3a DECIMAL scope MAIN should start with "g" +rule=nameconv; source=prolint/regrtest/varusage.i; line= 173; descr= VARIABLE v_varusage2_4a INTEGER scope MAIN should start with "g" +rule=nameconv; source=prolint/regrtest/varusage.i; line= 174; descr= VARIABLE v_varusage2_5a CHARACTER scope MAIN should start with "g" +rule=nameconv; source=prolint/regrtest/varusage.i; line= 175; descr= VARIABLE v_varusage2_1b DECIMAL scope MAIN should start with "g" +rule=nameconv; source=prolint/regrtest/varusage.i; line= 176; descr= VARIABLE v_varusage2_2b DECIMAL scope MAIN should start with "g" +rule=nameconv; source=prolint/regrtest/varusage.i; line= 177; descr= VARIABLE v_varusage2_3b DECIMAL scope MAIN should start with "g" +rule=nameconv; source=prolint/regrtest/varusage.i; line= 178; descr= VARIABLE v_varusage2_4b INTEGER scope MAIN should start with "g" +rule=nameconv; source=prolint/regrtest/varusage.i; line= 179; descr= VARIABLE v_varusage2_5b CHARACTER scope MAIN should start with "g" +rule=nameconv; source=prolint/regrtest/varusage.i; line= 180; descr= VARIABLE v_varusage2_1c DECIMAL scope MAIN should start with "g" +rule=nameconv; source=prolint/regrtest/varusage.i; line= 181; descr= VARIABLE v_varusage2_4c INTEGER scope MAIN should start with "g" +rule=nameconv; source=prolint/regrtest/varusage.i; line= 182; descr= VARIABLE v_varusage2_5c CHARACTER scope MAIN should start with "g" +rule=nameconv; source=prolint/regrtest/varusage.i; line= 183; descr= VARIABLE v_varusage2_2d DECIMAL scope MAIN should start with "g" +rule=nameconv; source=prolint/regrtest/varusage.i; line= 184; descr= VARIABLE v_varusage2_4d INTEGER scope MAIN should start with "g" +rule=nameconv; source=prolint/regrtest/varusage.i; line= 185; descr= VARIABLE v_varusage2_5d CHARACTER scope MAIN should start with "g" +rule=nameconv; source=prolint/regrtest/varusage.i; line= 187; descr= s_varusage2 scope MAIN should start with "g" +rule=nameconv; source=prolint/regrtest/weakchar.p; line= 3; descr= VARIABLE a CHARACTER scope MAIN should start with "g" +rule=nameconv; source=prolint/regrtest/where-udf.i; line= 3; descr=INPUT PARAMETER sometext scope LOCAL wu-test1 should start with "l" +rule=nameconv; source=prolint/regrtest/where-udf.i; line= 9; descr=INPUT PARAMETER sometext scope LOCAL wu-test2 should start with "l" +rule=nameconv; source=prolint/regrtest/wholeindex.i; line= 4; descr= tt_wholeindex scope MAIN should start with "g" +rule=nameconv; source=prolint/regrtest/wholeindex.i; line= 9; descr= buf_wholeindex BUFFER scope MAIN should start with "g" +rule=nameconv; source=prolint/regrtest/wholeindex.i; line= 10; descr= buf_customer BUFFER scope MAIN should start with "g" rule=nobrackets; source=prolint/regrtest/noeffect.i; line= 36; descr=handle:query-open should have brackets rule=nobrackets; source=prolint/regrtest/noeffect.i; line= 37; descr=handle:get-first should have brackets rule=nobrackets; source=prolint/regrtest/noeffect.i; line= 38; descr=handle:get-next should have brackets @@ -242,6 +416,7 @@ rule=nocomment; source=prolint/regrtest/nocomment.i; line= 58; descr=FUNCTION udf_nocomment_2 is not commented rule=nocomment; source=prolint/regrtest/nocomment.i; line= 114; descr=PROCEDURE ip_nocomment_7 is not commented rule=nocomment; source=prolint/regrtest/nocomment.i; line= 114; descr=PROCEDURE ip_nocomment_7 is not commented +rule=nocomment; source=prolint/regrtest/vardef.p; line= 22; descr=function func1 is not commented rule=noeffect; source=prolint/regrtest/dotcomment.i; line= 23; descr=Statement has no effect rule=noeffect; source=prolint/regrtest/ifindentextra.i; line= 6; descr=Statement has no effect rule=noeffect; source=prolint/regrtest/noeffect.i; line= 23; descr=Statement has no effect @@ -346,6 +521,7 @@ rule=runnotfound; source=prolint/regrtest/varusage.i; line= 91; descr=proc 'myproc.p' not found rule=runnotfound; source=prolint/regrtest/varusage.i; line= 102; descr=proc 'myproc.p' not found rule=sepdbui; source=prolint/regrtest/defaultname.w; line= 137; descr=Separate UI from DB-access (UI in line 364 of prolint/regrtest/defaultname.w) +rule=sepdbui; source=prolint/regrtest/vardef.p; line= 6; descr=Separate UI from DB-access (UI in line 10 of prolint/regrtest/vardef.p) rule=sepdbui; source=prolint/regrtest/varusage.i; line= 37; descr=Separate UI from DB-access (UI in line 6 of prolint/regrtest/message.i) rule=shared; source=prolint/regrtest/shared.i; line= 13; descr=avoid SHARED on variable 'shared_c' rule=shared; source=prolint/regrtest/shared.i; line= 14; descr=avoid SHARED on variable 'shared_d' @@ -397,6 +573,7 @@ rule=strattrib; source=prolint/regrtest/strattrib.i; line= 57; descr=no string attributes on "title" rule=strattrib; source=prolint/regrtest/test3.p; line= 6; descr=no string attributes on "w3" rule=strattrib; source=prolint/regrtest/test4.p; line= 6; descr=no string attributes on "this is a test for rule m..." +rule=strattrib; source=prolint/regrtest/vardef.p; line= 10; descr=no string attributes on "Question" rule=strattrib; source=prolint/regrtest/where-udf.i; line= 19; descr=no string attributes on "hello" rule=strattrib; source=prolint/regrtest/where-udf.i; line= 27; descr=no string attributes on "hello" rule=strattrib; source=prolint/regrtest/wholeindex.i; line= 18; descr=no string attributes on "test" @@ -470,6 +647,7 @@ rule=uninproc; source=prolint/regrtest/runname.i; line= 63; descr=UNKNOWN Procedure executed at line 63. rule=uninproc; source=prolint/regrtest/runname.i; line= 64; descr=UNKNOWN Procedure executed at line 64. rule=uninproc; source=prolint/regrtest/runname.i; line= 65; descr=UNKNOWN Procedure executed at line 65. +rule=uninproc; source=prolint/regrtest/vardef.p; line= 13; descr=Internal Procedure proc1 is not used. rule=uninproc; source=prolint/regrtest/varusage.i; line= 72; descr=Internal Procedure ip_varusage_pp1 may not be used. rule=uninproc; source=prolint/regrtest/varusage.i; line= 79; descr=Internal Procedure ip_varusage_pp2 may not be used. rule=uninproc; source=prolint/regrtest/varusage.i; line= 87; descr=Internal Procedure ip_varusage_pp3 may not be used. @@ -508,6 +686,10 @@ rule=varusage; source=prolint/regrtest/shared.i; line= 17; descr=variable shared_f is never used rule=varusage; source=prolint/regrtest/test3.p; line= 4; descr=variable RADIO-SET-2 is never used rule=varusage; source=prolint/regrtest/test4.p; line= 3; descr=variable longtext is assigned but never accessed +rule=varusage; source=prolint/regrtest/vardef.p; line= 5; descr=parameter InputHandle is never used +rule=varusage; source=prolint/regrtest/vardef.p; line= 8; descr=variable Name is never used +rule=varusage; source=prolint/regrtest/vardef.p; line= 17; descr=parameter MyChar is never used +rule=varusage; source=prolint/regrtest/vardef.p; line= 18; descr=variable currentFocus is never used rule=varusage; source=prolint/regrtest/varusage.i; line= 9; descr=variable v_varusage_1 is assigned but never accessed rule=varusage; source=prolint/regrtest/varusage.i; line= 20; descr=variable v_varusage_12 is never used rule=varusage; source=prolint/regrtest/varusage.i; line= 50; descr=variable v_varusage_12 in ON CLOSE hides object in program scope Modified: trunk/prolint/rules/nameconv.p =================================================================== --- trunk/prolint/rules/nameconv.p 2006-03-14 22:16:37 UTC (rev 263) +++ trunk/prolint/rules/nameconv.p 2006-03-14 22:19:11 UTC (rev 264) @@ -306,7 +306,7 @@ tt_object.objDataType = pDatatype tt_object.objScope = pScope tt_object.ProcRowid = if available tt_procedure then rowid(tt_procedure) else ? - tt_object.ProcName = if available tt_procedure then tt_procedure.procName else compilationunit. + tt_object.ProcName = if available tt_procedure then tt_procedure.procName else "". end procedure. Added: trunk/prolint/settings/regression test/exclude.lst =================================================================== --- trunk/prolint/settings/regression test/exclude.lst (rev 0) +++ trunk/prolint/settings/regression test/exclude.lst 2006-03-14 22:19:11 UTC (rev 264) @@ -0,0 +1,21 @@ +# this file specifies which particular warnings should be excluded. The rules will +# still be executed, but warnings are intercepted if they match this file. +# You can also consider using {&_proparse_ prolint-nowarn(ruleid,ruleid)} directives +# +# format: +# sourcefile|rules +# +# sourcefile : spell exactly as it appears in "Prolint result window", wildcards are accepted. CAN-DO rules apply +# rule : comma separated list of identifiers of the rules that gives the warning, +# wildcards are accepted. CAN-DO rules apply +# +# empty lines or lines matching #* are ignored + + +# just for fun: ignore everything from ifindent.i except ifindent1 and ifindent2 +prolint/regrtest/ifindent.i|!ifindent*,* + +# ignore CVS backups of 'work in progress' files: +prolint/*CVS/*|* + + Added: trunk/prolint/settings/regression test/handlers.d =================================================================== --- trunk/prolint/settings/regression test/handlers.d (rev 0) +++ trunk/prolint/settings/regression test/handlers.d 2006-03-14 22:19:11 UTC (rev 264) @@ -0,0 +1,2 @@ +"logwin.w" +"regrlog.p" Added: trunk/prolint/settings/regression test/no-local-settings.lk =================================================================== --- trunk/prolint/settings/regression test/no-local-settings.lk (rev 0) +++ trunk/prolint/settings/regression test/no-local-settings.lk 2006-03-14 22:19:11 UTC (rev 264) @@ -0,0 +1,2 @@ +settings in directory "local-prolint/settings" will be ignored +until you remove this file. Added: trunk/prolint/settings/regression test/nowarn.lst =================================================================== --- trunk/prolint/settings/regression test/nowarn.lst (rev 0) +++ trunk/prolint/settings/regression test/nowarn.lst 2006-03-14 22:19:11 UTC (rev 264) @@ -0,0 +1,21 @@ +# this file specifies which particular warnings should be suppressed. The rules will +# still be executed, but warnings are intercepted if they match this file. +# +# format: +# sourcefile|rule|linenumbers +# sourcefile|_file-size|size +# +# sourcefile : spell exactly as it appears in "Prolint result window" +# rule : identfier of the rule that gives the warning +# linenumbers: comma separated list of linenumbers where the warning should be suppressed +# +# size : the filesize of the sourcefile, in bytes +# if _file-size is not specified, or if size doesn't match the actual size of the sourcefile, +# all lines for sourcefile will be invalid. So after you edit a sourcefile no warnings will be suppressed. +# +# empty lines or lines matching #* are ignored + + +prolint/demo/runname.i|_file-size|1411 +prolint/demo/runname.i|runname|19 + Added: trunk/prolint/settings/regression test/severity.d =================================================================== --- trunk/prolint/settings/regression test/severity.d (rev 0) +++ trunk/prolint/settings/regression test/severity.d 2006-03-14 22:19:11 UTC (rev 264) @@ -0,0 +1 @@ +yes "abbrevkwd" 0 This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |