Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.17MB] [CPU: ▼1.97ms] Passed 4 tests
This is a short check of server-side resources used by Amazing Widgets
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.09 | 46.17 ▲4.39 |
Dashboard /wp-admin | 3.50 ▲0.20 | 53.67 ▲1.88 |
Posts /wp-admin/edit.php | 3.62 ▲0.26 | 57.30 ▲2.95 |
Add New Post /wp-admin/post-new.php | 6.09 ▲0.20 | 101.38 ▼11.67 |
Media Library /wp-admin/upload.php | 3.43 ▲0.20 | 37.78 ▼1.02 |
Amazing Widgets /wp-admin/options-general.php?page=aw-settings | 3.37 | 36.78 |
Server storage [IO: ▲1.43MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 68 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for Amazing Widgets
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,820 ▲59 | 14.25 ▼0.03 | 2.39 ▲0.64 | 45.95 ▲4.87 |
Dashboard /wp-admin | 2,202 ▲22 | 5.63 ▼0.03 | 85.86 ▼1.07 | 39.58 ▼3.15 |
Posts /wp-admin/edit.php | 2,104 ▲1 | 2.00 ▼0.01 | 39.37 ▼1.44 | 34.87 ▼2.90 |
Add New Post /wp-admin/post-new.php | 1,540 ▲10 | 18.45 ▼4.43 | 640.99 ▲24.17 | 57.96 ▲5.90 |
Media Library /wp-admin/upload.php | 1,407 ▲7 | 4.20 ▼0.07 | 95.43 ▼15.45 | 44.10 ▼1.67 |
Amazing Widgets /wp-admin/options-general.php?page=aw-settings | 1,164 | 1.85 | 31.22 | 28.90 |
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
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Please fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=aw-settings
- > User deprecated in wp-includes/functions.php+5463
Function screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/options-general.php?page=aw-settings
- > User deprecated in wp-includes/functions.php+5463
Function get_screen_icon is deprecated since version 3.8.0 with no alternative available.
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
Almost there! Just fix the following items
- 9× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/amazing-widgets/inc/class-timeline-posts-widget.php
- > /wp-content/plugins/amazing-widgets/inc/class-instagram-widget.php
- > /wp-content/plugins/amazing-widgets/inc/class-post-tabs-widget.php
- > /wp-content/plugins/amazing-widgets/inc/class-twitter-widget.php
- > /wp-content/plugins/amazing-widgets/inc/class-social-widget.php
- > /wp-content/plugins/amazing-widgets/inc/class-content-slider-widget.php
- > /wp-content/plugins/amazing-widgets/lib/settings/aw-settings.php
- > /wp-content/plugins/amazing-widgets/lib/settings/wp-settings-framework.php
- > /wp-content/plugins/amazing-widgets/amazing-widgets.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
7 plugin tags: content slider, font awesome, social icons, post tabs, instagram...
amazing-widgets/amazing-widgets.php Passed 13 tests
"Amazing Widgets" version 1.0.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
73 characters long description:
This plugin adds a bundle of the most commonly used widgets to your site.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
There were no executable files found in this plugin9,424 lines of code in 47 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 11 | 683 | 1,121 | 2,791 |
CSS | 5 | 63 | 72 | 2,614 |
Sass | 13 | 28 | 24 | 1,520 |
LESS | 13 | 28 | 34 | 1,510 |
SVG | 2 | 0 | 0 | 659 |
PO File | 1 | 144 | 156 | 308 |
JavaScript | 2 | 0 | 4 | 22 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 36.22 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 164.00 |
Average method complexity | 3.86 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 31.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 9 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 114 | |
▷ Static methods | 3 | 2.63% |
▷ Public methods | 71 | 62.28% |
▷ Protected methods | 40 | 35.09% |
▷ Private methods | 3 | 2.63% |
Functions | 9 | |
▷ Named functions | 9 | 100.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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
PNG images were not found in this plugin