-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
File types not detected properly #1188
Comments
That is only true, when you select unary as the distributionbar-metric. The distribution is based on a metric. I can't see what metric was selected, but it might be, that this metric is only available in java files? |
Good point. I was not aware that we handle our indicator like that 😆 It does indeed show the expected behavior when choosing lines of code. This behavior does seem very surprising though, that it does not just use the lines of code but also other metrics. I can not think of a use case for the file type indicator that uses other metrics than The default metric is bugged with that cc.json: I wonder what would be best to handle cases like these and what the actual bug is about. |
Interesting. I've never seen a metric without a name in there before. |
Bugfix needed: Please skip empty metrics in the select-box. |
Improvements:
|
… unary to default if no rloc, Set to any if no rloc or unary #1188
This reverts commit 01c1957.
* Change string sorting to localeCompare #1092 * Change sorting to Intl.Collator #1092 * Remove empty metric for top-bar, Set rloc to default if avalible, Set unary to default if no rloc, Set to any if no rloc or unary #1188 * Update Changelog #1188 * Revert "Update Changelog #1188" This reverts commit 01c1957. * Update Changelog #1188 * Remove irrelevant fail-safes #1188 * Add test #1092 * Update Changelog #1092 Co-authored-by: Cedrik Bormann <26900540+ce-bo@users.noreply.github.com>
Bug
Expected Behavior
GIVEN a map consisting out of multiple programming languages, e.g. 50%
java
and 50%javascript
THEN the programming language indicator should be 50/50.
Actual Behavior
The language indicator is far off and shows e.g., 95% javascript.
Steps to Reproduce the Problem
Let's chat about it.
Notes
I am if the
cc.json
already contains the percentages or if the frontend determines that from the file ending. Ideally it would be available in thecc.json
, since it's possible to maybe even check the files. There are tools that determine the percentages properly and we should check what is off.Specifications
The text was updated successfully, but these errors were encountered: