Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼0.55MB] [CPU: ▼17.14ms] Passed 4 tests
A check of server-side resources used by Plugin Name: GMO Showtime
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.61 ▲0.15 | 37.67 ▼1.85 |
Dashboard /wp-admin | 3.45 ▲0.10 | 47.26 ▼12.21 |
Posts /wp-admin/edit.php | 3.56 ▲0.21 | 46.70 ▲0.12 |
Add New Post /wp-admin/post-new.php | 3.29 ▼2.59 | 37.10 ▼54.63 |
Media Library /wp-admin/upload.php | 3.37 ▲0.14 | 34.98 ▲0.24 |
GMO Showtime /wp-admin/options-general.php?page=gmoshowtime | 3.38 | 35.13 |
Carousel /wp-admin/edit.php?post_type=gmo-showtime | 3.41 | 35.37 |
Add New /wp-admin/post-new.php?post_type=gmo-showtime | 3.29 | 33.20 |
Server storage [IO: ▲0.63MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 49 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Plugin Name: GMO Showtime
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,946 ▲211 | 13.64 ▼0.57 | 5.65 ▲3.93 | 36.97 ▼13.41 |
Dashboard /wp-admin | 2,237 ▲52 | 5.81 ▼0.07 | 99.62 ▼2.30 | 38.13 ▼5.97 |
Posts /wp-admin/edit.php | 2,120 ▲28 | 2.05 ▲0.06 | 39.60 ▼1.01 | 35.11 ▼2.28 |
Add New Post /wp-admin/post-new.php | 1,576 ▲55 | 18.20 ▼4.89 | 643.55 ▼32.00 | 59.35 ▼3.57 |
Media Library /wp-admin/upload.php | 1,413 ▲28 | 4.22 ▲0.04 | 96.29 ▼3.61 | 43.31 ▼0.08 |
GMO Showtime /wp-admin/options-general.php?page=gmoshowtime | 1,307 | 2.13 | 65.17 | 54.94 |
Carousel /wp-admin/edit.php?post_type=gmo-showtime | 1,114 | 1.93 | 33.48 | 33.93 |
Add New /wp-admin/post-new.php?post_type=gmo-showtime | 1,746 | 3.71 | 61.36 | 32.95 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Smoke test failed, please fix the following
- > GET request to /wp-admin/post-new.php?post_type=gmo-showtime
- > Notice in wp-content/plugins/gmo-showtime/includes/pan-pan-pan.php+51
Undefined index: slide_link
- > GET request to /wp-admin/post-new.php?post_type=gmo-showtime
- > Notice in wp-content/plugins/gmo-showtime/includes/pan-pan-pan.php+52
Undefined index: slide_blank
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
The following issues need your attention
- 3× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/gmo-showtime/includes/admin.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/gmo-showtime/includes/pan-pan-pan.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/gmo-showtime/includes/pan-pan-pan.php:3
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Please fix the following browser errors
- > GET request to /wp-admin/options-general.php?page=gmoshowtime
- > Network (severe)
wp-content/plugins/gmo-showtime/css/gmo-admin-plugin.css?ver=6.3.1 - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/options-general.php?page=gmoshowtime
- > Network (severe)
wp-content/plugins/gmo-showtime/images/bnr_themes.png - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/options-general.php?page=gmoshowtime
- > Network (severe)
wp-content/plugins/gmo-showtime/images/bnr_plugins.png - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/options-general.php?page=gmoshowtime
- > Network (severe)
wp-content/plugins/gmo-showtime/images/logo.png - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Please fix the following attributes:
- Plugin Name: Write the name of your plugin instead of "Plugin Name" on the first line (
=== Plugin Name: GMO Showtime ===
) - Screenshots: Please add an image for screenshot #2 (Color settings)
gmo-showtime/gmo-showtime.php 85% from 13 tests
This is the main PHP file of "Plugin Name: GMO Showtime" version 1.6, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
It is important to fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 245 characters long)
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.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 plugin1,964 lines of code in 24 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 118 | 33 | 819 |
CSS | 4 | 14 | 3 | 566 |
Sass | 2 | 32 | 6 | 303 |
JavaScript | 6 | 25 | 45 | 191 |
XML | 7 | 0 | 0 | 58 |
JSON | 1 | 0 | 0 | 25 |
Markdown | 1 | 1 | 0 | 2 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 58.00 |
▷ Minimum class complexity | 58.00 |
▷ Maximum class complexity | 58.00 |
Average method complexity | 3.28 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 31.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 | 25 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 15 | 60.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 10 | 40.00% |
Functions | 11 | |
▷ Named functions | 11 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
18 PNG files occupy 0.50MB with 0.36MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/wpcloud_bnr_themes.png | 8.66KB | 3.83KB | ▼ 55.75% |
images/wpcloud_bnr_plugins.png | 9.14KB | 4.07KB | ▼ 55.50% |
img/blue.png | 4.44KB | 0.13KB | ▼ 97.07% |
img/transparent.png | 2.61KB | 0.14KB | ▼ 94.53% |
images/wpshop_bnr_plugins.png | 13.29KB | 5.68KB | ▼ 57.23% |