This repository has been archived on 2026-09-11. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files

740 B

WordPress Metrics

scrape_wordpress_plugins.py

  • Uses requests to scrape the whole plugins list using https://api.wordpress.org/plugins/
  • Scrape in pages of 100 plugins, takes about ~30 mins to complete
  • Stores as output.json

analyze_data.py

  • Calculate basic statistics (percentiles, mean, median, sd ...)
  • Visualize them with matplot in a logrithrimic scale

query_plugin.py

  • Change slug to equal the target plugins (should be able to directly plug the outputs from detect_plugins.sh)
  • TODO: Implement warning system

security_rating.py

  • Implements some sort of basic rating system factoring in number of active installations, last-update date, and ratings
  • sample use case: python3 security_rating.py {plugin name}