devel/dupl 1.1.0_8
Tool for code clone detection
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Last update
- Commit
d81b7ba3c3- License
- MIT
- Categories
- devel
- Package size
- 901.8 KiB, 2722.8 KiB installed
Description
dupl is a tool written in Go for finding code clones. So far it can find clones only in the Go source files. The method uses suffix tree for serialized ASTs. It ignores values of AST nodes. It just operates with their types (e.g. if a == 13 {} and if x == 100 {} are considered the same provided it exceeds the minimal token sequence size).
Due to the used method dupl can report so called "false positives" on the output. These are the ones we do not consider clones (whether they are too small, or the values of the matched tokens are completely different).
Install
As a binary package — by origin, or by package name:
pkg install devel/dupl
pkg install dupl
From the ports tree:
cd /usr/ports/devel/dupl/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= dupl>0:devel/dupl
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 1.1.0_7 | 1.1.0_7 | - | 1.0.0.11_29 | 1.1.0_7 |
| FreeBSD:14:quarterly | 1.1.0_7 | 1.1.0_7 | n/a | 1.0.0.11_27 | 1.1.0_7 |
| FreeBSD:15:latest | 1.1.0_7 | 1.1.0_7 | n/a | - | 1.0.0.11_29 |
| FreeBSD:15:quarterly | 1.1.0_7 | 1.1.0_7 | n/a | n/a | n/a |
| FreeBSD:16:latest | 1.1.0_6 | 1.1.0_7 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
The Makefile names none itself; they come from USES and USE_*.
The full lists below include those, and their dependencies in turn.
All build dependencies 1
No port depends on this one.
Configuration
No options to configure.
- USES
- go
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| mibk-dupl-v1.1.0_GH0.tar.gz | 19595 | 09c4977baaaf4b3743ced69cbf9dc9f256fe69e47a3885d9e29cdab53eca8b1c |
Commit history 6
The latest 5 of 6 in the history this site was built from.