awesome-repositories.com
المدونة
awesome-repositories.com

اكتشف أفضل مستودعات المصادر المفتوحة باستخدام بحث مدعوم بالذكاء الاصطناعي.

استكشفعمليات بحث منسقةبدائل مفتوحة المصدربرمجيات ذاتية الاستضافةالمدونةخريطة الموقع
المشروعحولكيفية ترتيب النتائجالصحافةخادم MCP
قانونيالخصوصيةالشروط
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
peripheryapp avatar

peripheryapp/periphery

0
View on GitHub↗
6,145 نجوم·230 تفرعات·Swift·MIT·3 مشاهدات

Periphery

Periphery هي أداة تحليل ثابت وكاشف للكود الميت (dead code) لمشاريع Swift. تقوم بتحديد الفئات (classes) والهياكل (structs) والدوال والخصائص غير المستخدمة، وتعمل كمحسن لواجهة برمجة التطبيقات (API) للعثور على الإعلانات العامة التي يمكن تقييدها لتصبح داخلية (internal).

تتضمن الأداة فحصاً متخصصاً لملفات Interface Builder، مثل ملفات storyboards وXIBs، لضمان عدم تصنيف الأعضاء المرتبطين بواجهة المستخدم كغير مستخدمين بشكل خاطئ. كما توفر إمكانية إزالة الكود تلقائياً للتخلص من الكود الميت والمعاملات غير المستخدمة مباشرة من ملفات المصدر.

تغطي قدرات التحليل الخاصة بها اكتشاف البروتوكولات الزائدة، وحالات enum غير المستخدمة، وعمليات الاستيراد غير الضرورية، والخصائص التي يتم التعيين لها فقط. يدير النظام الديون التقنية من خلال تصفية المقارنة الأساسية (baseline) ويدعم المشاريع متعددة اللغات من خلال الحفاظ على الرموز المكشوفة لبيئة تشغيل Objective-C.

تتكامل Periphery مع أنظمة البناء وخطوط أنابيب CI باستخدام إعدادات تعتمد على YAML ويمكنها تصدير نتائج التحليل بتنسيقات قياسية متعددة في الصناعة.

Features

  • Dead Code Cleanup - Statically analyzes Swift projects to identify unreferenced classes, structs, functions, and properties.
  • Call Graph Traversals - Identifies unreferenced symbols by building and traversing a dependency graph of declarations and their call sites.
  • Unused Code Identification - Uses binary index store data to identify unused code without requiring a full project rebuild.
  • Swift Linters - Provides static analysis of Swift project graphs to find redundant declarations and unused imports.
  • Compiler Index Store Integration - Processes binary index stores from the Swift compiler to efficiently determine symbol usage.
  • Interface Builder Parsing - Scans Storyboard and XIB files to ensure UI-connected members are not incorrectly flagged as unused.
  • Redundant Accessibility Detection - Identifies declarations marked public that are never referenced from outside their home module.
  • Accessibility Level Analysis - Swift Unused Code Detector identifies public declarations that can be made private because they are only used internally.
  • API Surface Reduction - Identifies public declarations that can be restricted to internal access to optimize the module's API surface.
  • Dead Code Removal - Automatically removes identified dead code and unused parameters directly from Swift source files.
  • Interface Builder Analyzers - Parses XIB and storyboard files to ensure UI-connected members are not incorrectly flagged as unused.
  • Mixed-Language Project Support - Retains declarations accessible to the runtime to prevent false positives in multi-language codebases.
  • Assign-Only Property Detection - Identifies properties that are assigned values but never read, including those in structs with synthesized initializers.
  • Redundant Protocol Detection - Identifies protocols that are conformed to but never used as existential types or for generic specialization.
  • Runtime Interop Analysis - Preserves symbols exposed to the Objective-C runtime to prevent false positives in mixed-language projects.
  • Synthesized Code Handling - Preserves properties on types with compiler-generated code to avoid marking synthesized members as unused.
  • Unused Enum Case Detection - Identifies individual cases within non-raw-representable enumerations that are never referenced.
  • Unused Import Detection - Identifies import statements that are not required by any declaration in the source file.
  • Unused Parameter Detection - Identifies parameters in functions, protocols, and overridden methods that are never accessed.
  • Baseline-Based Debt Management - Provides a mechanism to track known unused code in a baseline file to isolate new regressions from legacy debt.
  • General Utilities - Identifies unused code in Swift projects.

سجل النجوم

مخطط تاريخ النجوم لـ peripheryapp/peripheryمخطط تاريخ النجوم لـ peripheryapp/periphery

بحث بالذكاء الاصطناعي

استكشف المزيد من المستودعات الرائعة

