apache / apache/comdev-metrics

code smell: duplicate strings that must agree with each other are not constants

Open
#2 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

There are several duplicated instances of strings for file names and directories.
These should be shared constants, as they must be kept in step.

Contributor guide

No contributing guide indexed for this repository

Research direction

Search the repository for repeated string literals representing file names and directories, then identify the related references that must stay consistent. Define shared constants and replace the duplicates; the change is done when those values have one shared definition and the existing project behavior remains intact.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
tooling
Issue type
Refactor
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.