84% wpextended

Code Review | The Ultimate WordPress Toolkit - WP Extended

WordPress plugin The Ultimate WordPress Toolkit - WP Extended scored84%from 54 tests.

About plugin

  • Plugin page: wpextended
  • Plugin version: 2.4.6
  • PHP compatiblity: 7.4+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.6-6.4.1
  • WordPress version: 6.3.1
  • First release: Sep 26, 2022
  • Latest release: Dec 1, 2023
  • Number of updates: 79
  • Update frequency: every 5.5 days
  • Top authors: wpextended (100%)

Code review

54 tests

User reviews

20 reviews

Install metrics

800+ active /8,501 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully

Server metrics [RAM: ▲0.13MB] [CPU: ▼7.33ms] Passed 4 tests

Server-side resources used by The Ultimate WordPress Toolkit - WP Extended
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.59 ▲0.1339.40 ▼2.40
Dashboard /wp-admin3.44 ▲0.1049.39 ▼13.75
Posts /wp-admin/edit.php3.55 ▲0.2051.72 ▲4.80
Add New Post /wp-admin/post-new.php6.04 ▲0.1583.85 ▼16.81
Media Library /wp-admin/upload.php3.36 ▲0.1435.76 ▲3.64

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

How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 199 new files
Database: no new tables, 6 new options
New WordPress options
theysaidso_admin_options
can_compress_scripts
widget_recent-comments
db_upgraded
widget_theysaidso_widget
widget_recent-posts

Browser metrics Passed 4 tests

An overview of browser requirements for The Ultimate WordPress Toolkit - WP Extended
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,834 ▲7214.38 ▲0.021.57 ▼0.2537.78 ▼6.06
Dashboard /wp-admin2,239 ▲625.57 ▼0.0897.11 ▲3.1341.88 ▼0.80
Posts /wp-admin/edit.php2,144 ▲442.04 ▲0.0641.07 ▼1.5634.90 ▼2.21
Add New Post /wp-admin/post-new.php1,551 ▲2523.38 ▼0.02659.38 ▲51.1157.30 ▲14.98
Media Library /wp-admin/upload.php1,444 ▲414.19 ▼0.0696.73 ▼0.3342.28 ▼0.06

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

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
  • This plugin does not fully uninstall, leaving 6 options in the database
    • widget_theysaidso_widget
    • db_upgraded
    • widget_recent-comments
    • widget_recent-posts
    • theysaidso_admin_options
    • can_compress_scripts

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though no errors were found, this is by no means an exhaustive test

SRP 50% from 2 tests

🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following
  • 7× GET requests to PHP files trigger server-side errors or Error 500 responses:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function get_option() in wp-content/plugins/wpextended/uninstall.php:3
    • > PHP Fatal error
      Uncaught Error: Class 'Wp_Extended' not found in wp-content/plugins/wpextended/includes/libraries/wpext_export/wpext_export.php:7
    • > PHP Fatal error
      Uncaught Error: Class 'Wp_Extended' not found in wp-content/plugins/wpextended/admin/class-wp-extended-admin.php:23
    • > PHP Fatal error
      Uncaught Error: Call to undefined function __() in wp-content/plugins/wpextended/admin/partials/wp-extend-admin-display.php:17
    • > PHP Fatal error
      Uncaught Error: Class 'Wp_Extended' not found in wp-content/plugins/wpextended/includes/modules/core_extensions/wpext_user_sections/wpext_user_sections.php:3
    • > PHP Fatal error
      Uncaught Error: Class 'Wp_Extended' not found in wp-content/plugins/wpextended/includes/modules/core_extensions/wpext_post_order/wpext_post_order.php:3
    • > PHP Fatal error
      Uncaught Error: Class 'Wp_Extended' not found in wp-content/plugins/wpextended/includes/modules/core_extensions/wpext_snippets/wpext_snippets.php:3

User-side errors Passed 1 test

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

Optimizations

Plugin configuration 93% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need to be fixed:
  • Tags: You are using too many tags: 11 tag instead of maximum 10
Please take inspiration from this readme.txt

wpextended/wp-extended.php 92% from 13 tests

"The Ultimate WordPress Toolkit - WP Extended" version 2.4.6's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please make the necessary changes and fix the following:
  • Main file name: Name the main plugin file the same as the plugin slug ("wpextended.php" instead of "wp-extended.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
No dangerous file extensions were detected9,046 lines of code in 167 files:
LanguageFilesBlank linesComment linesLines of code
PHP519078005,620
CSS1471281,154
JavaScript221741151,083
PO File3279369660
JSON4900466
SVG280263

PHP code Passed 2 tests

This plugin's cyclomatic complexity and code structure detailed below
No complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.37
Average class complexity19.19
▷ Minimum class complexity1.00
▷ Maximum class complexity134.00
Average method complexity3.43
▷ Minimum method complexity1.00
▷ Maximum method complexity53.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes36
▷ Abstract classes00.00%
▷ Concrete classes36100.00%
▷ Final classes00.00%
Methods269
▷ Static methods7126.39%
▷ Public methods25895.91%
▷ Protected methods00.00%
▷ Private methods114.09%
Functions2
▷ Named functions2100.00%
▷ Anonymous functions00.00%
Constants30
▷ Global constants826.67%
▷ Class constants2273.33%
▷ Public constants22100.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Often times overlooked, PNG files can occupy unnecessary space in your plugin
4 PNG files occupy 0.04MB with 0.01MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant
FileSize - originalSize - compressedSavings
includes/modules/core_extensions/wpext_smtp_email/img/wpext_log.png40.53KB19.61KB▼ 51.63%
includes/modules/core_extensions/wpext_pixel_tag_manager/img/pintrest.png1.09KB0.92KB▼ 15.36%
includes/modules/core_extensions/wpext_pixel_tag_manager/img/wpext_analytics.png0.37KB0.30KB▼ 18.47%
includes/modules/core_extensions/wpext_pixel_tag_manager/img/wpext-fb.png0.54KB0.39KB▼ 28.85%