PhpStorm 定位重复选项
PhpStorm Locate Duplication Option
PhpStorm 定位重复结果 window 显示“3 个文件中有 2 个重复项,成本 260”。
谁能告诉我这个成本 260 是什么意思?
Cost of the duplicate is an arbitrary unit calculated using an additive algorithm on the base of the code block size; generally, the larger is the code fragment, the higher is its cost.
https://www.jetbrains.com/help/phpstorm/duplicates-tool-window.html
PhpStorm 定位重复结果 window 显示“3 个文件中有 2 个重复项,成本 260”。
谁能告诉我这个成本 260 是什么意思?
Cost of the duplicate is an arbitrary unit calculated using an additive algorithm on the base of the code block size; generally, the larger is the code fragment, the higher is its cost.
https://www.jetbrains.com/help/phpstorm/duplicates-tool-window.html