![]() | ||
| ||
| Our Solutions ... | ||
| Pattern Insight Solutions | The Power of Patterns | |
|
This replicated code is a nightmare for development teams since nobody knows for certain where duplications exist. A critical bug is fixed once only to pop up again in another place – often in a serious customer situation. Merging enhancements and fixes across all branches and versions becomes impossible, especially when dealing with open source updates. And to make this problem even harder, most code replications include insertions, deletions, different variable names and other changes. When you’re looking for replicated code, it can be impossible to find using traditional keyword-based search methods.
|
Pattern Insight is different because we finds patterns, not just keywords. A pattern is a syntactic and semantic similarity within a segment of code ranging from a snippet to a full branch.
When it comes to source code, Pattern Insight is intelligent. Because we understand and leverage syntax, Pattern Insight is able to parse code and find patterns that traditional search approaches can’t – for example “x = foo (y)” is the same pattern as “a = foo (b)”. Pattern Insight is able to recognize code that is alike even if variable names, function names, or parameter options have been renamed. We can even understand code similarities that have statements inserted between them. We can identify the common pattern between “x = foo (y); z = x*20” and “a = foo (b); e = b; c = a*20”. | |
| Home | Product | Careers | AboutUS | Copyright © 2006-2008 Pattern Insight Inc. All rights reserved. | |