Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
These installer errors require your attention
- This plugin did not install gracefully
- > Deprecated in wp-content/plugins/laughing-squid-dashboard-widget/laughing-squid-dashboard-widget.php+65
Methods with the same name as their class will not be constructors in a future version of PHP; LSHostingMenu has a deprecated constructor
Server metrics [RAM: ▼1.93MB] [CPU: ▼54.54ms] Passed 4 tests
A check of server-side resources used by Laughing Squid Web Hosting News & Status WordPress Dashboard Widget
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.06 ▼1.40 | 4.69 ▼37.06 |
Dashboard /wp-admin | 2.08 ▼1.26 | 5.85 ▼56.79 |
Posts /wp-admin/edit.php | 2.09 ▼1.27 | 5.85 ▼43.02 |
Add New Post /wp-admin/post-new.php | 2.08 ▼3.80 | 5.87 ▼81.29 |
Media Library /wp-admin/upload.php | 2.08 ▼1.14 | 4.85 ▼29.23 |
Server storage [IO: ▲0.13MB] [DB: ▲0.06MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for Laughing Squid Web Hosting News & Status WordPress Dashboard Widget
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,924 ▲178 | 14.80 ▲0.03 | 1.85 ▲0.03 | 42.58 ▼0.73 |
Dashboard /wp-admin | 2,310 ▲122 | 4.85 ▼0.02 | 110.19 ▼7.36 | 44.31 ▼0.33 |
Posts /wp-admin/edit.php | 2,112 ▲26 | 2.06 ▲0.03 | 37.32 ▼1.11 | 34.04 ▼2.26 |
Add New Post /wp-admin/post-new.php | 1,531 ▲17 | 17.72 ▲0.07 | 581.62 ▼76.80 | 54.43 ▼3.31 |
Media Library /wp-admin/upload.php | 1,408 ▲23 | 4.19 ▼0.03 | 97.55 ▼2.98 | 43.21 ▲1.45 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.06MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- This plugin did not uninstall without warnings or errors
- > Deprecated in wp-content/plugins/laughing-squid-dashboard-widget/laughing-squid-dashboard-widget.php+65
Methods with the same name as their class will not be constructors in a future version of PHP; LSHostingMenu has a deprecated constructor
- This plugin did not uninstall successfully, leaving 6 options in the database
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though no errors were found, this is by no means an exhaustive test
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
Please fix 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_action() in wp-content/plugins/laughing-squid-dashboard-widget/laughing-squid-dashboard-widget.php:62
- > 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 93% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Attributes that need to be fixed:
- Screenshots: Please add an image for screenshot #1 (Dashboard Widget in action)
laughing-squid-dashboard-widget/laughing-squid-dashboard-widget.php 92% from 13 tests
The primary PHP file in "Laughing Squid Web Hosting News & Status WordPress Dashboard Widget" version 2.0 is used by WordPress to initiate all plugin functionality
You should first fix the following items:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 260 characters long)
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
Success! There were no dangerous files found in this plugin80 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 16 | 12 | 80 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
Average class complexity | 5.00 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 5.00 |
Average method complexity | 2.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.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 | 3 | |
▷ Named functions | 3 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG images were found in this plugin