Skip to content

wikimedia/mediawiki-tools-dependency-analysis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This project contains scripts for generating reports about cyclic dependencies in the MediaWiki code base. The analysis is based on phpda.

Installation

  • ensure that you have both Python 2 and Python 3 installed
  • ensure that you have graph-tool for Python 3 installed (see [https://git.skewed.de/count0/graph-tool/wikis/installation-instructions](graph-tool installation instructions))
  • ensure that you have networkx for Python 2 installed (use pip)
  • clone this repository
  • run git submodule update --init --recursive to pull in submodules
  • run composer install to pull in libraries

Usage

  • call bin/generate-reports *<path-to-mediawiki>*
  • a report will be generated in www/report
  • visit the www directory with your browser

License

(c) Wikimedia Foundation 2019, licensed GPL 2.0 or later.

About

Github mirror of "mediawiki/tools/dependency-analysis" - our actual code is hosted with Gerrit (please see https://www.mediawiki.org/wiki/Developer_access for contributing)

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published