Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.04MB] [CPU: ▼4.39ms] Passed 4 tests
A check of server-side resources used by Zoomify embed for WP
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.05 | 35.64 ▼6.50 |
Dashboard /wp-admin | 3.34 ▲0.04 | 46.06 ▼3.97 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 49.50 ▲1.97 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 83.11 ▼5.53 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 33.65 ▼1.55 |
Server storage [IO: ▲0.91MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 1,020 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for Zoomify embed for WP
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,820 ▲63 | 14.50 ▼0.09 | 2.07 ▼0.23 | 42.33 ▼3.14 |
Dashboard /wp-admin | 2,222 ▲31 | 5.79 ▼0.11 | 97.79 ▼15.01 | 39.86 ▼2.69 |
Posts /wp-admin/edit.php | 2,108 ▲19 | 2.01 ▼0.00 | 39.33 ▲1.75 | 35.26 ▲2.00 |
Add New Post /wp-admin/post-new.php | 1,552 ▲32 | 23.18 ▲0.09 | 622.98 ▼46.73 | 47.29 ▼12.94 |
Media Library /wp-admin/upload.php | 1,404 ▲13 | 4.24 ▲0.06 | 95.16 ▼4.16 | 40.49 ▼5.04 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 0% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please take a closer look at the following
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/zoom-image-shortcode/gh-zoomify.php
- 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/zoom-image-shortcode/inc/gh-zoomify-settings.php:17
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Please fix the following attributes:
- Plugin Name: "Plugin Name" should be replaced with the name of your plugin on the first line (
=== zoom-image-shortcode ===
)
zoom-image-shortcode/gh-zoomify.php 92% from 13 tests
The principal PHP file in "Zoomify embed for WP" v. 1.5.2 is loaded by WordPress automatically on each request
The following require your attention:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("zoom-image-shortcode.php" instead of "gh-zoomify.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Good job! No executable or dangerous file extensions detected1,169 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 1 | 0 | 7 | 502 |
XML | 2 | 62 | 100 | 450 |
PHP | 2 | 49 | 76 | 211 |
CSS | 1 | 0 | 0 | 6 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued 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 | 14 | |
▷ Named functions | 14 | 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
PNG files should be compressed to save space and minimize bandwidth usage
686 PNG files occupy 0.51MB with 0.09MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/Skins/Default/standard/toolbarExpandDown.png | 0.30KB | 0.26KB | ▼ 14.74% |
assets/Skins/Default/standard/panRightOver.png | 0.42KB | 0.38KB | ▼ 9.13% |
assets/Skins/Default/standard/stopOver.png | 0.33KB | 0.33KB | ▼ 0.88% |
assets/Skins/Light/large/editModeFreehandOver.png | 0.47KB | 0.45KB | ▼ 4.56% |
assets/Skins/Light/large/logoDivider.png | 0.22KB | 0.09KB | ▼ 60.27% |