Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Please fix the following installer errors
- This plugin did not install gracefully
- > User notice in wp-content/plugins/text-zoom-premium/includes/utils.php+76
[Plugin:Text Zoom] Service responded with code 404.
Server metrics [RAM: ▲0.08MB] [CPU: ▼5.78ms] Passed 4 tests
Analyzing server-side resources used by Text Zoom - WordPress Font Size Plugin by abilitools
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 41.31 ▼1.57 |
Dashboard /wp-admin | 3.40 ▲0.09 | 52.33 ▼2.32 |
Posts /wp-admin/edit.php | 3.51 ▲0.15 | 50.08 ▼3.10 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.09 | 88.05 ▼14.91 |
Media Library /wp-admin/upload.php | 3.32 ▲0.09 | 38.95 ▼2.80 |
Server storage [IO: ▲1.78MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 25 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for Text Zoom - WordPress Font Size Plugin by abilitools
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,068 ▲307 | 13.93 ▼0.01 | 10.16 ▲8.44 | 58.29 ▲14.99 |
Dashboard /wp-admin | 2,203 ▲32 | 5.56 ▼0.09 | 87.83 ▼3.63 | 78.74 ▲29.97 |
Posts /wp-admin/edit.php | 2,108 ▲5 | 1.99 ▲0.02 | 37.92 ▼6.92 | 37.84 ▲0.29 |
Add New Post /wp-admin/post-new.php | 1,550 ▲22 | 22.85 ▼0.04 | 760.80 ▲62.61 | 55.36 ▼9.33 |
Media Library /wp-admin/upload.php | 1,408 ▲8 | 4.23 ▼0.05 | 105.01 ▼1.80 | 58.92 ▲7.40 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- The plugin did not uninstall gracefully
- > User notice in wp-content/plugins/text-zoom-premium/includes/utils.php+76
[Plugin:Text Zoom] Service responded with code 404.
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 0% 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
Almost there! Just fix the following items
- 5× PHP files output text when accessed directly:
- > /wp-content/plugins/text-zoom-premium/text-zoom-premium.php
- > /wp-content/plugins/text-zoom-premium/includes/hooks.php
- > /wp-content/plugins/text-zoom-premium/includes/utils.php
- > /wp-content/plugins/text-zoom-premium/includes/script_tag.php
- > /wp-content/plugins/text-zoom-premium/includes/settings_page.php
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/text-zoom-premium/includes/plugin-list-item.php:15
- > 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 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: text size, font size, font zoom, zoom, accessibility
text-zoom-premium/text-zoom-premium.php Passed 13 tests
The entry point to "Text Zoom - WordPress Font Size Plugin by abilitools" version 4.0.1 is a PHP file that has certain tags in its header comment area
83 characters long description:
Text ZOOM Premium provides your users with the ability to personalize the font size
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
No dangerous file extensions were detected1,249 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 3 | 125 | 10 | 652 |
PHP | 7 | 104 | 15 | 532 |
JavaScript | 1 | 0 | 12 | 65 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.15 |
Average class complexity | 3.00 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 3.00 |
Average method complexity | 2.00 |
▷ Minimum method complexity | 2.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 | 2 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 2 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 34 | |
▷ Named functions | 34 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 5 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
12 PNG files occupy 0.09MB with 0.05MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/abilitools-full-logo-525092c80a16cecd0cf3ca5d9ff1bcf1.png | 9.40KB | 10.00KB | 0.00% |
assets/admin/design-options.png | 28.34KB | 10.82KB | ▼ 61.82% |
assets/admin/menu-icon.png | 2.87KB | 1.76KB | ▼ 38.67% |
assets/none-design-handle-a9ba38402b2004363d3d623f3ae1223d.png | 3.36KB | 1.29KB | ▼ 61.49% |
assets/compact-design-handle-0d97919ff58592be701026ca1ba76069.png | 4.91KB | 0.73KB | ▼ 85.07% |