-
Notifications
You must be signed in to change notification settings - Fork 108
Open
Labels
Kind: Bug ⚠️Plugin: C++Issues related to the parsing and presentation of C++ projects.Issues related to the parsing and presentation of C++ projects.Plugin: MetricsIssues related to the code metrics plugin.Issues related to the code metrics plugin.Target: Parser
Description
Parsing the https://github.com/apache/xerces-c codebase, we can see that multiple metric values are calculated for the same type.
| id | astNodeId | type | value | id | astValue | location_range_start_line | location_range_start_column | location_range_end_line | location_range_end_column | location_file | entityHash | symbolType | astType | visibleInSourceCode |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 57624 | -1447835275113149951 | 3 | 5.0 | -1447835275113149951 | class FlagJanitor{ | 29 | 20 | 65 | 2 | -3870837121720064747 | 1489319374071080359 | 3 | 3 | true |
| 59633 | 6077859165859605263 | 5 | 0.6666666666666667 | 6077859165859605263 | class FlagJanitor{ | 29 | 20 | 65 | 2 | -3870837121720064747 | -5411956069294332888 | 3 | 3 | true |
| 59548 | -1447835275113149951 | 5 | 1.0 | -1447835275113149951 | class FlagJanitor{ | 29 | 20 | 65 | 2 | -3870837121720064747 | 1489319374071080359 | 3 | 3 | true |
| 59641 | 6077859165859605263 | 6 | 0.8 | 6077859165859605263 | class FlagJanitor{ | 29 | 20 | 65 | 2 | -3870837121720064747 | -5411956069294332888 | 3 | 3 | true |
| 59549 | -1447835275113149951 | 6 | 1.2 | -1447835275113149951 | class FlagJanitor{ | 29 | 20 | 65 | 2 | -3870837121720064747 | 1489319374071080359 | 3 | 3 | true |
| 60828 | -1447835275113149951 | 7 | 0.0 | -1447835275113149951 | class FlagJanitor{ | 29 | 20 | 65 | 2 | -3870837121720064747 | 1489319374071080359 | 3 | 3 | true |
| 60691 | 6077859165859605263 | 7 | 0.0 | 6077859165859605263 | class FlagJanitor{ | 29 | 20 | 65 | 2 | -3870837121720064747 | -5411956069294332888 | 3 | 3 | true |
| 61796 | 6077859165859605263 | 8 | 0.0 | 6077859165859605263 | class FlagJanitor{ | 29 | 20 | 65 | 2 | -3870837121720064747 | -5411956069294332888 | 3 | 3 | true |
| 61782 | -1447835275113149951 | 8 | 0.0 | -1447835275113149951 | class FlagJanitor{ | 29 | 20 | 65 | 2 | -3870837121720064747 | 1489319374071080359 | 3 | 3 | true |
The above table shows CppAstNodeMetrics table joined with CppAstNode.
Metadata
Metadata
Assignees
Labels
Kind: Bug ⚠️Plugin: C++Issues related to the parsing and presentation of C++ projects.Issues related to the parsing and presentation of C++ projects.Plugin: MetricsIssues related to the code metrics plugin.Issues related to the code metrics plugin.Target: Parser