Comments (10)
Good suggestion @faywong . I’ll think a bit about this, but can’t promise anything as of now.
from duplo.
I am not sure exactly why this happens. Does this cause an issue for you? I guess no, since the program found all cases of duplication, right?
from duplo.
for example:
file_a.c line 100 duplicates to file_a.c line 200 and file_a.c line 500 and file_a.c line 600, expecte the result to be
file_a.c line 100 file_a.c line 200 file_a.c 500 are duplicated other than:
line 100 duplicates to line 200, line 500 duplicates to line 600.
Do you mean that the program says nothing about line 600 in the output?
from duplo.
I mean duplicate lines maybe should be expressed as:
“duplicated content": [all the occurences, such as "file1:1", "file2:2" , "file3:4" ... ]
from duplo.
I mean duplicate lines maybe should be expressed as:
“duplicated content": [all the occurences, such as "file1:1", "file2:2" , "file3:4" ... ]
Well I'm currently (slow) working on a GUI frontend for Duplo: https://github.com/ArsMasiuk/duploq
The tool tries to aggregate Duplo's output as well, hope that's what you are talking about?
from duplo.
I mean duplicate lines maybe should be expressed as:
“duplicated content": [all the occurences, such as "file1:1", "file2:2" , "file3:4" ... ]
Well I'm currently (slow) working on a GUI frontend for Duplo: https://github.com/ArsMasiuk/duploq
The tool tries to aggregate Duplo's output as well, hope that's what you are talking about?
Cool, aggregate Duplo's output in a post-process step is also a good solution. Also i have opt. the algorithm to boost the performance.
from duplo.
@faywong cool, is that something you can share?
from duplo.
@faywong cool, is that something you can share?
Currently is only capable of use in our case, hasn't reach the expected performance yet. Anyway, i will update here if we're ready to contribute a better version.
from duplo.
In the spirit of open source and all future users of Duplo, please do.
from duplo.
@faywong Is there something you can share with your implementation?
from duplo.
Related Issues (20)
- Support of finding duplicates within the same file HOT 2
- Output in XML/JSON format HOT 2
- Checking arbitrary files doesn't work HOT 5
- Ensure at least minimum number of lines in analysis
- Change links to Source Forge to GitHub
- Limitation for Total_lines_of_code HOT 2
- Unique Duplicate LOC count HOT 8
- Version from tag
- Docker image
- XML Output is broken HOT 3
- Output real block length (not only filtered) HOT 4
- Single file duplication not detected
- Fix docker push HOT 1
- Add GitHub action to build on Windows
- Create GitHub action for running Duplo
- Duplo parameters configuration HOT 2
- Build error using windows sln file HOT 3
- Support for gcc assembly
- Not compiling on my linux (kernel 3.19.0-33-generic) "‘memset’ was not declared in this scope" HOT 1
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 duplo.