Comments (3)
When you have a mass threshold of 23, there is nothing left to compare. When you have a mass threshold of 22, both defn's are available for comparison. They are indeed similar at the defn level so the score for that group is 2*22=44. If there were 3 such methods, the score would be 66, etc.
from flay.
Yep, that's what I assumed what was going. I just found it weird, and it surprised me when changing a threshhold from 22 to 23 caused something with reported mass of 44 to disappear.
Looking in to how it works it make sense, but it at least violated the Rule of Least Surprise for me.
from flay.
the rule of my least surprise.
from flay.
Related Issues (20)
- Optional non-zero exit code when matches exist HOT 2
- parse error on value ":" (tCOLON) HOT 6
- Define pattern to ignore HOT 9
- Flay not detecting duplicate code HOT 2
- Invoking Flay During Code-Review/Unit Tests HOT 3
- rake task errors on Rake::TaskLib constant HOT 2
- output report in a machine-readable format HOT 1
- zsh: command not found: flay HOT 1
- NameError: uninitialized constant FlayTask::Flay HOT 1
- readme is a textfile, not rdoc HOT 2
- Collaboration with Codacy HOT 4
- Rake task ignores `dirs` HOT 3
- Parsing issue with heredocs. HOT 1
- Example of how to use .flayignore HOT 2
- [ASK] how the DuplicateCode works HOT 1
- [security vulnerability] Please consider using erubi rather than erubis HOT 2
- Flay does not recognize ruby 3.1's hash literal value omission HOT 3
- decouple from erubis HOT 1
- parse error on value ")" (tRPAREN) on Rails ERb files HOT 8
- Not flagging duplicate RSpec tests HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flay.