Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲3.58MB] [CPU: ▲21.83ms] Passed 4 tests
An overview of server-side resources used by Dashboard Feeds Dashboard Widget
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 6.86 ▲3.40 | 60.15 ▲20.64 |
Dashboard /wp-admin | 6.92 ▲3.62 | 65.77 ▲19.53 |
Posts /wp-admin/edit.php | 6.98 ▲3.62 | 69.28 ▲21.57 |
Add New Post /wp-admin/post-new.php | 9.69 ▲3.80 | 120.29 ▲25.58 |
Media Library /wp-admin/upload.php | 6.93 ▲3.70 | 67.27 ▲27.38 |
Dashboard Feeds /wp-admin/edit.php?post_type=dashboard_feed | 6.89 | 55.90 |
Server storage [IO: ▲9.11MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 261 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
acf_version |
db_upgraded |
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for Dashboard Feeds Dashboard Widget
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,795 ▲34 | 14.72 ▲0.44 | 1.79 ▲0.14 | 35.48 ▼6.74 |
Dashboard /wp-admin | 2,204 ▲23 | 5.57 ▼0.09 | 86.99 ▼18.09 | 37.20 ▼7.21 |
Posts /wp-admin/edit.php | 2,106 ▲6 | 2.03 ▼0.00 | 40.93 ▲4.91 | 35.07 ▲2.53 |
Add New Post /wp-admin/post-new.php | 6,686 ▲5,149 | 24.48 ▲6.20 | 1,029.82 ▲402.12 | 55.96 ▼25.07 |
Media Library /wp-admin/upload.php | 1,964 ▲564 | 8.22 ▲4.01 | 196.80 ▲91.99 | 44.63 ▼0.95 |
Dashboard Feeds /wp-admin/edit.php?post_type=dashboard_feed | 1,034 | 1.96 | 32.25 | 26.64 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- The uninstall procedure has failed, leaving 7 options in the database
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- acf_version
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
The following issues need your attention
- 77× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'acf_field' not found in wp-content/plugins/dashboard-feeds-dashboard-widget/includes/acf/includes/fields/class-acf-field-accordion.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function acf_get_setting() in wp-content/plugins/dashboard-feeds-dashboard-widget/includes/acf/includes/admin/views/html-notice-upgrade.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function acf_register_store() in wp-content/plugins/dashboard-feeds-dashboard-widget/includes/acf/includes/acf-field-functions.php:4
- > PHP Notice
Undefined variable: rule in wp-content/plugins/dashboard-feeds-dashboard-widget/includes/acf/includes/admin/views/html-location-rule.php on line 7
- > PHP Fatal error
Uncaught Error: Class 'acf_field' not found in wp-content/plugins/dashboard-feeds-dashboard-widget/includes/acf/includes/fields/class-acf-field-checkbox.php:5
- > PHP Fatal error
Uncaught Error: Class 'acf_field_number' not found in wp-content/plugins/dashboard-feeds-dashboard-widget/includes/acf/includes/fields/class-acf-field-range.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/dashboard-feeds-dashboard-widget/includes/acf/includes/api/api-template.php:898
- > PHP Fatal error
Uncaught Error: Call to undefined function acf_idify() in wp-content/plugins/dashboard-feeds-dashboard-widget/includes/acf/includes/admin/views/field-group-field.php:5
- > PHP Fatal error
Uncaught Error: Class 'acf_field' not found in wp-content/plugins/dashboard-feeds-dashboard-widget/includes/acf/includes/fields/class-acf-field-tab.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/dashboard-feeds-dashboard-widget/includes/acf/includes/forms/form-attachment.php:33
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
These attributes need to be fixed:
- Screenshots: Please add images for these screenshots: #1 (Widget with RSS feed from The Onion), #2 (Several widgets in closed position on the dashboard), #3 (Add a new RSS feed)
- Donate link: Invalid URI ("vma.agency")
dashboard-feeds-dashboard-widget/dashboard_feeds.php 92% from 13 tests
The main PHP script in "Dashboard Feeds Dashboard Widget" version 1.0 is automatically included on every request by WordPress
The following require your attention:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("dashboard-feeds-dashboard-widget.php" instead of "dashboard_feeds.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Success! There were no dangerous files found in this plugin112,389 lines of code in 202 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 31 | 23,805 | 40,551 | 48,965 |
JavaScript | 17 | 5,883 | 5,989 | 38,456 |
PHP | 138 | 8,507 | 18,227 | 18,884 |
CSS | 15 | 495 | 739 | 6,078 |
SVG | 1 | 0 | 0 | 6 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 14.72 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 78.00 |
Average method complexity | 2.87 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 24.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 102 | |
▷ Abstract classes | 2 | 1.96% |
▷ Concrete classes | 100 | 98.04% |
▷ Final classes | 0 | 0.00% |
Methods | 746 | |
▷ Static methods | 1 | 0.13% |
▷ Public methods | 727 | 97.45% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 19 | 2.55% |
Functions | 451 | |
▷ Named functions | 447 | 99.11% |
▷ Anonymous functions | 4 | 0.89% |
Constants | 10 | |
▷ Global constants | 10 | 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
10 compressed PNG files occupy 0.33MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/acf/assets/inc/datepicker/images/ui-bg_highlight-soft_0_ffffff_1x100.png | 0.08KB | 0.08KB | 0.00% |
includes/acf/assets/inc/select2/3/select2x2.png | 0.64KB | 0.77KB | 0.00% |
assets/banner-772x250.png | 85.71KB | 32.29KB | ▼ 62.33% |
includes/acf/assets/inc/datepicker/images/ui-icons_ffffff_256x240.png | 3.68KB | 4.17KB | 0.00% |
includes/acf/assets/inc/datepicker/images/ui-icons_DDDDDD_256x240.png | 3.68KB | 4.17KB | 0.00% |