Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Please fix the following installer errors
- The plugin cannot be installed
- > Deprecated in wp-content/plugins/simple-zoomer/simple-zoomer.php+11
Methods with the same name as their class will not be constructors in a future version of PHP; simple_zoomer has a deprecated constructor
Server metrics [RAM: ▼1.93MB] [CPU: ▼52.89ms] Passed 4 tests
Analyzing server-side resources used by Simple Zoomer
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.06 ▼1.40 | 4.07 ▼36.30 |
Dashboard /wp-admin | 2.08 ▼1.22 | 5.90 ▼46.95 |
Posts /wp-admin/edit.php | 2.09 ▼1.27 | 6.12 ▼42.09 |
Add New Post /wp-admin/post-new.php | 2.08 ▼3.81 | 5.40 ▼86.22 |
Media Library /wp-admin/upload.php | 2.08 ▼1.15 | 4.79 ▼29.50 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 4 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
widget_simple_zoomer |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for Simple Zoomer
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.21 ▼1.60 | 1.61 ▼0.23 | 37.43 ▼7.56 |
Dashboard /wp-admin | 2,206 ▲15 | 5.91 ▲0.79 | 102.31 ▼1.93 | 40.25 ▼2.07 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.04 ▲0.03 | 38.74 ▲0.80 | 35.67 ▲4.33 |
Add New Post /wp-admin/post-new.php | 1,514 ▼19 | 17.52 ▼5.67 | 671.01 ▼14.10 | 59.77 ▼1.73 |
Media Library /wp-admin/upload.php | 1,391 ▲9 | 4.19 ▼0.10 | 94.75 ▼4.28 | 41.19 ▼2.64 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- Uninstall procedure had uncaught errors
- > Deprecated in wp-content/plugins/simple-zoomer/simple-zoomer.php+11
Methods with the same name as their class will not be constructors in a future version of PHP; simple_zoomer has a deprecated constructor
- Zombie WordPress options detected upon uninstall: 7 options
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- widget_simple_zoomer
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means 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 items
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/simple-zoomer/simple-zoomer.php:11
- > 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 errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
5 plugin tags: body zoomer, font increase, font size, simple zoomer, font zoom
simple-zoomer/simple-zoomer.php Passed 13 tests
Analyzing the main PHP file in "Simple Zoomer" version 1.0
89 characters long description:
This plugin will enable increase the font size of the page for better reading experience.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
There were no executable files found in this plugin45 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 14 | 12 | 45 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.07 |
Average class complexity | 2.00 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 2.00 |
Average method complexity | 1.25 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 2.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 | 0 | |
▷ Named functions | 0 | 0.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
2 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-2.png | 1.42KB | 0.95KB | ▼ 33.04% |
screenshot-1.png | 7.38KB | 4.45KB | ▼ 39.61% |