Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Please fix the following installer errors
- Install procedure had errors
- > Deprecated in wp-includes/class-wp-hook.php+310
Non-static method zia3_rw::flush() should not be called statically
Server metrics [RAM: ▼0.65MB] [CPU: ▼124.96ms] Passed 4 tests
An overview of server-side resources used by Zia3 Rotating Words
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 41.55 ▼3.72 |
Dashboard /wp-admin | 3.35 ▼0.07 | 53.32 ▼442.58 |
Posts /wp-admin/edit.php | 3.40 ▲0.05 | 50.21 ▼0.55 |
Add New Post /wp-admin/post-new.php | 3.25 ▼2.64 | 39.24 ▼52.98 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 40.73 ▲9.01 |
Add Rotating Words /wp-admin/post-new.php?post_type=zia3_rw | 3.18 | 37.32 |
All Rotating Words /wp-admin/edit.php?post_type=zia3_rw | 3.32 | 38.51 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 20 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for Zia3 Rotating Words
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,833 ▲61 | 14.28 ▲0.00 | 3.17 ▲1.06 | 43.09 ▼7.71 |
Dashboard /wp-admin | 2,222 ▲45 | 5.58 ▼0.09 | 86.74 ▼2.47 | 38.71 ▲1.08 |
Posts /wp-admin/edit.php | 2,127 ▲27 | 1.94 ▼0.05 | 38.48 ▲0.65 | 34.19 ▼0.97 |
Add New Post /wp-admin/post-new.php | 1,549 ▲18 | 23.71 ▲0.80 | 678.37 ▲25.40 | 50.39 ▼1.79 |
Media Library /wp-admin/upload.php | 1,430 ▲30 | 4.16 ▼0.11 | 97.10 ▼12.81 | 49.44 ▲3.01 |
Add Rotating Words /wp-admin/post-new.php?post_type=zia3_rw | 3,046 | 2.65 | 60.70 | 79.06 |
All Rotating Words /wp-admin/edit.php?post_type=zia3_rw | 1,107 | 1.99 | 31.14 | 32.71 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- The plugin did not uninstall gracefully
- > Deprecated in wp-includes/class-wp-hook.php+310
Non-static method zia3_rw::flush() should not be called statically
- This plugin does not fully uninstall, leaving 6 options in the database
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
These server-side errors were triggered
- > GET request to /wp-admin/post-new.php?post_type=zia3_rw
- > Notice in wp-content/plugins/zia3-rotating-words/methods/metaboxes/zia3_rw_save_metabox.php+135
Undefined index: custom_text_sent_1
- > GET request to /wp-admin/post-new.php?post_type=zia3_rw
- > Notice in wp-content/plugins/zia3-rotating-words/methods/metaboxes/zia3_rw_save_metabox.php+135
Undefined index: custom_text_top_1
- > GET request to /wp-admin/post-new.php?post_type=zia3_rw
- > Notice in wp-content/plugins/zia3-rotating-words/methods/metaboxes/zia3_rw_save_metabox.php+135
Undefined index: custom_text_left_1
- > GET request to /wp-admin/post-new.php?post_type=zia3_rw
- > Notice in wp-content/plugins/zia3-rotating-words/methods/metaboxes/zia3_rw_save_metabox.php+135
Undefined index: custom_text_color_1
- > GET request to /wp-admin/post-new.php?post_type=zia3_rw
- > Notice in wp-content/plugins/zia3-rotating-words/methods/metaboxes/zia3_rw_save_metabox.php+135
Undefined index: custom_text_sent_2
- > GET request to /wp-admin/post-new.php?post_type=zia3_rw
- > Notice in wp-content/plugins/zia3-rotating-words/methods/metaboxes/zia3_rw_save_metabox.php+135
Undefined index: custom_text_top_2
- > GET request to /wp-admin/post-new.php?post_type=zia3_rw
- > Notice in wp-content/plugins/zia3-rotating-words/methods/metaboxes/zia3_rw_save_metabox.php+135
Undefined index: custom_text_left_2
- > GET request to /wp-admin/post-new.php?post_type=zia3_rw
- > Notice in wp-content/plugins/zia3-rotating-words/methods/metaboxes/zia3_rw_save_metabox.php+135
Undefined index: custom_text_color_2
- > GET request to /wp-admin/post-new.php?post_type=zia3_rw
- > Notice in wp-content/plugins/zia3-rotating-words/methods/metaboxes/zia3_rw_save_metabox.php+135
Undefined index: custom_text_sent_3
- > GET request to /wp-admin/post-new.php?post_type=zia3_rw
- > Notice in wp-content/plugins/zia3-rotating-words/methods/metaboxes/zia3_rw_save_metabox.php+135
Undefined index: custom_text_top_3
- > GET request to /wp-admin/post-new.php?post_type=zia3_rw
- > Notice in wp-content/plugins/zia3-rotating-words/methods/metaboxes/zia3_rw_save_metabox.php+135
Undefined index: custom_text_left_3
- > GET request to /wp-admin/post-new.php?post_type=zia3_rw
- > Notice in wp-content/plugins/zia3-rotating-words/methods/metaboxes/zia3_rw_save_metabox.php+135
Undefined index: custom_text_color_3
- > GET request to /wp-admin/post-new.php?post_type=zia3_rw
- > Notice in wp-content/plugins/zia3-rotating-words/methods/metaboxes/zia3_rw_save_metabox.php+135
Undefined index: custom_text_sent_4
- > GET request to /wp-admin/post-new.php?post_type=zia3_rw
- > Notice in wp-content/plugins/zia3-rotating-words/methods/metaboxes/zia3_rw_save_metabox.php+135
Undefined index: custom_text_top_4
- > GET request to /wp-admin/post-new.php?post_type=zia3_rw
- > Notice in wp-content/plugins/zia3-rotating-words/methods/metaboxes/zia3_rw_save_metabox.php+135
Undefined index: custom_text_left_4
- > GET request to /wp-admin/post-new.php?post_type=zia3_rw
- > Notice in wp-content/plugins/zia3-rotating-words/methods/metaboxes/zia3_rw_save_metabox.php+135
Undefined index: custom_text_color_4
- > GET request to /wp-admin/post-new.php?post_type=zia3_rw
- > Notice in wp-content/plugins/zia3-rotating-words/methods/metaboxes/zia3_rw_save_metabox.php+135
Undefined index: custom_background_image
- > GET request to /wp-admin/post-new.php?post_type=zia3_rw
- > Notice in wp-content/plugins/zia3-rotating-words/methods/metaboxes/zia3_rw_save_metabox.php+135
Undefined index: custom_repeatable
- > GET request to /wp-admin/post-new.php?post_type=zia3_rw
- > Notice in wp-content/plugins/zia3-rotating-words/methods/metaboxes/zia3_rw_shortcode_metabox.php+24
Undefined index: font_family
- > GET request to /wp-admin/post-new.php?post_type=zia3_rw
- > Notice in wp-content/plugins/zia3-rotating-words/methods/metaboxes/zia3_rw_shortcode_metabox.php+25
Undefined index: font_size
- > GET request to /wp-admin/post-new.php?post_type=zia3_rw
- > Notice in wp-content/plugins/zia3-rotating-words/methods/metaboxes/zia3_rw_shortcode_metabox.php+26
Undefined index: pos_top
- > GET request to /wp-admin/post-new.php?post_type=zia3_rw
- > Notice in wp-content/plugins/zia3-rotating-words/methods/metaboxes/zia3_rw_shortcode_metabox.php+27
Undefined index: pos_left
- > GET request to /wp-admin/post-new.php?post_type=zia3_rw
- > Notice in wp-content/plugins/zia3-rotating-words/methods/metaboxes/zia3_rw_shortcode_metabox.php+28
Undefined index: rw_height
- > GET request to /wp-admin/post-new.php?post_type=zia3_rw
- > Notice in wp-content/plugins/zia3-rotating-words/methods/metaboxes/zia3_rw_shortcode_metabox.php+29
Undefined index: rw_width
- > GET request to /wp-admin/post-new.php?post_type=zia3_rw
- > Notice in wp-content/plugins/zia3-rotating-words/methods/metaboxes/zia3_rw_shortcode_metabox.php+30
Undefined index: rwords_pos
- > GET request to /wp-admin/post-new.php?post_type=zia3_rw
- > Notice in wp-content/plugins/zia3-rotating-words/methods/metaboxes/zia3_rw_shortcode_metabox.php+36
Undefined variable: exampleGenShortcode
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 fix the following items
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/zia3-rotating-words/css/zia3-rw-dynamic-style.css.php
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need your attention:
- Screenshots: Add a description for screenshot #3 in zia3-rotating-words/assets to your readme.txt
zia3-rotating-words/zia3_rw.php 85% from 13 tests
The main PHP script in "Zia3 Rotating Words" version 1.0 is automatically included on every request by WordPress
Please make the necessary changes and fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 185 characters long)
- Main file name: The principal plugin file should be the same as the plugin slug ("zia3-rotating-words.php" instead of "zia3_rw.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
There were no executable files found in this plugin1,551 lines of code in 15 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 11 | 122 | 78 | 1,330 |
JavaScript | 3 | 12 | 3 | 116 |
CSS | 1 | 1 | 0 | 105 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 7.00 |
▷ Minimum class complexity | 7.00 |
▷ Maximum class complexity | 7.00 |
Average method complexity | 1.43 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.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 | 14 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 14 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 5 | |
▷ Named functions | 5 | 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
PNG files should be compressed to save space and minimize bandwidth usage
3 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/zia3_logo.png | 1.86KB | 1.49KB | ▼ 19.73% |
images/image.png | 4.22KB | 0.78KB | ▼ 81.40% |
images/pattern.png | 0.12KB | 0.10KB | ▼ 14.41% |