Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
You still need to fix the following installer errors
- The plugin cannot be installed
- > Notice in wp-content/plugins/meteor-slides/meteor-slides-plugin.php+324
Trying to access array offset on value of type bool
Server metrics [RAM: ▲0.06MB] [CPU: ▼4.69ms] Passed 4 tests
A check of server-side resources used by Meteor Slides
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.05 | 40.50 ▲1.26 |
Dashboard /wp-admin | 3.37 ▲0.07 | 48.60 ▼0.46 |
Posts /wp-admin/edit.php | 3.48 ▲0.13 | 43.54 ▼3.15 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.07 | 79.54 ▼16.42 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 33.98 ▲2.12 |
Slides /wp-admin/edit.php?post_type=slide | 3.34 | 35.83 |
Add New /wp-admin/post-new.php?post_type=slide | 3.37 | 42.99 |
Slideshows /wp-admin/edit-tags.php?taxonomy=slideshow&post_type=slide | 3.29 | 34.66 |
Settings /wp-admin/edit.php?post_type=slide&page=slides_settings | 3.34 | 30.15 |
Server storage [IO: ▲1.00MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 83 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_meteor-slides-widget |
db_upgraded |
widget_recent-comments |
meteorslides_options |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for Meteor Slides
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,955 ▲209 | 13.65 ▼0.91 | 9.95 ▲8.30 | 45.25 ▲1.25 |
Dashboard /wp-admin | 2,241 ▲53 | 5.79 ▼0.11 | 98.17 ▼10.95 | 38.23 ▼0.58 |
Posts /wp-admin/edit.php | 2,124 ▲32 | 2.04 ▲0.05 | 34.37 ▼7.01 | 33.24 ▼1.03 |
Add New Post /wp-admin/post-new.php | 1,563 ▲49 | 23.31 ▲5.73 | 677.11 ▲42.46 | 54.54 ▲3.55 |
Media Library /wp-admin/upload.php | 1,420 ▲32 | 4.20 ▼0.21 | 96.34 ▼1.38 | 39.64 ▼1.08 |
Slides /wp-admin/edit.php?post_type=slide | 1,138 | 1.93 | 30.49 | 26.26 |
Add New /wp-admin/post-new.php?post_type=slide | 1,769 | 3.67 | 66.64 | 29.77 |
Slideshows /wp-admin/edit-tags.php?taxonomy=slideshow&post_type=slide | 1,352 | 2.14 | 25.79 | 27.31 |
Settings /wp-admin/edit.php?post_type=slide&page=slides_settings | 1,169 | 2.06 | 23.09 | 30.45 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- This plugin does not fully uninstall, leaving 7 options in the database
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- widget_meteor-slides-widget
- widget_recent-comments
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
SRP 50% 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
- 5× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/meteor-slides/meteor-slides-plugin.php:30
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/meteor-slides/includes/meteor-slides-admin.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/meteor-slides/includes/meteor-slides-settings.php:170
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/meteor-slides/includes/meteor-slideshow.php:16
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/meteor-slides/includes/meteor-slides-widget.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
These attributes need to be fixed:
- Screenshots: These screenshots require images: #1 (Slideshow Preview), #2 (New Slide Page), #3 (Edit Slide Page), #4 (Slides Column View), #5 (Manage Slideshows), #6 (Meteor Slides Settings), #7 (Meteor Slides Widget)
meteor-slides/meteor-slides-plugin.php 92% from 13 tests
The primary PHP file in "Meteor Slides" version 1.5.7 is used by WordPress to initiate all plugin functionality
It is important to fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("meteor-slides.php" instead of "meteor-slides-plugin.php")
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
There were no executable files found in this plugin8,423 lines of code in 40 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 27 | 2,463 | 3,380 | 5,868 |
JavaScript | 4 | 155 | 217 | 1,477 |
PHP | 6 | 588 | 78 | 868 |
CSS | 2 | 11 | 18 | 185 |
Markdown | 1 | 13 | 0 | 25 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 8.00 |
▷ Minimum class complexity | 8.00 |
▷ Maximum class complexity | 8.00 |
Average method complexity | 2.75 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 42 | |
▷ Named functions | 42 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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
3 PNG files occupy 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/buttons.png | 0.28KB | 0.18KB | ▼ 33.22% |
images/next.png | 0.89KB | 0.69KB | ▼ 22.92% |
images/prev.png | 0.88KB | 0.69KB | ▼ 21.49% |