📄 hugemain.plg
字号:
<html>
<body>
<pre>
<h1>Build Log</h1>
<h3>
--------------------Configuration: Hugemain - Win32 Debug--------------------
</h3>
<h3>Command Lines</h3>
Creating temporary file "C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\RSP8A.tmp" with contents
[
/nologo /MLd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /Fp"Debug/Hugemain.pch" /YX /Fo"Debug/" /Fd"Debug/" /FD /GZ /c
"E:\UpLoad\code\vc\算法.数据结构\Hugeint\Hugeint.cpp"
]
Creating command line "cl.exe @C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\RSP8A.tmp"
<h3>Output Window</h3>
Creating project configuration based on: builtin://VC++6.0
Using project configuration: project://VC++6.0
Test started: Jun 12, 2006 10:48:38 AM
------------------------
Using test configuration: builtin://CompleteAnalysis
Coding Standards results for E:\UpLoad\code\vc\算法.数据结构\Hugeint\Hugeint.cpp
FILE: E:\UpLoad\code\vc\算法.数据结构\Hugeint\Hugeint.cpp
------------------------
Starting Coding Standards checking for E:\UpLoad\code\vc\算法.数据结构\Hugeint\Hugeint.cpp...
E:\UpLoad\code\vc\算法.数据结构\Hugeint\Hugeint.cpp(475):
Local variables and class variables should have different name.
Severe Violation: (pbugs-30, DiffNameLocalAndMemberVars.rule)
Local variables should not have the same name as class variables: result
E:\UpLoad\code\vc\算法.数据结构\Hugeint\Hugeint.h(6):
Declare a copy constructor and operator= for classes with dynamically allocated memory
Severe Violation: (ecpp-11, ecpp-11_CopyConstructorAndAssignmentOperator.rule)
Class Hugeint missing assignment operator.
E:\UpLoad\code\vc\算法.数据结构\Hugeint\Hugeintnode.h(12):
Avoid providing implicit conversions
Severe Violation: (sa-40, sa-40_AvoidImplicitConversions.rule)
Constructor Hugeintnode may perform type conversion
Coding Standards checking done
------------------------
Precompiling E:\UpLoad\code\vc\算法.数据结构\Hugeint\Hugeint.cpp
Working directory: E:\UpLoad\code\vc\算法.数据结构\Hugeint
"C:\\Program Files\\Microsoft Visual Studio\\VC98\\bin\\cl.exe" -GX /I . /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /MLd /GX /nologo /c -TpE:\\UpLoad\\code\\vc\\算法.数据结构\\Hugeint\\Hugeint.cpp "-FoC:\\Documents and Settings\\Administrator\\C++TestFiles\\Temp\\project8302TmpDir\\Product\\Hugeint.cpp_0\\Hugeint.o" -Zi -Od -w /nologo -c "-FdC:\\Documents and Settings\\Administrator\\C++TestFiles\\Temp\\project8302TmpDir\\Product\\Hugeint.cpp_0\\HugeintMSVC++-6.0.pdb"
Process exited with code 0
Precompile done.
Preparing harness for: E:\UpLoad\code\vc\算法.数据结构\Hugeint\Hugeint.cpp
Working directory: E:\UpLoad\code\vc\算法.数据结构\Hugeint
harness.exe /I . /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /MLd /GX /nologo /c --compileracronym=MSVC++-6.0 --fileName=E:\\UpLoad\\code\\vc\\算法.数据结构\\Hugeint\\Hugeint.cpp "--outputFileName=C:\\Documents and Settings\\Administrator\\C++TestFiles\\Temp\\project8302TmpDir\\Product\\Hugeint.cpp_0\\Instr\\Hugeint_2000.cpp" --instrumentation-mode=60 --ignore-path=+* --ignore-path=-E:\\UpLoad\\code\\vc\\算法.数据结构\\Hugeint\\* --ignore-path=-*\\Hugeint.h* --ignore-path=-E:\\UpLoad\\code\\vc\\算法.数据结构\\Hugeint\\Hugeint.cpp --pre-include-header=cpptest_defs.h --pre-include-header=_mt_harness_config.h "--symbols-files-list=C:\\Documents and Settings\\Administrator\\C++TestFiles\\Temp\\project8302TmpDir\\Product\\Hugeint.cpp_0\\Instr\\harness.out" --instr-unit-id=1 "--preprocessorExecutable=C:\\Program Files\\Microsoft Visual Studio\\VC98\\bin\\cl.exe"
Process exited with code 0
Preparing harness done.
Reading symbols for E:\UpLoad\code\vc\算法.数据结构\Hugeint\Hugeint.cpp
Reading symbols done.
Loading symbols data for E:\UpLoad\code\vc\算法.数据结构\Hugeint\Hugeint.cpp
Loading symbols data done.
Collecting library information for E:\UpLoad\code\vc\算法.数据结构\Hugeint\Hugeint.cpp
Working directory: E:\UpLoad\code\vc\算法.数据结构\Hugeint
libdetector.exe "--ldvLinkerExecutable=C:\\Program Files\\Microsoft Visual Studio\\VC98\\bin\\link.exe" --compiler-acronym=MSVC++-6.0 "--store-libraries=C:\\Documents and Settings\\Administrator\\C++TestFiles\\Temp\\project8302TmpDir\\Product\\Hugeint.cpp_0\\ext_libs.cts" "C:\\Documents and Settings\\Administrator\\C++TestFiles\\Temp\\project8302TmpDir\\Product\\Hugeint.cpp_0\\Hugeint.o" advapi32.lib kernel32.lib odbccp32.lib comdlg32.lib odbc32.lib ole32.lib gdi32.lib winspool.lib user32.lib uuid.lib /machine:I386 shell32.lib /nologo oleaut32.lib /pdbtype:sept /debug /DEBUG "/PDB:C:\\Documents and Settings\\Administrator\\C++TestFiles\\Temp\\project8302TmpDir\\Product\\Hugeint.cpp_0\\HugeintTest.pdb" "/OUT:C:\\Documents and Settings\\Administrator\\C++TestFiles\\Temp\\project8302TmpDir\\Product\\Hugeint.cpp_0\\HugeintTest.exe" /nologo "C:\\Program Files\\Parasoft\\C++Test\\lib\\mtapp.lib"
Process exited with code 0
Collecting library information done.
Collecting symbol definitions information for E:\UpLoad\code\vc\算法.数据结构\Hugeint\Hugeint.cpp
Working directory: E:\UpLoad\code\vc\算法.数据结构\Hugeint
lsc.exe "--read-library-list=C:\\Documents and Settings\\Administrator\\C++TestFiles\\Temp\\project8302TmpDir\\Product\\Hugeint.cpp_0\\ext_libs.cts" "--store-symbols=C:\\Documents and Settings\\Administrator\\C++TestFiles\\Temp\\project8302TmpDir\\Product\\Hugeint.cpp_0\\symbols_from_ext_libs.cts"
Process exited with code 0
Collecting symbol definitions information done.
Matching symbol definitions information for E:\UpLoad\code\vc\算法.数据结构\Hugeint\Hugeint.cpp
Working directory: E:\UpLoad\code\vc\算法.数据结构\Hugeint
symmatcher.exe --compiler-acronym=MSVC++-6.0 "--read-symbols=C:\\Documents and Settings\\Administrator\\C++TestFiles\\Temp\\project8302TmpDir\\Product\\Hugeint.cpp_0\\symbols_from_ext_libs.cts" "--store-config=C:\\Documents and Settings\\Administrator\\C++TestFiles\\Temp\\project8302TmpDir\\Product\\Hugeint.cpp_0\\lib_defined_symbols.cts" "--read-inames=C:\\Documents and Settings\\Administrator\\C++TestFiles\\Temp\\project8302TmpDir\\Product\\Hugeint.cpp_0\\inames.cts"
Process exited with code 0
Matching symbol definitions information done.
Applying stubs configuration for E:\UpLoad\code\vc\算法.数据结构\Hugeint\Hugeint.cpp
Applying stubs configuration done.
------------------------
Preparing symbol definitions configuration for E:\UpLoad\code\vc\算法.数据结构\Hugeint\Hugeint.cpp
Working directory: E:\UpLoad\code\vc\算法.数据结构\Hugeint
defsgen.exe "--read-config=C:\\Documents and Settings\\Administrator\\C++TestFiles\\Temp\\project8302TmpDir\\Product\\Hugeint.cpp_0\\src_defined_symbols.cts" "--read-config=C:\\Documents and Settings\\Administrator\\C++TestFiles\\Temp\\project8302TmpDir\\Product\\Hugeint.cpp_0\\lib_defined_symbols.cts" "--read-config=C:\\Documents and Settings\\Administrator\\C++TestFiles\\Temp\\project8302TmpDir\\Product\\Hugeint.cpp_0\\tbl_defined_symbols.cts" "--read-config=C:\\Documents and Settings\\Administrator\\C++TestFiles\\Temp\\project8302TmpDir\\Product\\Hugeint.cpp_0\\usr_defined_symbols.cts" "--read-harness-elements=C:\\Documents and Settings\\Administrator\\C++TestFiles\\Temp\\project8302TmpDir\\Product\\Hugeint.cpp_0\\harness_elements.cts" "--generate-header=C:\\Documents and Settings\\Administrator\\C++TestFiles\\Temp\\project8302TmpDir\\Product\\Hugeint.cpp_0\\Instr\\include\\cpptest_defs.h"
Process exited with code 0
Preparing symbol definitions configuration done.
Compiling C:\Documents and Settings\Administrator\C++TestFiles\Temp\project8302TmpDir\Product\Hugeint.cpp_0\Instr\Hugeint_2000.cpp
Working directory: E:\UpLoad\code\vc\算法.数据结构\Hugeint
"C:\\Program Files\\Microsoft Visual Studio\\VC98\\bin\\cl.exe" -GX "-IC:\\Documents and Settings\\Administrator\\C++TestFiles\\Temp\\project8302TmpDir\\Product\\Hugeint.cpp_0\\Instr\\include" "-IC:\\Program Files\\Parasoft\\C++Test\\etc\\include" "-IC:\\Documents and Settings\\Administrator\\C++TestFiles\\Temp\\project8302TmpDir\\Product" "-IC:\\Documents and Settings\\Administrator\\C++TestFiles\\Temp\\project8302TmpDir\\Product\\Hugeint.cpp_0" /I . /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /MLd /GX /nologo /c "-TpC:\\Documents and Settings\\Administrator\\C++TestFiles\\Temp\\project8302TmpDir\\Product\\Hugeint.cpp_0\\Instr\\Hugeint_2000.cpp" "-FoC:\\Documents and Settings\\Administrator\\C++TestFiles\\Temp\\project8302TmpDir\\Product\\Hugeint.cpp_0\\ctbin\\Hugeint.obj" -Zi -Od -w /nologo -c "-FdC:\\Documents and Settings\\Administrator\\C++TestFiles\\Temp\\project8302TmpDir\\Product\\Hugeint.cpp_0\\ctbin\\HugeintMSVC++-6.0.pdb"
Process exited with code 0
Linking harness for E:\UpLoad\code\vc\算法.数据结构\Hugeint\Hugeint.cpp
Working directory: E:\UpLoad\code\vc\算法.数据结构\Hugeint
"C:\\Program Files\\Microsoft Visual Studio\\VC98\\bin\\link.exe" "C:\\Documents and Settings\\Administrator\\C++TestFiles\\Temp\\project8302TmpDir\\Product\\Hugeint.cpp_0\\ctbin\\Hugeint.obj" advapi32.lib kernel32.lib odbccp32.lib comdlg32.lib odbc32.lib ole32.lib gdi32.lib winspool.lib user32.lib uuid.lib /machine:I386 shell32.lib /nologo oleaut32.lib /pdbtype:sept /debug /DEBUG "/PDB:C:\\Documents and Settings\\Administrator\\C++TestFiles\\Temp\\project8302TmpDir\\Product\\Hugeint.cpp_0\\ctbin\\HugeintTest.pdb" "/OUT:C:\\Documents and Settings\\Administrator\\C++TestFiles\\Temp\\project8302TmpDir\\Product\\Hugeint.cpp_0\\ctbin\\HugeintTest.exe" /nologo "C:\\Program Files\\Parasoft\\C++Test\\lib\\mtapp.lib"
Process exited with code 0
Build done.
------------------------
Starting Unit Testing for E:\UpLoad\code\vc\算法.数据结构\Hugeint\Hugeint.cpp...
Unit Testing (Native) results for E:\UpLoad\code\vc\算法.数据结构\Hugeint\Hugeint.cpp
FILE: E:\UpLoad\code\vc\算法.数据结构\Hugeint\Hugeint.cpp
CLASS: Hugeint
METHOD: Hugeint(const Hugeint &)(1 test case)
TEST 1
Name: AUTO_1_AP_0
Pre Conditions:
Arguments: ::Hugeint()
Arguments Post:
Post Conditions:
Status: TEST FAILED
Post condition failed for execution result type:
expected type: Normal return
obtained type: Access violation exception
E:\UpLoad\code\vc\算法.数据结构\Hugeint\Hugeint.cpp(19): Access violation exception
Stack trace:
E:\UpLoad\code\vc\算法.数据结构\Hugeint\Hugeint.cpp(19): 'Hugeint(const Hugeint &)'
METHOD: Hugeint add(const Hugeint &)(1 test case)
TEST 1
Name: AUTO_1_5L_0
Pre Conditions: ::Hugeint(), ::ostream_withassign(),
Arguments: ::Hugeint()
Arguments Post:
Return:
Post Conditions:
Status: TEST FAILED
Post condition failed for execution result type:
expected type: Normal return
obtained type: Access violation exception
E:\UpLoad\code\vc\算法.数据结构\Hugeint\Hugeint.cpp(258): Access violation exception
Stack trace:
E:\UpLoad\code\vc\算法.数据结构\Hugeint\Hugeint.cpp(258): 'Hugeint add(const Hugeint &)'
METHOD: long chu(const Hugeint &, int &)(7 test cases)
TEST 1
Name: AUTO_1_GM_0
Pre Conditions: ::Hugeint(), ::ostream_withassign(),
Arguments: ::Hugeint(), iResult=2147483647 (0x7fffffff)
Arguments Post:
Return:
Post Conditions:
Status: TEST FAILED
Post condition failed for execution result type:
expected type: Normal return
obtained type: Access violation exception
E:\UpLoad\code\vc\算法.数据结构\Hugeint\Hugeint.cpp(19): Access violation exception
Stack trace:
E:\UpLoad\code\vc\算法.数据结构\Hugeint\Hugeint.cpp(19): 'Hugeint(const Hugeint &)'
E:\UpLoad\code\vc\算法.数据结构\Hugeint\Hugeint.cpp(746): 'long chu(const Hugeint &, int &)'
TEST 2
Name: AUTO_1_GM_1
Pre Conditions: ::Hugeint(), ::ostream_withassign(),
Arguments: ::Hugeint(), iResult=-1 (0xffffffff)
Arguments Post:
Return:
Post Conditions:
Status: TEST FAILED
Post condition failed for execution result type:
expected type: Normal return
obtained type: Access violation exception
E:\UpLoad\code\vc\算法.数据结构\Hugeint\Hugeint.cpp(19): Access violation exception
Stack trace:
E:\UpLoad\code\vc\算法.数据结构\Hugeint\Hugeint.cpp(19): 'Hugeint(const Hugeint &)'
E:\UpLoad\code\vc\算法.数据结构\Hugeint\Hugeint.cpp(746): 'long chu(const Hugeint &, int &)'
TEST 3
Name: AUTO_1_GM_2
Pre Conditions: ::Hugeint(), ::ostream_withassign(),
Arguments: ::Hugeint(), iResult=0 (0x00000000)
Arguments Post:
Return:
Post Conditions:
Status: TEST FAILED
Post condition failed for execution result type:
expected type: Normal return
obtained type: Access violation exception
E:\UpLoad\code\vc\算法.数据结构\Hugeint\Hugeint.cpp(19): Access violation exception
Stack trace:
E:\UpLoad\code\vc\算法.数据结构\Hugeint\Hugeint.cpp(19): 'Hugeint(const Hugeint &)'
E:\UpLoad\code\vc\算法.数据结构\Hugeint\Hugeint.cpp(746): 'long chu(const Hugeint &, int &)'
TEST 4
Name: AUTO_1_GM_3
Pre Conditions: ::Hugeint(), ::ostream_withassign(),
Arguments: ::Hugeint(), iResult=105 (0x00000069)
Arguments Post:
Return:
Post Conditions:
Status: TEST FAILED
Post condition failed for execution result type:
expected type: Normal return
obtained type: Access violation exception
E:\UpLoad\code\vc\算法.数据结构\Hugeint\Hugeint.cpp(19): Access violation exception
Stack trace:
E:\UpLoad\code\vc\算法.数据结构\Hugeint\Hugeint.cpp(19): 'Hugeint(const Hugeint &)'
E:\UpLoad\code\vc\算法.数据结构\Hugeint\Hugeint.cpp(746): 'long chu(const Hugeint &, int &)'
TEST 5
Name: AUTO_1_GM_4
Pre Conditions: ::Hugeint(), ::ostream_withassign(),
Arguments: ::Hugeint(), iResult=-2147483648 (0x80000000)
Arguments Post:
Return:
Post Conditions:
Status: TEST FAILED
Post condition failed for execution result type:
expected type: Normal return
obtained type: Access violation exception
E:\UpLoad\code\vc\算法.数据结构\Hugeint\Hugeint.cpp(19): Access violation exception
Stack trace:
E:\UpLoad\code\vc\算法.数据结构\Hugeint\Hugeint.cpp(19): 'Hugeint(const Hugeint &)'
E:\UpLoad\code\vc\算法.数据结构\Hugeint\Hugeint.cpp(746): 'long chu(const Hugeint &, int &)'
TEST 6
Name: AUTO_1_GM_5
Pre Conditions: ::Hugeint(), ::ostream_withassign(),
Arguments: ::Hugeint(), iResult=43447 (0x0000a9b7)
Arguments Post:
Return:
Post Conditions:
Status: TEST FAILED
Post condition failed for execution result type:
expected type: Normal return
obtained type: Access violation exception
E:\UpLoad\code\vc\算法.数据结构\Hugeint\Hugeint.cpp(19): Access violation exception
Stack trace:
E:\UpLoad\code\vc\算法.数据结构\Hugeint\Hugeint.cpp(19): 'Hugeint(const Hugeint &)'
E:\UpLoad\code\vc\算法.数据结构\Hugeint\Hugeint.cpp(746): 'long chu(const Hugeint &, int &)'
TEST 7
Name: AUTO_1_GM_6
Pre Conditions: ::Hugeint(), ::ostream_withassign(),
Arguments: ::Hugeint(), iResult=1 (0x00000001)
Arguments Post:
Return:
Post Conditions:
Status: TEST FAILED
Post condition failed for execution result type:
expected type: Normal return
obtained type: Access violation exception
E:\UpLoad\code\vc\算法.数据结构\Hugeint\Hugeint.cpp(19): Access violation exception
Stack trace:
E:\UpLoad\code\vc\算法.数据结构\Hugeint\Hugeint.cpp(19): 'Hugeint(const Hugeint &)'
E:\UpLoad\code\vc\算法.数据结构\Hugeint\Hugeint.cpp(746): 'long chu(const Hugeint &, int &)'
METHOD: Hugeint div(const Hugeint &)(1 test case)
TEST 1
Name: AUTO_1_7L_0
Pre Conditions: ::Hugeint(), ::ostream_withassign(),
Arguments: ::Hugeint()
Arguments Post:
Return:
Post Conditions:
Status: TEST FAILED
Post condition failed for execution result type:
expected type: Normal return
obtained type: Access violation exception
E:\UpLoad\code\vc\算法.数据结构\Hugeint\Hugeint.cpp(309): Access violation exception
Stack trace:
E:\UpLoad\code\vc\算法.数据结构\Hugeint\Hugeint.cpp(309): 'Hugeint div(const Hugeint &)'
METHOD: Hugeint divv(const Hugeint &)(1 test case)
TEST 1
Name: AUTO_1_6L_0
Pre Conditions: ::Hugeint(), ::ostream_withassign(),
Arguments: ::Hugeint()
Arguments Post:
Return:
Post Conditions:
Status: TEST FAILED
Post condition failed for execution result type:
expected type: Normal return
obtained type: Access violation exception
E:\UpLoad\code\vc\算法.数据结构\Hugeint\Hugeint.cpp(356): Access violation exception
Stack trace:
E:\UpLoad\code\vc\算法.数据结构\Hugeint\Hugeint.cpp(356): 'Hugeint divv(const Hugeint &)'
METHOD: int getfirstdata(void)(1 test case)
TEST 1
Name: AUTO_1_YL_0
Pre Conditions: ::Hugeint()
Arguments:
Arguments Post:
Return:
Post Conditions:
Status: TEST FAILED
Post condition failed for execution result type:
expected type: Normal return
obtained type: Access violation exception
E:\UpLoad\code\vc\算法.数据结构\Hugeint\Hugeint.cpp(245): Access violation exception
Stack trace:
E:\UpLoad\code\vc\算法.数据结构\Hugeint\Hugeint.cpp(245): 'int getfirstdata(void)'
METHOD: Hugeint hugeabs(const Hugeint &)(1 test case)
TEST 1
Name: AUTO_1_3L_0
Pre Conditions: ::Hugeint(),
Arguments: ::Hugeint()
Arguments Post:
Return:
Post Conditions:
Status: TEST FAILED
Post condition failed for execution result type:
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -