When running CodeXpert by command line, the output in the created html report seems to be incorrect (under Code Metrics).
... when run by command line, the html generated shows the (TCR) as 2 for all objects, highlighted in yellow, and the maintainability Index is all 0, in red. The rest of the Code Metrics noted are 0. These save results are produced for anything that is run through CodeXpert by command line.
But when run through the Toad gui manually, specific values are shown for each object for the results. And a report manually saved as html from the Toad gui saves correctly.
Why is the report different between the manual run though Toad and when run by command line and command file? They are using the same setting.
WORKAROUND:
None
STATUS:
Waiting for fix in a future version of Toad for Oracle.
Sample command file:
[OPTIONS]
RULESET=C:\Documents and Settings\jsmith\Application Data\Quest Software\Toad for Oracle\9.7\RuleSets\All.rst
RSET=All Rules by Severity
OUTPUTDIR=C:\JS\ToadOut
HTMLFILENAME=CodeXpert.html
XMLFILENAME=CodeXpert.xml
CODEXPERT_SCAN=1
SQL_SCAN=0
PASSWORDS_ENCRYPTED=1
INCLUDE_HTML=1
INCLUDE_XML=0
INCLUDE_SERVERSIDE_INSERT=0
SEND_EMAIL=1
CLEAR_ERROR_LOG=1
SERVERSIDE_INSERT_RUNNAME=AUTOGENERATE
[CONNECTIONS]
LOGIN1=JSIMITH01@TESTDEV
[PASSWORDS]
PASSWORD1=10,37,164,14,84, 50,99,129,80,19,0, 4,153,0,0,2,114,150,104,246
[OBJECTS]
OBJECT1=LOGIN1,JSMITH01,PCK_RELEASE_BATCH
OBJECT2=LOGIN1,JSMITH01,PCK_RELEASE_COMMON
OBJECT3=LOGIN1,JSMITH01,PCK_RELEASE_QUERIES
OBJECT4=LOGIN1,JSMITH01,PCK_INCOME_REPORTS
OBJECT5=LOGIN1,JSMITH01,PCK_INCOME_REPORTS_API
© ALL RIGHTS RESERVED. Terms of Use Privacy Cookie Preference Center