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.10MB] [CPU: ▼4.00ms] Passed 4 tests
An overview of server-side resources used by Zeno Font Resizer
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.57 ▲0.11 | 38.85 ▼3.79 |
Dashboard /wp-admin | 3.41 ▲0.10 | 53.37 ▲3.27 |
Posts /wp-admin/edit.php | 3.52 ▲0.16 | 49.89 ▼0.67 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.10 | 84.75 ▼10.42 |
Media Library /wp-admin/upload.php | 3.33 ▲0.10 | 32.87 ▼1.11 |
Zeno Font Resizer /wp-admin/options-general.php?page=zeno-font-resizer | 3.30 | 33.89 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 8 new files
Database: no new tables, 15 new options
New WordPress options |
---|
zeno_font_resizer_resizeSteps |
zeno_font_resizer_ownid |
zeno_font_resizer_cookieTime |
can_compress_scripts |
zeno_font_resizer_resizeMax |
db_upgraded |
widget_zeno_fr_widget |
widget_recent-comments |
widget_theysaidso_widget |
zeno_font_resizer_letter |
... |
Browser metrics Passed 4 tests
Checking browser requirements for Zeno Font Resizer
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,890 ▲155 | 13.70 ▼1.05 | 6.47 ▲4.68 | 39.31 ▼4.36 |
Dashboard /wp-admin | 2,213 ▲22 | 4.87 ▼0.01 | 94.81 ▼9.69 | 38.75 ▼3.26 |
Posts /wp-admin/edit.php | 2,090 ▲1 | 2.02 ▲0.01 | 34.24 ▼5.01 | 36.91 ▲0.72 |
Add New Post /wp-admin/post-new.php | 1,545 ▲31 | 18.43 ▲0.85 | 617.71 ▼78.70 | 60.83 ▲1.44 |
Media Library /wp-admin/upload.php | 1,395 ▲7 | 4.25 ▼0.04 | 96.47 ▼15.25 | 42.67 ▼4.38 |
Zeno Font Resizer /wp-admin/options-general.php?page=zeno-font-resizer | 968 | 2.07 | 24.55 | 27.47 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- Zombie WordPress options detected upon uninstall: 7 options
- can_compress_scripts
- widget_zeno_fr_widget
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please take a closer look at the following
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_option() in wp-content/plugins/zeno-font-resizer/zeno-font-resizer.php:40
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
5 plugin tags: text size, text resizer, accessibility, font size, font resizer
zeno-font-resizer/zeno-font-resizer.php Passed 13 tests
Analyzing the main PHP file in "Zeno Font Resizer" version 1.8.0
91 characters long description:
Zeno Font Resizer allows the visitors of your website to change the font size of your text.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
There were no executable files found in this plugin486 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 61 | 79 | 312 |
JavaScript | 2 | 36 | 72 | 174 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.08 |
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 | 16 | |
▷ Named functions | 16 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 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
No PNG files were detected