Changeset View
Changeset View
Standalone View
Standalone View
plugins/clazy/README.txt
- This file was added.
1 | This plugin integrates Clazy to KDevelop. | ||||
---|---|---|---|---|---|
2 | | ||||
3 | Clazy is a compiler plugin which allows clang to understand Qt semantics. You get more than 50 Qt related compiler warnings, ranging from unneeded memory allocations to misusage of API, including fix-its for automatic refactoring. | ||||
4 | | ||||
5 | https://commits.kde.org/clazy | ||||
6 | | ||||
7 | The plugin allows you to check project's code with clazy checker. Runtime dependencies: | ||||
8 | | ||||
9 | * clazy-standalone (clazy part) | ||||
10 | * installed clazy docs (used to building checks DB with errors descriptions) | ||||
11 | * make (analysis run, see later) | ||||
12 | * compile_commands.json present in project's build directory | ||||
13 | | ||||
14 | Plugin's GUI provides easy way to clazy configuration, enabling/disabling checks and so on. | ||||
15 | | ||||
16 | Analysis run done through executing system make command with custom makefile which generates by the plugin in the project's build directory. Such approach allows us to enable/disable parallel code analysis with simple setup of standard make "-j" parameter. Current makefile structure assumes that each checked source file is independent from all others so we can efficiently load all present CPUs - scalability is close to linear. |