没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
Klocwork Administration
Software release 8.0 SR1
Document version 4.0
Copyright © 1998-2008 Klocwork Inc.
All rights reserved
This document, as well as the software described in it, is furnished under license and may only be
used or copied in accordance with the terms of such license. The information contained herein is the
property of Klocwork Inc. and is confidential between Klocwork Inc. and the client and remains the
exclusive property of Klocwork Inc. No part of this documentation may be copied, translated, stored
in a retrieval system, or transmitted in any form or by any means, electronic, mechanical,
photocopying, recording or otherwise without the prior written permission of Klocwork Inc.
If you find any problems in the documentation, please report them to us in writing. Klocwork Inc.
does not warrant that this document is error-free.
Klocwork Inc. and Klocwork are registered trademarks and Klocwork Insight, Klocwork Solo, Klocwork Insight Architect, Klocwork Insight
Review, Klocwork Source Cross-Reference, Klocwork Management Console, Klocwork Developer for Java in Eclipse, Klocwork for C/C++,
Klocwork for Java, Klocwork Extensibility Interface, and Klocwork Stack Overflow Analyzer are trademarks of Klocwork Inc.
Copyright notices for third-party software are contained in the file “3rdparty_copyright_notices.txt”, located in the Klocwork installation
directory.
Adobe®, Adobe Acrobat, Acrobat Exchange, Acrobat Reader, and PostScript are either registered trademarks or trademarks of Adobe Systems
Incorporated in the United States and/or other countries. Rational ClearCase is a registered trademark of IBM Corporation. Linux is a registered
trademark of Linus Torvalds. FLEXlm is a registered trademark of Macrovision Corporation. Microsoft®, Microsoft Word, Microsoft Excel,
Microsoft Office, Internet Explorer, Windows®, Windows NT®, Windows® 2000, Windows® 2000 Server, Windows® Server 2003, Windows®
XP, MS-DOS™, Microsoft Visual Studio®, Microsoft .NET, and Microsoft Visual C++ are trademarks of Microsoft Corporation. Pentium® is a
registered trademark of Intel Corporation. Red Hat is a trademark of Red Hat, Inc., in the United States and other countries. Sun, Sun
Microsystems, the Sun Logo, Solaris, Forte, Java, JRE and all Java-related trademarks and logos are trademarks or registered trademarks of Sun
Microsystems, Inc. in the United States and other countries. All SPARC trademarks are used under license and are trademarks or registered
trademarks of SPARC International, Inc. in the United States and other countries. Products bearing SPARC trademarks are based upon an
architecture developed by Sun Microsystems, Inc. MySQL is a registered trademark of MySQL AB in the USA and other countries. InstallShield
is a service mark and is either a registered trademark or trademark of InstallShield Software Corporation in the United States and/or other
countries. IntelliJ IDEA is either a trademark or a registered trademark of JetBrains, Inc. Java Service Wrapper is a trademark of Tanuki Software.
WinCVS, Krusader and SourceForge are trademarks of OSTG Open Source Technology Group, All Rights Reserved. Apache TomCat is a
trademark of the Apache Software Foundation. Green Hills is a registered trademark of Green Hills Software, Inc. Metrowerks is a registered
trademark of Freescale Semiconductor, Inc. Wind River is a registered trademark of Wind River Systems, Inc. yEd is a trademark of yWorks
GmbH. JBuilder is a registered trademark of Borland Software Corporation. BEA WebLogic is a registered trademark of BEA Systems, Inc.
Klocwork Inc.
Toll-free telephone (North America):
1-866-556-2967
E-mail:
sales@klocwork.com
support@klocwork.com
Web site: http://www.klocwork.com
In the U.S.:
8 New England Executive Park, Suite 180
Burlington, Massachusetts 01803 USA
In Canada:
30 Edgewater Street, Suite 114
Ottawa, Ontario
Canada K2L 1V8
iii
Contents
Chapter 1 Getting started 7
Who should read this book ........................................................................................................................... 7
Help and support ........................................................................................................................................... 7
About online help search results ........................................................................................................ 8
Chapter 2 About Klocwork 9
Klocwork components .................................................................................................................................. 9
The Klocwork projects_root directory .......................................................................................................... 9
Klocwork licensing ..................................................................................................................................... 10
Chapter 3 The basics of Klocwork analysis 11
A collaborative activity ............................................................................................................................... 11
The Klocwork project is the starting point .................................................................................................. 12
A build engineer runs Klocwork analysis on the project ............................................................................ 12
The development team can add changes ..................................................................................................... 13
Chapter 4 Getting started with the KMC 15
About the KMC .......................................................................................................................................... 15
Starting the KMC ........................................................................................................................................ 15
Connecting to a different Project Server in the KMC ...................................................................... 17
Klocwork sample projects .......................................................................................................................... 18
Chapter 5 Enabling access to Klocwork projects 19
Name the project ......................................................................................................................................... 19
About access control ................................................................................................................................... 20
Changing a user's password ........................................................................................................................ 21
Setting up users and groups in Basic access control ................................................................................... 23
Create a user .................................................................................................................................... 23
Create a group of users .................................................................................................................... 25
Removing a user from a group ........................................................................................................ 27
Deleting a user or group .................................................................................................................. 27
Set up roles ................................................................................................................................................. 28
About roles and permissions ............................................................................................................ 28
Plan the roles your organization needs ............................................................................................ 30
Create roles ...................................................................................................................................... 31
To change or delete a role ................................................................................................................ 34
Match users or groups to roles and projects ................................................................................................ 35
Making changes to how people are assigned ................................................................................... 36
How to split source code access into smaller chunks ................................................................................. 37
About the modules.xml file ............................................................................................................. 37
Ask the build engineer to include your modules.xml file ................................................................ 38
iv Contents
Edit to give access to the modules ................................................................................................... 38
Chapter 6 What you need to communicate 41
Access control user IDs and passwords, permissions ................................................................................. 41
Who can do what ........................................................................................................................................ 42
The projects they will work on ................................................................................................................... 42
Database password, if set ............................................................................................................................ 43
Chapter 7 Managing Klocwork projects and analysis with the KMC 45
Viewing and changing project properties ................................................................................................... 45
Analyzing a Java project that does not use ant ........................................................................................... 46
Preventing source files from being copied to the projects_root ....................................................... 48
Analyzing projects with precompiled headers ............................................................................................ 49
Creating a single precompiled header with the KMC ...................................................................... 49
Copying source files to the projects_root ................................................................................................... 50
Duplicating a project ................................................................................................................................... 51
Deleting a project ........................................................................................................................................ 52
Refreshing project data ............................................................................................................................... 53
Chapter 8 KMC tabs reference 55
Projects tab ................................................................................................................................................. 55
Pop-up menus on the Projects tab .................................................................................................... 55
Project-related detail tabs ............................................................................................................................ 59
Details tab ........................................................................................................................................ 59
Compile Options tab ........................................................................................................................ 60
Java Options tab .............................................................................................................................. 64
Report Options tab ........................................................................................................................... 65
Configuration Files tab .................................................................................................................... 66
VS Options tab ................................................................................................................................ 66
Permissions tab ................................................................................................................................ 67
Servers tab .................................................................................................................................................. 67
Appendix A Troubleshooting 69
Where to find more troubleshooting information ....................................................................................... 69
Java memory problems when running Klocwork applications ................................................................... 69
Access control problems ............................................................................................................................. 70
Unable to start or check the Klocwork servers because of LDAP error .......................................... 71
Using a preprocessed file for C/C++ analysis troubleshooting ................................................................... 71
Creating a preprocessed file with the KMC ..................................................................................... 72
Klocwork error messages ............................................................................................................................ 73
Klocwork Management Console error messages ............................................................................. 73
The Klocwork log files ............................................................................................................................... 75
The Klocwork server log files ......................................................................................................... 75
Analysis logs ................................................................................................................................... 77
剩余91页未读,继续阅读
资源评论
stephegn
- 粉丝: 9
- 资源: 39
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功