72% wp-meteor

Code Review | WP Meteor Website Speed Optimization Addon

WordPress plugin WP Meteor Website Speed Optimization Addon scored72%from 54 tests.

About plugin

  • Plugin page: wp-meteor
  • Plugin version: 3.3.3
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.5-6.4.1
  • WordPress version: 6.3.1
  • First release: Jan 7, 2021
  • Latest release: Nov 9, 2023
  • Number of updates: 263
  • Update frequency: every 4.0 days
  • Top authors: aguidrevitch (100%)

Code review

54 tests

User reviews

70 reviews

Install metrics

50,000+ active /634,545 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully

Server metrics [RAM: ▲0.46MB] [CPU: ▲1.22ms] Passed 4 tests

Server-side resources used by WP Meteor Website Speed Optimization Addon
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.89 ▲0.4339.66 ▲0.54
Dashboard /wp-admin3.78 ▲0.4748.65 ▲0.55
Posts /wp-admin/edit.php3.83 ▲0.4751.19 ▲3.49
Add New Post /wp-admin/post-new.php6.38 ▲0.5094.68 ▲0.31
Media Library /wp-admin/upload.php3.70 ▲0.4739.04 ▲6.02
WP Meteor /wp-admin/options-general.php?page=wp-meteor3.5231.21

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

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

Browser metrics Passed 4 tests

A check of browser resources used by WP Meteor Website Speed Optimization Addon
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,921 ▲15914.82 ▲0.4717.06 ▲15.4436.92 ▼7.64
Dashboard /wp-admin2,212 ▲325.63 ▼0.0191.81 ▲1.1941.79 ▲0.35
Posts /wp-admin/edit.php2,120 ▲201.98 ▲0.0140.44 ▲4.2236.59 ▼0.81
Add New Post /wp-admin/post-new.php1,543 ▼2923.49 ▲4.22644.19 ▲25.6562.28 ▼2.04
Media Library /wp-admin/upload.php1,417 ▲144.17 ▼0.04100.95 ▲2.6242.39 ▲1.79
WP Meteor /wp-admin/options-general.php?page=wp-meteor9913.2084.0833.56

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • can_compress_scripts
    • db_upgraded
    • theysaidso_admin_options
    • widget_recent-posts
    • widget_recent-comments
    • widget_theysaidso_widget

Smoke tests 25% from 4 tests

Server-side errors 0% from 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Smoke test failed, please fix the following
    • > GET request to /wp-admin/options-general.php?page=wp-meteor
    • > Notice in wp-content/plugins/wp-meteor/blocker/Exclusions/Exclude.php+68
    Undefined index: blockers

SRP 0% from 2 tests

🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following items
  • 3× PHP files output non-empty strings when accessed directly via GET requests:
    • > /wp-content/plugins/wp-meteor/wp-meteor.php
    • > /wp-content/plugins/wp-meteor/vendor/wpdesk/wp-builder/tests/integration/bootstrap.php
    • > /wp-content/plugins/wp-meteor/vendor/wpdesk/wp-notice/tests/integration/bootstrap.php
  • 41× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
    • > PHP Warning
      require_once(wp-content/plugins/wp-meteor/vendor/wpdesk/wp-builder/tests/unit/../../vendor/autoload.php): failed to open stream: No such file or directory in wp-content/plugins/wp-meteor/vendor/wpdesk/wp-builder/tests/unit/bootstrap.php on line 6
    • > PHP Fatal error
      Uncaught Error: Class 'WP_Meteor\\Frontend\\Base' not found in wp-content/plugins/wp-meteor/frontend/Rewrite.php:17
    • > PHP Fatal error
      Uncaught Error: Class 'WPDesk\\PluginBuilder\\Builder\\AbstractBuilder' not found in wp-content/plugins/wp-meteor/vendor/wpdesk/wp-builder/src/Builder/InfoBuilder.php:13
    • > PHP Fatal error
      Uncaught Error: Interface 'WPDesk\\PluginBuilder\\Plugin\\Hookable' not found in wp-content/plugins/wp-meteor/vendor/wpdesk/wp-builder/src/Plugin/HookablePluginDependant.php:5
    • > PHP Fatal error
      Uncaught Error: Class 'Codeception\\TestCase\\WPTestCase' not found in wp-content/plugins/wp-meteor/vendor/wpdesk/wp-notice/tests/codeception/tests/integration/NoticeTest.php:8
    • > PHP Fatal error
      Uncaught Error: Interface 'WPDesk_Translatable' not found in wp-content/plugins/wp-meteor/vendor/wpdesk/wp-builder/src/Plugin/SlimPlugin.php:8
    • > PHP Fatal error
      Uncaught Error: Class 'WP_Meteor\\Engine\\Base' not found in wp-content/plugins/wp-meteor/backend/ActDeact.php:20
    • > PHP Fatal error
      Uncaught Error: Class 'WP_Meteor\\Blocker\\Base' not found in wp-content/plugins/wp-meteor/blocker/Exclusions/GDPR.php:18
    • > PHP Fatal error
      Uncaught Error: Interface 'WPDesk\\PluginBuilder\\Storage\\PluginStorage' not found in wp-content/plugins/wp-meteor/vendor/wpdesk/wp-builder/src/Storage/StaticStorage.php:12
    • > PHP Fatal error
      Uncaught Error: Class 'WP_Meteor\\Blocker\\FirstInteraction\\Base' not found in wp-content/plugins/wp-meteor/blocker/FirstInteraction/UltimateReorder.php:18

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected

Optimizations

Plugin configuration 90% from 29 tests

readme.txt 94% from 16 tests

It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that need to be fixed:
  • Donate link: Invalid URI ("")
Please take inspiration from this readme.txt

wp-meteor/wp-meteor.php 85% from 13 tests

The entry point to "WP Meteor Website Speed Optimization Addon" version 3.3.3 is a PHP file that has certain tags in its header comment area
You should first fix the following items:
  • Domain Path: The domain path points to an invalid folder, "/languages" does not exist
  • Requires PHP: Required version must match the one declared in readme.txt ("7.0" instead of "5.6")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Success! There were no dangerous files found in this plugin9,659 lines of code in 138 files:
LanguageFilesBlank linesComment linesLines of code
PHP799111,9303,372
JavaScript24531632,873
JSON6002,353
JSX51419318
YAML7238253
Sass5365224
Markdown5590162
XML5200102
CSS2012

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity
Average complexity per logical line of code0.35
Average class complexity6.82
▷ Minimum class complexity1.00
▷ Maximum class complexity48.00
Average method complexity2.13
▷ Minimum method complexity1.00
▷ Maximum method complexity25.00
Code structure
Namespaces17
Interfaces12
Traits3
Classes45
▷ Abstract classes613.33%
▷ Concrete classes3986.67%
▷ Final classes00.00%
Methods289
▷ Static methods2910.03%
▷ Public methods27093.43%
▷ Protected methods72.42%
▷ Private methods124.15%
Functions39
▷ Named functions1743.59%
▷ Anonymous functions2256.41%
Constants41
▷ Global constants1843.90%
▷ Class constants2356.10%
▷ Public constants23100.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

All PNG images should be compressed to minimize bandwidth usage for end users
No PNG images were found in this plugin