Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.03MB] [CPU: ▼9.59ms] Passed 4 tests
Analyzing server-side resources used by Links With Icons Widget
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.04 | 41.07 ▲0.05 |
Dashboard /wp-admin | 3.35 ▼0.00 | 48.37 ▼8.45 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 46.19 ▼7.13 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 93.19 ▼22.83 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 37.14 ▲0.87 |
Server storage [IO: ▲0.14MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 7 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
widget_wlwi |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Links With Icons Widget
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.25 ▼1.06 | 4.91 ▲3.11 | 42.84 ▲0.53 |
Dashboard /wp-admin | 2,203 ▲15 | 5.85 ▼0.05 | 112.20 ▲1.54 | 47.48 ▲8.28 |
Posts /wp-admin/edit.php | 2,089 ▼3 | 2.03 ▼0.01 | 45.16 ▼16.74 | 38.22 ▼19.55 |
Add New Post /wp-admin/post-new.php | 1,526 ▲6 | 21.26 ▲0.17 | 709.00 ▲75.35 | 63.95 ▲17.52 |
Media Library /wp-admin/upload.php | 1,391 ▲3 | 4.16 ▼0.13 | 109.80 ▼11.61 | 58.70 ▲14.11 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- The uninstall procedure has failed, leaving 7 options in the database
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
- can_compress_scripts
- widget_wlwi
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
The following issues need your attention
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/links-with-icons-widget/links-with-icons-widget.php:10
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
These attributes need to be fixed:
- Screenshots: These screenshots have no corresponding images in /assets: #1 (Managing links inside the widget), #2 (Example Widget Output)
- Tags: Please delete some tags, you are using 16 tag instead of maximum 10
links-with-icons-widget/links-with-icons-widget.php Passed 13 tests
The main PHP file in "Links With Icons Widget" ver. 1.2 adds more information about the plugin and also serves as the entry point for this plugin
37 characters long description:
A widget that lists links with icons.
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
Everything looks great! No dangerous files found in this plugin234 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 40 | 18 | 175 |
JavaScript | 1 | 13 | 8 | 58 |
CSS | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.16 |
Average class complexity | 18.00 |
▷ Minimum class complexity | 18.00 |
▷ Maximum class complexity | 18.00 |
Average method complexity | 4.40 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.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 | 5 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 5 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 1 | 100.00% |
▷ Public constants | 1 | 100.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
There were not PNG files found in your plugin