Code Monkey home page Code Monkey logo

objcprojectdependencyvisualisation's Introduction

ObjcProjectDependencyVisualisation

ObjcProjectDependencyVisualisation is a project designed to help iOS developers improve their project structure. This repository contains a script which shows all dependencies in a project provided in the form of a directed graph.

How do I use it?

  1. Clone the project

  2. Install pip3 (run: brew install python3)

  3. (Optional) Activate virtualenv

  4. pip3 install -r requirements.txt

  5. python3 visualisation.py [-h] [-i IOSPROJECTPATH] [-o OUTPUTDIR] [-f OUTPUTFILENAME] [-e OUTPUTFILEEXTENSION]

    optional arguments:

    • -h, --help show this help message and exit

    • -i IOSPROJECTPATH, --iosProjectPath IOSPROJECTPATH

                      path to iOS project to parse
      
    • -o OUTPUTDIR, --outputDir OUTPUTDIR

                      folder to save result file to
      
    • -f OUTPUTFILENAME, --outputFilename OUTPUTFILENAME

                      output file name
      
    • -e OUTPUTFILEEXTENSION, --outputFileExtension OUTPUTFILEEXTENSION

                      output file extension
      

What graph output types are supported?

‘canon’, ‘cmap’, ‘cmapx’, ‘cmapx_np’, ‘dia’, ‘dot’, ‘fig’, ‘gd’, ‘gd2’, ‘gif’, ‘hpgl’, ‘imap’, ‘imap_np’, ‘ismap’, ‘jpe’, ‘jpeg’, ‘jpg’, ‘mif’, ‘mp’, ‘pcl’, ‘pdf’, ‘pic’, ‘plain’, ‘plain-ext’, ‘png’, ‘ps’, ‘ps2’, ‘svg’, ‘svgz’, ‘vml’, ‘vmlz’, ‘vrml’, ‘vtx’, ‘wbmp’, ‘xdot’, ‘xlib’

What types of dependencies are shown?

Currently a graph distinguishes four types of dependencies:

  1. Red arrow - .pch file dependancy
  2. Blue double-sided arrow - dependency cycle
  3. Half-transparent node - external dependency
  4. A node without in- or outarrows - isolated class

Give me an example!

Here you are: Example graph

objcprojectdependencyvisualisation's People

Contributors

d3migod avatar

Watchers

James Cloos avatar  avatar

Forkers

vanes96

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.