صف ما تحتاجه بلغة بسيطة — وسيقوم الذكاء الاصطناعي بترتيب آلاف المشاريع مفتوحة المصدر المنسقة حسب الصلة.

Start searching with AI

بدائل مفتوحة المصدر لـ Periphery

مشاريع مفتوحة المصدر مشابهة، مرتبة حسب عدد الميزات المشتركة مع Periphery.
  • jendrikseipp/vultureالصورة الرمزية لـ jendrikseipp

    jendrikseipp/vulture

    4,655عرض على GitHub↗

    Vulture is a static analysis tool and linter designed to find unused variables, functions, and classes in Python source code. It operates as a dead code detector and unused code finder that scans source files to identify unreachable expressions and imports without executing the code. The tool employs a confidence-based heuristic scoring system to assign probability values to detections, helping to distinguish truly unused symbols from potential false positives. It further assists in pruning dead logic by sorting detected unused classes and functions by line count to prioritize the removal of

    Pythondead-code-removalpython
    عرض على GitHub↗4,655
  • crate-ci/typosالصورة الرمزية لـ crate-ci

    crate-ci/typos

    4,002عرض على GitHub↗

    Typos is a source code spell checker and automated typo fixer designed to detect and correct spelling errors across programming languages and project files. It functions as a CI spelling validator and SARIF compatible linter, allowing projects to prevent misspelled text from reaching production. The tool features a customizable dictionary engine that utilizes TOML configuration and locale-specific dictionaries to manage project-specific terminology. It differentiates itself by splitting programming language identifiers into individual words for validation and verifying the spelling of filenam

    Rust
    عرض على GitHub↗4,002
  • go-task/taskالصورة الرمزية لـ go-task

    go-task/task

    15,721عرض على GitHub↗

    Task is a YAML-based task runner and build tool used to define and automate development workflows. It functions as a dependency-based build system and cross-platform task automator, allowing users to execute shell commands across different operating systems using a declarative configuration file. The project operates as an incremental build tool, utilizing file fingerprints and checksums to track state and avoid redundant work by determining if tasks are up to date. It manages execution via a dependency graph to ensure prerequisites are completed before target commands run. The system includ

    Go
    عرض على GitHub↗15,721
  • checkstyle/checkstyleالصورة الرمزية لـ checkstyle

    checkstyle/checkstyle

    8,867عرض على GitHub↗

    Checkstyle is a Java static analysis tool and linter designed to identify and enforce coding standards and best practices. It functions as a code quality auditor and Javadoc validation tool, checking source code against configurable rulesets to ensure structural and stylistic consistency. The project allows for the creation of custom linting rules by extending a core API to inspect the abstract syntax tree. It further enables specialized validation through the use of XPath expressions to query the syntax tree for specific code patterns and violations. Capability areas include the enforcement

    Javacode-qualitycommand-line-toolhacktoberfest
    عرض على GitHub↗8,867
عرض جميع البدائل الـ 30 لـ Periphery→

الأسئلة الشائعة

ما هي وظيفة peripheryapp/periphery؟

Periphery هي أداة تحليل ثابت وكاشف للكود الميت (dead code) لمشاريع Swift. تقوم بتحديد الفئات (classes) والهياكل (structs) والدوال والخصائص غير المستخدمة، وتعمل كمحسن لواجهة برمجة التطبيقات (API) للعثور على الإعلانات العامة التي يمكن تقييدها لتصبح داخلية (internal).

ما هي الميزات الرئيسية لـ peripheryapp/periphery؟

الميزات الرئيسية لـ peripheryapp/periphery هي: Dead Code Cleanup, Call Graph Traversals, Unused Code Identification, Swift Linters, Compiler Index Store Integration, Interface Builder Parsing, Redundant Accessibility Detection, Accessibility Level Analysis.

ما هي البدائل مفتوحة المصدر لـ peripheryapp/periphery؟

تشمل البدائل مفتوحة المصدر لـ peripheryapp/periphery: jendrikseipp/vulture — Vulture is a static analysis tool and linter designed to find unused variables, functions, and classes in Python… crate-ci/typos — Typos is a source code spell checker and automated typo fixer designed to detect and correct spelling errors across… go-task/task — Task is a YAML-based task runner and build tool used to define and automate development workflows. It functions as a… squizlabs/php_codesniffer — PHP_CodeSniffer is a static analysis tool, coding standard linter, and command-line validator for PHP. It scans files… checkstyle/checkstyle — Checkstyle is a Java static analysis tool and linter designed to identify and enforce coding standards and best… pycqa/pylint — Pylint is a static code analysis tool for Python that checks source code for errors, coding standard violations, and…