Skip to content

๐Ÿ” Ultralytics Source Trace: A tool for detecting and analyzing code duplication across Git repositories.

License

Notifications You must be signed in to change notification settings

ultralytics/source-trace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

13 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Ultralytics logo

๐Ÿ›  Ultralytics Source Trace

The ultralytics/source-trace repository is a specialized tool designed to analyze and report code duplication between different Git repositories. This project extends the principles of the standard Ultralytics Python project template by focusing on code integrity and tracking. It helps developers identify potentially copied code segments across repositories, providing detailed insights into the source, destination, and metadata associated with each duplication instance.

Ultralytics Actions Discord Ultralytics Forums Ultralytics Reddit

Features ๐ŸŒŸ

  • Detailed Comparison: Generates a detailed report of lines of code from one repository found in another.
  • Comprehensive Statistics: Provides statistics about the extent of code duplication, including metrics by file and author.
  • Metadata Tracking: Each instance of duplication includes metadata like the author and the date of the commit.

Starting a New Analysis

To start using source-trace:

  1. Clone this Repository: Clone source-trace to your local machine or server.
  2. Install Dependencies: Run pip install -r requirements.txt to install required Python packages.
  3. Set Up Your Analysis: Follow the documentation in the docs/ directory to configure your comparison setup.
  4. Run the Tool: Execute the scripts in the src/ directory to begin the analysis.

๐Ÿ’ก Contribute

Ultralytics thrives on community collaboration; we immensely value your involvement! We urge you to peruse our Contributing Guide for detailed insights on how you can participate. Don't forget to share your feedback with us by contributing to our Survey. A heartfelt thank you ๐Ÿ™ goes out to everyone who has already contributed!

Ultralytics open-source contributors

๐Ÿ“„ License

Ultralytics presents two distinct licensing paths to accommodate a variety of scenarios:

  • AGPL-3.0 License: This official OSI-approved open-source license is perfectly aligned with the goals of students, enthusiasts, and researchers who believe in the virtues of open collaboration and shared wisdom. Details are available in the LICENSE document.
  • Enterprise License: Tailored for commercial deployment, this license authorizes the unfettered integration of Ultralytics software and AI models within commercial goods and services, without the copyleft stipulations of AGPL-3.0. Should your use case demand an enterprise solution, direct your inquiries to Ultralytics Licensing.

๐Ÿ“ฎ Contact

For bugs or feature suggestions pertaining to Ultralytics, please lodge an issue via GitHub Issues. You're also invited to participate in our Discord community to engage in discussions and seek advice!


Ultralytics GitHub space Ultralytics LinkedIn space Ultralytics Twitter space Ultralytics YouTube space Ultralytics TikTok space Ultralytics BiliBili space Ultralytics Discord

About

๐Ÿ” Ultralytics Source Trace: A tool for detecting and analyzing code duplication across Git repositories.

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages