Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼0.90MB] [CPU: ▼36.35ms] Passed 4 tests
Server-side resources used by Zedna Twitter Quotes
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 44.09 ▲1.51 |
Dashboard /wp-admin | 3.05 ▼0.26 | 23.43 ▼25.59 |
Posts /wp-admin/edit.php | 3.05 ▼0.31 | 26.84 ▼23.81 |
Add New Post /wp-admin/post-new.php | 3.05 ▼2.84 | 25.43 ▼83.17 |
Media Library /wp-admin/upload.php | 3.05 ▼0.18 | 24.73 ▼12.82 |
Twitter Quotes /wp-admin/options-general.php?page=zednatq | 3.05 | 23.86 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 5 new files
Database: no new tables, 12 new options
New WordPress options |
---|
widget_theysaidso_widget |
zednatq_utm_medium |
zednatq_share_text |
can_compress_scripts |
zednatq_class |
zednatq_utm_campaign |
db_upgraded |
zednatq_utm_source |
zednatq_username |
widget_recent-posts |
... |
Browser metrics Passed 4 tests
A check of browser resources used by Zedna Twitter Quotes
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,806 ▲49 | 13.29 ▼1.03 | 1.97 ▼0.06 | 44.68 ▲1.38 |
Dashboard /wp-admin | 2,213 ▲25 | 5.89 ▲0.00 | 97.89 ▼14.81 | 39.87 ▼1.13 |
Posts /wp-admin/edit.php | 2,090 ▼2 | 2.03 ▲0.02 | 35.84 ▼5.81 | 31.57 ▼4.92 |
Add New Post /wp-admin/post-new.php | 1,517 ▲3 | 23.43 ▼0.16 | 690.22 ▲10.91 | 62.44 ▼7.86 |
Media Library /wp-admin/upload.php | 1,392 ▲7 | 4.20 ▲0.03 | 96.85 ▼5.76 | 41.57 ▼1.76 |
Twitter Quotes /wp-admin/options-general.php?page=zednatq | 893 | 2.06 | 27.85 | 26.41 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- Uninstall procedure validation failed for this plugin
- > User notice in wp-includes/functions.php+5905
Function add_submenu_page was called incorrectly. The seventh parameter passed to add_submenu_page() should be numeric representing menu position. Please see Debugging in WordPress for more information. (This message was added in version 5.3.0.)
- Zombie WordPress options were found after uninstall: 12 options
- widget_recent-comments
- can_compress_scripts
- zednatq_username
- zednatq_class
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- zednatq_utm_source
- zednatq_utm_campaign
- zednatq_utm_medium
- ...
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Please fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=zednatq
- > User notice in wp-includes/functions.php+5905
Function add_submenu_page was called incorrectly. The seventh parameter passed to add_submenu_page() should be numeric representing menu position. Please see Debugging in WordPress for more information. (This message was added in version 5.3.0.)
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The following issues need your attention
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_option() in wp-content/plugins/zedna-twitter-quotes/zedna-twitter-quotes.php:16
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
5 plugin tags: campaign, twitter, share, quotes, utm
zedna-twitter-quotes/zedna-twitter-quotes.php Passed 13 tests
Analyzing the main PHP file in "Zedna Twitter Quotes" version 1.0
71 characters long description:
Share your quotes in the content and let user to share them on Twitter.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Good job! No executable or dangerous file extensions detected422 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 92 | 32 | 269 |
PO File | 1 | 21 | 21 | 77 |
CSS | 1 | 7 | 0 | 76 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
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 | 8 | |
▷ Named functions | 8 | 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
No PNG files were detected