Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▼0.01MB] [CPU: ▼10.43ms] Passed 4 tests
A check of server-side resources used by WP Image Zoomify
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 38.93 ▼2.62 |
Dashboard /wp-admin | 3.31 ▼0.04 | 51.61 ▼16.72 |
Posts /wp-admin/edit.php | 3.37 ▲0.00 | 50.03 ▼1.64 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.00 | 87.49 ▼20.73 |
Media Library /wp-admin/upload.php | 3.24 ▲0.00 | 37.42 ▲0.09 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by WP Image Zoomify
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,900 ▲154 | 13.51 ▼0.89 | 8.55 ▲6.76 | 42.52 ▼2.42 |
Dashboard /wp-admin | 2,195 ▲15 | 5.62 ▼0.04 | 100.20 ▲12.29 | 43.31 ▲2.83 |
Posts /wp-admin/edit.php | 2,100 ▼3 | 1.95 ▼0.19 | 38.19 ▼2.24 | 31.19 ▼7.47 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 22.89 ▼0.94 | 650.17 ▼29.27 | 55.67 ▲3.86 |
Media Library /wp-admin/upload.php | 1,391 ▼6 | 4.18 ▼0.00 | 98.79 ▼7.76 | 40.84 ▼5.06 |
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
- This plugin does not fully uninstall, leaving 6 options in the database
- can_compress_scripts
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test
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
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-image-zoomify/wp-image-zoomify.php:55
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
5 plugin tags: image zoom, zoomify, smooth image popup, image popup, image light box
wp-image-zoomify/wp-image-zoomify.php Passed 13 tests
The primary PHP file in "WP Image Zoomify" version 0.1 is used by WordPress to initiate all plugin functionality
58 characters long description:
Zoomify is simple image light box plugin with zoom effect.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
No dangerous file extensions were detected22 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 8 | 28 | 20 |
CSS | 1 | 0 | 0 | 1 |
JavaScript | 1 | 0 | 1 | 1 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.00 |
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 | 2 | |
▷ Named functions | 2 | 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
No PNG files were detected