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.01MB] [CPU: ▼15.32ms] Passed 4 tests
Analyzing server-side resources used by Adapter Widget Rows
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 41.47 ▼5.87 |
Dashboard /wp-admin | 3.32 ▼0.02 | 49.77 ▼15.24 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 51.56 ▲0.22 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 92.29 ▼37.95 |
Media Library /wp-admin/upload.php | 3.24 ▲0.02 | 34.82 ▼2.21 |
Widget Rows /wp-admin/options-general.php?page=awr_options_page | 3.19 | 31.89 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 16 new files
Database: no new tables, 9 new options
New WordPress options |
---|
widget_recent-posts |
map_awr_index_to_page_title |
theysaidso_admin_options |
widget_recent-comments |
map_awr_index_to_page_id |
awr_titles_in_trash |
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Adapter Widget Rows: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.64 ▲0.29 | 2.24 ▲0.60 | 43.72 ▼1.33 |
Dashboard /wp-admin | 2,199 ▲25 | 5.59 ▲0.04 | 86.82 ▼1.89 | 40.80 ▼1.20 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.04 ▲0.05 | 35.30 ▼5.71 | 33.17 ▼1.26 |
Add New Post /wp-admin/post-new.php | 1,529 ▲1 | 22.97 ▼0.16 | 694.72 ▲27.87 | 67.72 ▲17.38 |
Media Library /wp-admin/upload.php | 1,398 ▲1 | 4.17 ▲0.00 | 97.86 ▼6.33 | 43.25 ▲2.03 |
Widget Rows /wp-admin/options-general.php?page=awr_options_page | 811 | 2.01 | 28.38 | 28.78 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- This plugin does not fully uninstall, leaving 9 options in the database
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
- map_awr_index_to_page_id
- theysaidso_admin_options
- awr_titles_in_trash
- can_compress_scripts
- map_awr_index_to_page_title
- widget_recent-posts
Smoke tests 0% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Smoke test failed, please fix the following
- > GET request to /wp-admin/options-general.php?page=awr_options_page
- > 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=awr_options_page
- > User deprecated in wp-includes/functions.php+5463
Function get_screen_icon is deprecated since version 3.8.0 with no alternative available.
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 fix the following items
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/adapter-widget-rows/includes/awr-default-template.php
- 4× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function awr_current_user_can_edit_widgets() in wp-content/plugins/adapter-widget-rows/includes/awr-icons-popovers.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/adapter-widget-rows/includes/awr-pages-and-sidebars.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/adapter-widget-rows/includes/awr-sidebar-options.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/adapter-widget-rows/includes/bootstrap-column-classes.php:3
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There are user-side issues you should fix
- > GET request to /wp-admin/options-general.php?page=awr_options_page
- > Console-api (warning) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1 1:28609 "jQuery.Deferred exception: $(...).live is not a function" "TypeError: $(...).live is not a function\n at HTMLDocument.\u003Canonymous> (/wp-content/plugins/adapter-widget-rows/js/awr-options-pages.js?ver=1.0.1:5:27)\n at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:26990)\n at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:27292)" undefined
- > GET request to /wp-admin/options-general.php?page=awr_options_page
- > Javascript (severe) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1 1:28721 Uncaught TypeError: $(...).live is not a function
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that need to be fixed:
- Screenshots: A description for screenshot #8 is required in adapter-widget-rows/assets to your readme.txt
adapter-widget-rows/adapter-widget-rows.php 92% from 13 tests
This is the main PHP file of "Adapter Widget Rows" version 1.0.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
The following require your attention:
- Description: Please keep the plugin description shorter than 140 characters (currently 146 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Everything looks great! No dangerous files found in this plugin1,282 lines of code in 15 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 5 | 133 | 32 | 619 |
PHP | 9 | 100 | 13 | 584 |
CSS | 1 | 20 | 1 | 79 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
Average class complexity | 7.67 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 11.00 |
Average method complexity | 1.67 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 30 | |
▷ Static methods | 3 | 10.00% |
▷ Public methods | 9 | 30.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 21 | 70.00% |
Functions | 43 | |
▷ Named functions | 43 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 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
There were not PNG files found in your plugin