89% export-all-urls

Code Review | Export All URLs

WordPress plugin Export All URLs scored89%from 54 tests.

About plugin

  • Plugin page: export-all-urls
  • Plugin version: 4.7
  • PHP compatiblity: 5.4+
  • PHP version: 7.4.16
  • WordPress compatibility: 3.1-6.4
  • WordPress version: 6.3.1
  • First release: Apr 7, 2016
  • Latest release: Nov 7, 2023
  • Number of updates: 57
  • Update frequency: every 48.6 days
  • Top authors: Atlas_Gondal (100%)

Code review

54 tests

User reviews

69 reviews

Install metrics

40,000+ active /408,865 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices

Server metrics [RAM: ▲0.03MB] [CPU: ▼8.50ms] Passed 4 tests

An overview of server-side resources used by Export All URLs
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.50 ▲0.0334.70 ▼6.55
Dashboard /wp-admin3.35 ▼0.0046.64 ▼18.80
Posts /wp-admin/edit.php3.40 ▲0.0448.47 ▲0.34
Add New Post /wp-admin/post-new.php5.95 ▲0.0687.94 ▼9.00
Media Library /wp-admin/upload.php3.27 ▲0.0436.20 ▲0.69
Export All URLs /wp-admin/tools.php?page=extract-all-urls-settings3.3733.93

Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests

A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options
theysaidso_admin_options
db_upgraded
widget_recent-posts
widget_recent-comments
can_compress_scripts
widget_theysaidso_widget

Browser metrics Passed 4 tests

Checking browser requirements for Export All URLs
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,798 ▲5114.34 ▼0.451.63 ▼0.1136.27 ▼8.43
Dashboard /wp-admin2,206 ▲325.53 ▼0.0889.93 ▼8.0838.16 ▼7.44
Posts /wp-admin/edit.php2,108 ▲51.97 ▲0.0239.68 ▲2.2635.26 ▼0.54
Add New Post /wp-admin/post-new.php1,533 ▲723.23 ▲0.22606.51 ▼82.9058.77 ▲5.14
Media Library /wp-admin/upload.php1,408 ▲84.29 ▲0.07111.59 ▼4.6743.02 ▼4.89
Export All URLs /wp-admin/tools.php?page=extract-all-urls-settings1,2231.6826.4833.57

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
  • Zombie WordPress options detected upon uninstall: 6 options
    • db_upgraded
    • widget_recent-posts
    • widget_theysaidso_widget
    • widget_recent-comments
    • can_compress_scripts
    • theysaidso_admin_options

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test

SRP Passed 2 tests

🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
No output text or server-side errors detected on direct access of PHP files

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found

Optimizations

Plugin configuration 90% from 29 tests

readme.txt 94% from 16 tests

Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that require attention:
  • Tags: There are too many tags (15 tag instead of maximum 10)
You can look at the official readme.txt

export-all-urls/extract-all-urls.php 85% from 13 tests

Analyzing the main PHP file in "Export All URLs" version 4.7
You should first fix the following items:
  • Description: Keep the plugin description shorter than 140 characters (currently 406 characters long)
  • Main file name: Please rename the main PHP file in this plugin to the plugin slug ("export-all-urls.php" instead of "extract-all-urls.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Good job! No executable or dangerous file extensions detected673 lines of code in 6 files:
LanguageFilesBlank linesComment linesLines of code
PHP418541541
CSS122096
JavaScript112036

PHP code Passed 2 tests

A brief analysis of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.36
Average class complexity15.00
▷ Minimum class complexity1.00
▷ Maximum class complexity39.00
Average method complexity4.23
▷ Minimum method complexity1.00
▷ Maximum method complexity29.00
Code structure
Namespaces1
Interfaces0
Traits0
Classes3
▷ Abstract classes00.00%
▷ Concrete classes3100.00%
▷ Final classes00.00%
Methods13
▷ Static methods00.00%
▷ Public methods13100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions1
▷ Named functions1100.00%
▷ Anonymous functions00.00%
Constants14
▷ Global constants00.00%
▷ Class constants14100.00%
▷ Public constants14100.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There are no PNG files in this plugin