Giter VIP home page Giter VIP logo

depcheck's Introduction

Depcheck

Depcheck is a dependency analyzer tool for Swift projects. Depcheck reports dependencies per class, allowing you to easily detect classes that have too many dependencies. Depcheck can also report how many dependants a class have. Therefore you can spot the most used and unused classes. Additionaly you can generate dependency graph of your project.

Installation

Add this line to your application's Gemfile:

gem 'depcheck'

And then execute:

$ bundle

Or install the gem:

gem install depcheck

Usage

Analyze command reports dependencies per classes. Usage command reports how many dependants a class have. Graph command generates dependency graph.

Build your project using Debug configuration, and then run:

$ depcheck analyze --project path/to/project.xcodeproj

If you use a workspace in Xcode you need to specify it:

$ depcheck analyze --workspace path/to/workspace.xcworkspace --scheme YourXcodeSchemeName

Contributing

I’d love to see your ideas for improving this library! The best way to contribute is by submitting a pull request. I’ll do my best to respond to your patch as soon as possible. You can also submit a new GitHub issue if you find bugs or have questions.

Author

Wojtek Lukaszuk @wojteklu

License

This project is licensed under the terms of the MIT license. See the LICENSE file.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.