Giter Club home page Giter Club logo

analyze_project's Introduction

analyze_project

一个分析项目类层级的脚本

功能

将特定目录下的 Objective-C 类层级可视化, 以便于分析一些开源工程. 如图:

效果图

其中, 蓝色表示类, 绿色表示协议.

箭头表示继承关系, 或者协议实现关系.

使用

  1. Python3.0+
  2. 安装依赖: pip install graphviz
  3. 进入 analyze_project 根目录, 运行: python ./analyze_project.py dir1 dir2
  4. 其中: dir1 表示工程文件目录, dir2 表示可视化图的输出目录.
  5. 输出文件为 dir2/project.png

联系

如有问题, 欢迎提 issue.

analyze_project's People

Contributors

unash avatar

Watchers

 avatar

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.