codecharta icon indicating copy to clipboard operation
codecharta copied to clipboard

Blacklisting specific words from Floor-label names

Open RomanenkoVladimir opened this issue 3 years ago • 4 comments

Feature request

Description

As an auditor I want to differentiate folders based on their folder labels to help navigating the map

Acceptance criteria

  • Folder labels for unique folders are displayed correctly
  • Folder label parts, containing or ending with generic or duplicate strings: e.g. "main", "java", "src", "company_name" are not rendered on the label

Development notes (optional Task Breakdown)

  • [ ] Create blacklist based on multiple-string occurrence, by heuristic: count the amount of occurrences of a string per label
  • [ ] Add generic strings to blacklist if required
  • [ ] Filter out generic string parts when generating a folder label

Open questions

  • Investigate which generic strings are most often used, although we might be able to filter all out by considering duplications

RomanenkoVladimir avatar Oct 31 '22 15:10 RomanenkoVladimir

We can also implement a heuristic such as: detect if an identical folder name is used in the same folder level over and over (e.g., > 3-4 times / all folders on that level have that name in the specific sub-folder).

BridgeAR avatar Oct 31 '22 16:10 BridgeAR

Hey @LuisGuenther, are there any questions or why did you stop working on this :-) Is it a blocked story?

ce-bo avatar Nov 23 '22 08:11 ce-bo

@ce-bo I didn't know if you already had the time to take a look at this issue and I wanted to take care of #3132 first

LuisGuenther avatar Nov 23 '22 10:11 LuisGuenther

I would like to implement this feature but it has not the highest priority at the moment. Did you already work on an implementation? Or did you gain any findings already?

ce-bo avatar Nov 23 '22 10:11 ce-bo