Back Arrow Icon
Go Back
DevCycle releases Code Usages Bitbucket Pipe to help keep code clean
Product Updates

DevCycle releases Code Usages Bitbucket Pipe to help keep code clean

With Bitbucket Pipe, every merge to main now scans for usages of DevCycle variables and feature flags.

Victor Vucicevich
Victor Vucicevich
September 19, 2022

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.

Code Usages Bitbucket Pipe

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!

Author headshot
written By
Victor Vucicevich

Enjoyed this read?

Stay up to date with the latest video business news, strategies, and insights sent straight to your inbox!

Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.