4 रिपॉजिटरी
The use of cut-and-paste cloning to increase code volume and introduce synchronization errors.
Distinct from Code Duplication Reduction: Direct opposite of Code Duplication Reduction [f5_mt1]; promotes duplication for the purpose of fragility.
Explore 4 awesome GitHub repositories matching software engineering & architecture · Code Logic Duplication. Refine with filters or upvote what's useful.
This project is a programming satire project and a curated catalog of software anti-patterns designed to demonstrate how to write intentionally unmaintainable and fragile code. It serves as a maintainability educational resource and a study in poor design choices, using extreme examples of obfuscated logic to teach developers how to recognize and avoid technical debt. The project provides a comprehensive guide to code obfuscation, focusing on techniques to hide program logic through deceptive naming, bizarre control flows, and misleading documentation. It distinguishes itself by intentionally
Encourages cut-and-paste cloning instead of reusable modules to increase code volume and errors.
jscpd is a code duplication detector that scans source code across 223 languages to find identical or near-identical copy-pasted blocks using a rolling hash algorithm. It is built with a Rust core for high performance, exposed through a Node.js API and CLI, and can be run as a standalone binary with no runtime dependencies. The tool detects duplicates in embedded languages within Vue, Svelte, Astro, and Markdown files by tokenizing each language block separately, and it supports extensionless scripts via shebang detection. The project distinguishes itself through its integration capabilities
Scans source code across 223 languages to find copy-pasted blocks using a rolling hash algorithm.
Pylint is a static code analyzer for Python that scans source code for errors, coding standard violations, code smells, and type-related issues without executing the program. It functions as a plugin-based linter framework, allowing users to extend its analysis capabilities with custom or third-party checks for project-specific rules and framework support. The tool also includes a duplicate code detector that identifies identical or near-identical code blocks across a project to help reduce redundancy. Beyond its core linting functionality, Pylint can generate UML class and package diagrams f
Identifies duplicate code blocks by comparing tokenised source sequences across files.
PMD एक बहुभाषी स्टैटिक कोड एनालाइज़र है जिसका उपयोग प्रोग्राम को निष्पादित किए बिना प्रोग्रामिंग खामियों, अप्रयुक्त वेरिएबल्स और डेड कोड की पहचान करने के लिए किया जाता है। यह एक कोड स्मेल डिटेक्टर और कोडिंग स्टैंडर्ड एनफोर्सर के रूप में कार्य करता है, यह सुनिश्चित करता है कि सोर्स कोड विशिष्ट नामकरण सम्मेलनों, संरचनात्मक आवश्यकताओं और प्रोजेक्ट स्टाइल गाइड्स का पालन करता है। इस प्रोजेक्ट में एक XPath-आधारित नियम इंजन है जो उपयोगकर्ताओं को एब्सट्रैक्ट सिंटैक्स ट्री के खिलाफ क्वेरीज़ का उपयोग करके कस्टम विश्लेषण पैटर्न परिभाषित करने की अनुमति देता है। इसमें कई फाइलों में डुप्लिकेट कोड ब्लॉक्स की पहचान करने के लिए एक कॉपी-पेस्ट डिटेक्टर और कस्टम डिटेक्शन पैटर्न बनाने व परीक्षण करने के लिए एक विजुअल रूल डिज़ाइनर भी शामिल है। विश्लेषण सतह बग डिटेक्शन, तकनीकी ऋण को कम करने के लिए रखरखाव संबंधी मुद्दों की पहचान, और टेस्ट कार्यान्वयन के सत्यापन को कवर करती है। यह अत्यधिक जटिल मेथड्स और अत्यधिक पैरामीटर सूचियों की पहचान करने के लिए क्षमताएं भी प्रदान करती है।
Scans source files across multiple languages to find and flag copy-paste redundancies and redundant logic blocks.