Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.01MB] [CPU: ▼6.41ms] Passed 4 tests
This is a short check of server-side resources used by Plugin Name: GMO Page Transitions
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.01 | 42.79 ▲2.13 |
Dashboard /wp-admin | 3.32 ▲0.02 | 46.89 ▼0.75 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 44.75 ▼3.11 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 82.35 ▼23.45 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 35.48 ▲1.68 |
GMO Page Transitions /wp-admin/options-general.php?page=ido_change | 3.18 | 27.29 |
Server storage [IO: ▲0.20MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 19 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Plugin Name: GMO Page Transitions: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,883 ▲137 | 13.55 ▼0.82 | 8.89 ▲7.12 | 42.22 ▲3.44 |
Dashboard /wp-admin | 2,210 ▲22 | 5.83 ▲0.03 | 111.21 ▲4.83 | 42.31 ▼0.37 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.01 ▼0.01 | 35.50 ▼1.61 | 31.40 ▼8.17 |
Add New Post /wp-admin/post-new.php | 1,539 ▼3 | 23.05 ▲4.76 | 665.84 ▲14.38 | 65.34 ▲17.50 |
Media Library /wp-admin/upload.php | 1,389 ▲1 | 4.23 ▲0.04 | 97.73 ▼3.09 | 42.03 ▲0.34 |
GMO Page Transitions /wp-admin/options-general.php?page=ido_change | 851 | 2.18 | 27.80 | 29.27 |
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
- The uninstall procedure has failed, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
These server-side errors were triggered
- > GET request to /wp-admin/options-general.php?page=ido_change
- > Notice in wp-content/plugins/gmo-page-transitions/gmo-page-transitions.php+80
Undefined variable: val1flag
- > GET request to /wp-admin/options-general.php?page=ido_change
- > Notice in wp-content/plugins/gmo-page-transitions/gmo-page-transitions.php+81
Undefined variable: val2flag
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please take a closer look at the following
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/gmo-page-transitions/gmo-page-transitions.php:27
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Please take a look at the following user-side issues
- > GET request to /wp-admin/options-general.php?page=ido_change
- > Network (severe)
wp-content/plugins/gmo-page-transitions/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=ido_change
- > Network (severe)
wp-content/plugins/gmo-page-transitions/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=ido_change
- > Network (severe)
wp-content/plugins/gmo-page-transitions/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=ido_change
- > Network (severe)
wp-content/plugins/gmo-page-transitions/images/logo.png - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Attributes that need to be fixed:
- Plugin Name: Please replace "Plugin Name" with the name of your plugin on the first line (
=== Plugin Name: GMO Page Transitions ===
) - Screenshots: Screenshot #1 (Settings Page) image required
gmo-page-transitions/gmo-page-transitions.php Passed 13 tests
The main PHP script in "Plugin Name: GMO Page Transitions" version 1.3 is automatically included on every request by WordPress
64 characters long description:
GMO Page Transitions adds Page Transitions actions to your site.
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 detected220 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 17 | 9 | 80 |
Sass | 1 | 8 | 0 | 69 |
JavaScript | 2 | 0 | 0 | 50 |
XML | 3 | 0 | 0 | 19 |
CSS | 2 | 2 | 9 | 2 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 3 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
8 PNG files occupy 0.19MB with 0.09MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 133.32KB | 36.87KB | ▼ 72.35% |
images/wpshop_bnr_themes.png | 13.39KB | 5.79KB | ▼ 56.74% |
images/wpshop_logo.png | 7.22KB | 5.91KB | ▼ 18.12% |
images/wpshop_bnr_plugins.png | 13.29KB | 5.68KB | ▼ 57.23% |
images/wpcloud_logo.png | 4.90KB | 2.99KB | ▼ 39.04% |