in Blog, iDNA, Products

Read time: 6 minutes

How duplicate code can actually
increase your productivity

Finally, an easy way to get more done!

Only 5-10% of your source code might be unique. So, what?

A very high rating of code duplication is very common in Notes environments. At panagenda we have seen up to 97% code duplication in customer environments.

There’s good reason for such high numbers. Design templates in Domino applications are extensively used. Standard templates like Mail, Discussion and Document libraries are favorites. It makes sense and it should be encouraged. It’s more efficient to incorporate their core functions than it is to continually develop them from scratch.

In fact, once you know where your duplicate code can be found, code duplication can be used to speed up your Notes migration and modernization efforts!

Using cut-and-paste to speed your migration and modernization projects

Not a lot of people are aware of these numbers. How could they be? Information like this is almost impossible to find, but it doesn’t have to be.

Imagine your developers know where all your duplicate code is located right from the start. They could write one fix, one time, for one app or template. After that, a simple cut-and-paste can be used to apply that fix wherever it’s needed!

Think of the potential reducing time spent coding when up to 90% of your coding can be done with cut-and-paste!

Find your duplicate code – the key to speed

The Source Code dashboard in iDNA quickly shows how much code is duplicated in your environment. You instantly start to have an idea of the potential to speed development in your own environment.

Imagine you are going through a mail migration project. You’re looking for applications that could break when the mail system changes. How can you find that information?

It’s not difficult. Just go to the Database Catalog. Click on the Filter button. Here you can select “Insights”. Insights are potential issues we discovered for you during the source code analysis. 

Now you know where your cut-and-paste needs to go!

Code Similarity Clusters – 3 groupings, 3 time-savers for you

Based on this principle of shared code, iDNA Applications automatically creates “Code Similarity Clusters”. They show which databases share the same source code and how much of that source code they have in common.

  1. Finding the original templates used by applications that do not have an official configured “Master Template”. It’s all done automatically for you. Developers no longer need to manually search through all your applications to do this. This is already a massive time saver! Knowing which applications share the same internal structure and the degree to which that structure is shared, means you can design one, common roadmap for handling these applications.
  2. Identifying design differences between template and database instances. Have your applications been modified from their original templates? You’ll want to know! These may require more programming resources to properly process them within your project. Once you know, your developers are where they’re needed, when they’re needed.
  3. Separating applications based on IBM standard templates from those that are not. Many applications will be based on IBM standard templates. There will already exist developer tools that automate their handing in any project. They tend to be easier and quicker to process. But first, you need find them!

Don’t worry. It’s taken care of for you. It’s more quick wins without lifting a finger.

Get to know your code before you hit the project road

Having a thorough understanding of your applications and their code creates so many opportunities for you. We’ve only been able to cover a few:

  • Save time
  • Improve development efficiency
  • Reduce costs
  • Speed your project
  • Improving planning and resource allocation
  • Minimize the risk of failure

Want more information? Take a look in our Knowledge Base for more technical details.


Leave a Comment

Start typing and press Enter to search