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
Install script ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼1.60ms] Passed 4 tests
An overview of server-side resources used by Full Screen Zoomer
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 40.67 ▲0.40 |
Dashboard /wp-admin | 3.31 ▲0.01 | 56.67 ▲7.19 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 48.91 ▼1.83 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 91.77 ▼4.96 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 35.55 ▼0.00 |
Full secreen zoomer /wp-admin/options-general.php?page=fullscreenzoomer | 3.20 | 29.84 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Full Screen Zoomer: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲39 | 14.69 ▼0.09 | 2.51 ▲0.57 | 43.87 ▼1.83 |
Dashboard /wp-admin | 2,196 ▲19 | 5.61 ▲0.01 | 97.45 ▲2.98 | 42.44 ▲0.22 |
Posts /wp-admin/edit.php | 2,104 ▲7 | 1.97 ▲0.01 | 38.60 ▲3.23 | 33.54 ▼3.25 |
Add New Post /wp-admin/post-new.php | 1,529 ▲3 | 23.55 ▲0.31 | 695.13 ▲3.92 | 54.36 ▼1.74 |
Media Library /wp-admin/upload.php | 1,398 ▼2 | 4.21 ▲0.02 | 94.84 ▼11.40 | 44.47 ▼2.91 |
Full secreen zoomer /wp-admin/options-general.php?page=fullscreenzoomer | 776 | 2.03 | 24.59 | 27.65 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however 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
- 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/full-screen-zoomer/full-screen-zoomer.php:11
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% 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
These attributes need your attention:
- Tested up to: The plugin version is formatted incorrectly
full-screen-zoomer/full-screen-zoomer.php Passed 13 tests
The main PHP script in "Full Screen Zoomer" version 1.0 is automatically included on every request by WordPress
17 characters long description:
an awesome zoomer
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 detected45 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 8 | 11 | 41 |
CSS | 1 | 0 | 0 | 3 |
JavaScript | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
Analyzing 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.10 |
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 | 4 | |
▷ Named functions | 4 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
2 PNG files occupy 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/plus_cursor.png | 2.36KB | 1.00KB | ▼ 57.46% |
assets/img/close_cursor.png | 2.54KB | 1.09KB | ▼ 57.03% |