DevCycle releases Code Usages Bitbucket Pipe to help keep code clean
Victor Vucicevich
7/16/2023
We’re really excited to announce the launch of our newest BitBucket Pipe, DevCycle Code Usages. With this Pipe, every merge to main now scans for usages of DevCycle variables and feature flags so we can quickly and easily show our users exactly where in their code they can find references to each flag.
Code Cleanup is Hard
We know code cleanup is hard. We deal with it every day, with every new feature we release and every set of flags we need to eventually clean up from our code. Anyone that has used a feature flagging tool for an extended period of time can relate to the challenge that lies within removing flags from code when they’re no longer needed. Firstly, it can be hard just to schedule the time to do it, but when you do take action, there are risks associated with not cleaning up your flags fully— potentially introducing instability to your code.
Given that the main purpose of feature flagging is to increase stability and quality while improving efficiency, we consider this problem of code cleanup to be extremely important.
Enter DevCycle Code Usages
That’s exactly why we’ve created our Code Usages Bitbucket Pipe. Not only does it automatically scan all merges to prod for new and existing feature flags, but it also pushes that information directly to the DevCycle dashboard. With that information in hand, if you want to know the exact line in all files and repositories where a flag is referenced it’s as easy as checking out the variables section of our interface.
How to Get Started with Code Usages
All of DevCycle’s Pipes are completely free and available on all plans.
To get started with this pipe, get it here!
Written By
Victor Vucicevich