Máté Cserép

Results 45 issues of Máté Cserép

It seems CodeCompass handles *foreach* style `for` loops incorrectly when clicking on the enumerated variable. **How to reproduce:** - In the PCL source code click on `centroids_` in line 97....

Kind: Bug :warning:
Plugin: C++
Level: Intermediate (3)

In `SourceManager` the `persistFiles()` method unloads the `FileContent` for the cached `File` entities for (unverified) memory management considerations: ```cpp void SourceManager::persistFiles() { std::lock_guard guard(_createFileMutex); _transaction([&, this]() { for (const auto&...

Kind: Bug :warning:
Target: Database

As @dbukki discovered in https://github.com/Ericsson/CodeCompass/pull/714#issuecomment-1983388202, multiple `CppFunction` entities are persisted for each function: one for each declaration and one for the definition. It should be examined whether these multiple entities...

Kind: Discussion :speech_balloon:
Kind: Refactor :arrows_clockwise:
Plugin: C++
Level: Moderate (2)

Currently, `CodeCompass_parser` can be parametrized with the `-j ` flag to specify to number of parsing jobs, which could be executed concurrently. However, for some parsers (e.g. the `cpp` plugin),...

Kind: Enhancement :star2:
Target: Parser
Level: Intermediate (3)

See #682 for *Cyclomatic Complexity* at Function Level. Adapted to the object-oriented paradigm, this metric can also be defined for classes as the sum of its methods complexity metric.

Kind: Enhancement :star2:
Plugin: C++
Plugin: Metrics
Level: Moderate (2)

#706 upgraded NextJS to v14.1, which requires NodeJS v18. Currently the tarball build in the GitLab CI pipeline uses NodeJS v16. As it was already mentioned in #624, NodeJS v18...

Kind: Discussion :speech_balloon:
Target: Developer environment

Tracking issue for: - [x] https://github.com/Ericsson/CodeCompass/security/code-scanning/65 The default CodeQL template does not contain a top level permission configuration. The job contains the configuration, so really the detector could be smarter,...

Target: Developer environment

Fixed #723.

Target: Developer environment

#689 introduced a `mccabe` field into the `CppFunction` entity type, and #714 will add a similar new field for the bumpy road complexity metric. These metric values are not coupled...

Kind: Refactor :arrows_clockwise:
Plugin: C++
Target: Database
Level: Moderate (2)

*Coupling* is metric which can be computed for structural units at different levels (e.g. classes, namespaces, modules). It measures how many other entities an entity depends on; and how many...

Kind: Enhancement :star2:
Kind: Important :1st_place_medal:
Plugin: C++
Plugin: Metrics
Level: Moderate (2)