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
Installer ran successfully
Server metrics [RAM: ▲0.55MB] [CPU: ▼2.73ms] Passed 4 tests
This is a short check of server-side resources used by More Widgets
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.02 ▲0.55 | 46.95 ▲3.04 |
Dashboard /wp-admin | 3.89 ▲0.59 | 54.28 ▼1.94 |
Posts /wp-admin/edit.php | 3.94 ▲0.59 | 50.94 ▼0.85 |
Add New Post /wp-admin/post-new.php | 6.41 ▲0.53 | 86.02 ▼11.18 |
Media Library /wp-admin/upload.php | 3.75 ▲0.52 | 40.63 ▲7.05 |
Server storage [IO: ▲0.26MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 33 new files
Database: no new tables, 17 new options
New WordPress options |
---|
widget_mw_users |
widget_mw_recent_comments_avatars |
widget_mw_gmap |
widget_mw_newsletter |
widget_mw_posts_slider |
widget_mw_advanced_recent_posts |
widget_recent-posts |
can_compress_scripts |
db_upgraded |
widget_mw_social_profiles |
... |
Browser metrics Passed 4 tests
More Widgets: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,816 ▲55 | 14.31 ▼0.07 | 1.86 ▲0.17 | 44.02 ▲1.19 |
Dashboard /wp-admin | 2,198 ▲18 | 5.62 ▼0.02 | 87.06 ▼12.78 | 43.39 ▲0.84 |
Posts /wp-admin/edit.php | 2,103 ▲3 | 2.03 ▲0.01 | 34.55 ▼0.31 | 32.71 ▼3.87 |
Add New Post /wp-admin/post-new.php | 1,541 ▲13 | 23.06 ▲0.32 | 645.05 ▼46.48 | 56.41 ▼0.70 |
Media Library /wp-admin/upload.php | 1,397 ▼6 | 4.24 ▲0.01 | 100.74 ▼9.01 | 44.52 ▼4.68 |
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
- The uninstall procedure has failed, leaving 17 options in the database
- widget_mw_recent_comments_avatars
- widget_recent-comments
- can_compress_scripts
- widget_mw_business_info
- widget_mw_posts_slider
- widget_mw_facebook_page
- widget_theysaidso_widget
- widget_mw_users
- widget_recent-posts
- db_upgraded
- ...
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP Passed 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
Everything seems fine, however this is by no means an exhaustive test
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 83% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that require attention:
- Tags: Please reduce the number of tags, currently 13 tag instead of maximum 10
- Screenshots: Please add descriptions for these screenshots #1, #10, #2, #3, #4, #5, #6, #7, #8, #9 in more-widgets/assets to your readme.txt
more-widgets/more-widgets.php 77% from 13 tests
The entry point to "More Widgets" version 1.1 is a PHP file that has certain tags in its header comment area
The following require your attention:
- Requires at least: Required version must be the same as the one declared in readme.txt ("4.0" instead of "5.7")
- Description: The description should be shorter than 140 characters (currently 166 characters long)
- Requires PHP: Required version must be the same as the one declared in readme.txt ("7.4" instead of "7.0")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
There were no executable files found in this plugin2,911 lines of code in 26 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 14 | 733 | 762 | 2,144 |
Sass | 3 | 93 | 0 | 540 |
CSS | 4 | 24 | 10 | 106 |
JavaScript | 3 | 22 | 14 | 65 |
SVG | 1 | 0 | 0 | 40 |
JSON | 1 | 0 | 0 | 16 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 17.85 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 94.00 |
Average method complexity | 4.32 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 25.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 13 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 13 | 100.00% |
▷ Final classes | 1 | 7.69% |
Methods | 66 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 41 | 62.12% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 25 | 37.88% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG files were detected