this post was submitted on 12 Aug 2026
59 points (98.4% liked)

Programming

28256 readers
362 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



founded 3 years ago
MODERATORS
 

Periphery, a famous and efficient tool to check dead code, moves from open source model to commercial model 😭

all 18 comments
sorted by: hot top controversial new old
[–] Kissaki@programming.dev 13 points 2 weeks ago (1 children)

Periphery finds unused code in Swift projects so teams can stay focused

Small indie and hobby projects will be able to use Periphery for free, so too will open-source projects of any size. Larger projects developed by companies with the resources to purchase a license will benefit from a more capable tool. The first phase in this transition is an open beta. Everyone can obtain a free beta license with no restrictions on project size. The open beta doesn’t have an end date yet, but ample notice will be given when that date is determined.

[–] DornerStan@lemmygrad.ml 4 points 2 weeks ago

I have never used Periphery but this seems fine.

Open source is great as far as empowering individuals with the knowledge of what code their machines run, and opening avenues for collaboration among diverse programmers.

It's also been a highly productive commons-maker that for-profit corporations can freely extract value from, often turning around and using some of their profits to undermine the open source movement (not to mention supporting war crimes and whatnot).

Everyone deserves to be paid for their labor, but especially if it's being used in closed-source profit-generating software.

[–] Carighan@piefed.world 9 points 2 weeks ago

Yeah from the explanation I kinda feel for the dev, they gotta be inundated in PRs.

I suspect someone will continue working from the current codebase?

[–] eleijeep@piefed.social 2 points 2 weeks ago (1 children)

Was it really useful? Code coverage tools have existed for forever. Does Swift not have any FLOSS coverage tools like gcov?

[–] urushitan@kakera.kintsugi.moe 3 points 2 weeks ago (1 children)

Code coverage tools are generally specifically about test coverage, not which code actually gets executed or is unreachable. It makes sense in swift because code with tests would still report as being covered even if the actual UI that would ever run that code was removed. That’s what this tool looks for. Dead code, not untested code

[–] eleijeep@piefed.social -1 points 2 weeks ago

I know what the tool does, I read the webpage.

Code coverage tools are generally specifically about test coverage, not which code actually gets executed or is unreachable.

Code coverage tools are for whatever you want to use them for. Lots of people use them to measure test coverage, but you can also use them to measure code usage in production. There are a variety of different ways to instrument code of various different levels of invasiveness and performance impact. Even the Linux kernel has built in instrumentation for measuring code coverage (kcov).