Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.00MB] [CPU: ▼4.12ms] Passed 4 tests
Server-side resources used by Dialogfeed
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 42.38 ▲0.89 |
Dashboard /wp-admin | 3.31 ▲0.01 | 46.60 ▼0.33 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 46.58 ▼4.96 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 90.33 ▼12.08 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 32.34 ▲1.58 |
Server storage [IO: ▲0.94MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 13 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by Dialogfeed
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,816 ▲81 | 13.78 ▼0.52 | 1.77 ▼0.08 | 44.14 ▲2.98 |
Dashboard /wp-admin | 2,222 ▲40 | 5.80 ▼0.08 | 96.43 ▼6.46 | 38.14 ▼6.71 |
Posts /wp-admin/edit.php | 2,108 ▲16 | 1.99 ▲0.00 | 40.88 ▼2.58 | 36.12 ▼0.37 |
Add New Post /wp-admin/post-new.php | 1,546 ▼3 | 23.04 ▲4.95 | 643.44 ▲32.16 | 50.34 ▲0.47 |
Media Library /wp-admin/upload.php | 1,404 ▲16 | 4.19 ▼0.02 | 94.43 ▼0.25 | 41.02 ▲0.27 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 0% 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× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/dialogfeed/views/widgets/wall.php
- 6× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Notice
Undefined variable: slug in wp-content/plugins/dialogfeed/views/widgets/wall.php on line 2
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/dialogfeed/views/backend.php:1
- > PHP Notice
Undefined variable: slug in wp-content/plugins/dialogfeed/views/widgets/wall.php on line 3
- > PHP Notice
Undefined variable: height in wp-content/plugins/dialogfeed/views/widgets/wall.php on line 5
- > PHP Notice
Undefined variable: width in wp-content/plugins/dialogfeed/views/widgets/wall.php on line 4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/dialogfeed/dialogfeed.php:28
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Please fix the following attributes:
- Tags: Please delete some tags, you are using 17 tag instead of maximum 10
dialogfeed/dialogfeed.php Passed 13 tests
"Dialogfeed" version 1.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
51 characters long description:
Allow to take the flow from your widget dialogfeed.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
No dangerous file extensions were detected237 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 37 | 42 | 140 |
CSS | 1 | 18 | 7 | 64 |
PO File | 1 | 14 | 0 | 33 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.09 |
Average class complexity | 2.00 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 2.00 |
Average method complexity | 1.14 |
▷ 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 | 7 | |
▷ Static methods | 6 | 85.71% |
▷ Public methods | 5 | 71.43% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 28.57% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
1 PNG file occupies 0.04MB with 0.02MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/dialogfeed_logo.png | 45.34KB | 22.70KB | ▼ 49.94% |