Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.87MB] [CPU: ▲22.11ms] Passed 4 tests
An overview of server-side resources used by Updater by BestWebSoft
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.32 ▲0.86 | 41.84 ▲4.80 |
Dashboard /wp-admin | 4.21 ▲0.90 | 80.66 ▲27.03 |
Posts /wp-admin/edit.php | 4.26 ▲0.90 | 75.92 ▲24.78 |
Add New Post /wp-admin/post-new.php | 6.75 ▲0.86 | 127.92 ▲36.01 |
Media Library /wp-admin/upload.php | 4.07 ▲0.84 | 66.22 ▲31.82 |
Installed Software /wp-admin/admin.php?page=updater | 4.15 | 62.34 |
Settings /wp-admin/admin.php?page=updater-options | 4.45 | 73.51 |
BWS Panel /wp-admin/admin.php?page=pdtr-bws-panel | 4.36 | 71.07 |
Server storage [IO: ▲3.72MB] [DB: ▲0.01MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 112 new files
Database: 1 new table, 8 new options
New tables |
---|
wp_updater_list |
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
bstwbsftwppdtplgns_options |
widget_recent-posts |
can_compress_scripts |
db_upgraded |
pdtr_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Updater by BestWebSoft
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,842 ▲96 | 13.23 ▼1.38 | 1.75 ▼0.20 | 41.51 ▼5.51 |
Dashboard /wp-admin | 2,248 ▲60 | 5.92 ▲0.02 | 101.69 ▼4.43 | 40.33 ▼0.23 |
Posts /wp-admin/edit.php | 2,128 ▲39 | 2.06 ▲0.03 | 36.06 ▼5.86 | 35.31 ▼1.72 |
Add New Post /wp-admin/post-new.php | 1,558 ▲39 | 18.25 ▼4.87 | 633.76 ▲23.87 | 65.95 ▲18.64 |
Media Library /wp-admin/upload.php | 1,427 ▲36 | 4.26 ▲0.08 | 103.06 ▲0.49 | 44.84 ▼0.04 |
Installed Software /wp-admin/admin.php?page=updater | 1,288 | 3.20 | 66.41 | 32.77 |
Settings /wp-admin/admin.php?page=updater-options | 2,219 | 4.21 | 99.27 | 69.41 |
BWS Panel /wp-admin/admin.php?page=pdtr-bws-panel | 2,980 | 1.99 | 28.13 | 77.03 |
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
Please fix the following items
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test
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
- 6× PHP files trigger errors when accessed directly with GET requests:
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/updater/includes/software-table.php on line 9
- > PHP Warning
require_once(ABSPATHwp-admin/includes/class-wp-list-table.php): failed to open stream: No such file or directory in wp-content/plugins/updater/includes/software-table.php on line 9
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/updater/updater.php:1311
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/includes/class-wp-list-table.php' (include_path='.:/usr/share/php') in wp-content/plugins/updater/includes/software-table.php on line 9
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/updater/bws_menu/product_list.php:8
- > PHP Fatal error
Uncaught Error: Class 'Bws_Settings_Tabs' not found in wp-content/plugins/updater/includes/class-pdtr-settings.php:7
- > PHP Warning
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Please fix the following browser errors
- 3 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=pdtr-bws-panel
- > Network (severe)
wp-content/plugins/updater/bws_menu/css/jquery-ui-styles/1.13.2/jquery-ui.css?ver=6.3.1 - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/admin.php?page=pdtr-bws-panel
- > Network (severe)
http://ps.w.org/captcha-bws/assets/icon-256x256.png - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/admin.php?page=pdtr-bws-panel
- > Network (severe)
http://ps.w.org/columns-bws/assets/icon-256x256.png - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/admin.php?page=pdtr-bws-panel
- > Network (severe)
http://ps.w.org/contact-form-to-db/assets/icon-256x256.png - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/admin.php?page=pdtr-bws-panel
- > Network (severe)
http://ps.w.org/contact-form-plugin/assets/icon-256x256.png - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/admin.php?page=pdtr-bws-panel
- > Network (severe)
http://ps.w.org/custom-admin-page/assets/icon-256x256.png - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/admin.php?page=pdtr-bws-panel
- > Network (severe)
http://ps.w.org/custom-search-plugin/assets/icon-256x256.png - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/admin.php?page=pdtr-bws-panel
- > Network (severe)
http://ps.w.org/donate-button/assets/icon-256x256.png - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/admin.php?page=pdtr-bws-panel
- > Network (severe)
http://ps.w.org/error-log-viewer/assets/icon-256x256.png - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/admin.php?page=pdtr-bws-panel
- > Network (severe)
http://ps.w.org/gallery-plugin/assets/icon-256x256.png - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/admin.php?page=pdtr-bws-panel
- > Network (severe)
http://ps.w.org/facebook-button-plugin/assets/icon-256x256.png - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/admin.php?page=pdtr-bws-panel
- > Network (severe)
http://ps.w.org/bws-google-2-step-verification/assets/icon-256x256.png - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/admin.php?page=pdtr-bws-panel
- > Network (severe)
http://ps.w.org/bws-google-analytics/assets/icon-256x256.png - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/admin.php?page=pdtr-bws-panel
- > Network (severe)
http://ps.w.org/bws-google-maps/assets/icon-256x256.png - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/admin.php?page=pdtr-bws-panel
- > Network (severe)
http://ps.w.org/google-captcha/assets/icon-256x256.png - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/admin.php?page=pdtr-bws-panel
- > Network (severe)
http://ps.w.org/google-shortlink/assets/icon-256x256.png - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/admin.php?page=pdtr-bws-panel
- > Network (severe)
http://ps.w.org/google-sitemap-plugin/assets/icon-256x256.png - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/admin.php?page=pdtr-bws-panel
- > Network (severe)
http://ps.w.org/htaccess/assets/icon-256x256.png - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/admin.php?page=pdtr-bws-panel
- > Network (severe)
http://ps.w.org/job-board/assets/icon-256x256.png - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/admin.php?page=pdtr-bws-panel
- > Network (severe)
http://ps.w.org/limit-attempts/assets/icon-256x256.png - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/admin.php?page=pdtr-bws-panel
- > Network (severe)
http://ps.w.org/bws-linkedin/assets/icon-256x256.png - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/admin.php?page=pdtr-bws-panel
- > Network (severe)
http://ps.w.org/pagination/assets/icon-256x256.png - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/admin.php?page=pdtr-bws-panel
- > Network (severe)
http://ps.w.org/pdf-print/assets/icon-256x256.png - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/admin.php?page=pdtr-bws-panel
- > Network (severe)
http://ps.w.org/multilanguage/assets/icon-256x256.png - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/admin.php?page=pdtr-bws-panel
- > Network (severe)
http://ps.w.org/bws-pinterest/assets/icon-256x256.png - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/admin.php?page=pdtr-bws-panel
- > Network (severe)
http://ps.w.org/portfolio/assets/icon-256x256.png - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/admin.php?page=pdtr-bws-panel
- > Network (severe)
http://ps.w.org/profile-extra-fields/assets/icon-256x256.png - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/admin.php?page=pdtr-bws-panel
- > Network (severe)
http://ps.w.org/post-to-csv/assets/icon-256x256.png - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/admin.php?page=pdtr-bws-panel
- > Network (severe)
http://ps.w.org/promobar/assets/icon-256x256.png - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/admin.php?page=pdtr-bws-panel
- > Network (severe)
http://ps.w.org/quotes-and-tips/assets/icon-256x256.png - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/admin.php?page=pdtr-bws-panel
- > Network (severe)
http://ps.w.org/rating-bws/assets/icon-256x256.png - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/admin.php?page=pdtr-bws-panel
- > Network (severe)
http://ps.w.org/realty/assets/icon-256x256.png - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/admin.php?page=pdtr-bws-panel
- > Network (severe)
http://ps.w.org/relevant/assets/icon-256x256.png - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/admin.php?page=pdtr-bws-panel
- > Network (severe)
http://ps.w.org/sender/assets/icon-256x256.png - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/admin.php?page=pdtr-bws-panel
- > Network (severe)
http://ps.w.org/slider-bws/assets/icon-256x256.png - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/admin.php?page=pdtr-bws-panel
- > Network (severe)
http://ps.w.org/bws-smtp/assets/icon-256x256.png - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/admin.php?page=pdtr-bws-panel
- > Network (severe)
http://ps.w.org/social-buttons-pack/assets/icon-256x256.png - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/admin.php?page=pdtr-bws-panel
- > Network (severe)
http://ps.w.org/social-login-bws/assets/icon-256x256.png - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/admin.php?page=pdtr-bws-panel
- > Network (severe)
http://ps.w.org/subscriber/assets/icon-256x256.png - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/admin.php?page=pdtr-bws-panel
- > Network (severe)
http://ps.w.org/bws-testimonials/assets/icon-256x256.png - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/admin.php?page=pdtr-bws-panel
- > Network (severe)
http://ps.w.org/timesheet/assets/icon-256x256.png - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/admin.php?page=pdtr-bws-panel
- > Network (severe)
http://ps.w.org/twitter-plugin/assets/icon-256x256.png - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/admin.php?page=pdtr-bws-panel
- > Network (severe)
http://ps.w.org/updater/assets/icon-256x256.png - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/admin.php?page=pdtr-bws-panel
- > Network (severe)
http://ps.w.org/user-role/assets/icon-256x256.png - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/admin.php?page=pdtr-bws-panel
- > Network (severe)
http://ps.w.org/visitors-online/assets/icon-256x256.png - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 93% 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
Attributes that require attention:
- Screenshots: These screenshots do not have images: #1 (Updater Software page.), #2 (Updater Settings page.), #3 (Updater Email Notifications settings page.)
- Tags: Please delete some tags, you are using 11 tag instead of maximum 10
updater/updater.php Passed 13 tests
The main PHP script in "Updater by BestWebSoft" version 1.45 is automatically included on every request by WordPress
115 characters long description:
Automatically check and update WordPress website core with all installed plugins and themes to the latest versions.
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
Everything looks great! No dangerous files found in this plugin19,113 lines of code in 37 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 10 | 3,618 | 5,156 | 7,864 |
CSS | 9 | 190 | 271 | 5,472 |
PHP | 10 | 557 | 522 | 5,269 |
JavaScript | 7 | 30 | 111 | 437 |
SVG | 1 | 0 | 0 | 71 |
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.63 |
Average class complexity | 77.25 |
▷ Minimum class complexity | 18.00 |
▷ Maximum class complexity | 224.00 |
Average method complexity | 9.47 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 76.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 36 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 29 | 80.56% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 7 | 19.44% |
Functions | 77 | |
▷ Named functions | 77 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
59 PNG files occupy 2.09MB with 0.74MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
bws_menu/css/jquery-ui-styles/1.10.4/images/ui-bg_glass_55_fbf9ee_1x400.png | 0.38KB | 0.15KB | ▼ 59.69% |
bws_menu/css/jquery-ui-styles/1.9.2/images/ui-icons_888888_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
bws_menu/css/jquery-ui-styles/1.10.4/images/ui-icons_2e83ff_256x240.png | 4.49KB | 4.20KB | ▼ 6.46% |
bws_menu/css/jquery-ui-styles/1.11.4/images/ui-icons_222222_256x240.png | 6.76KB | 4.17KB | ▼ 38.24% |
bws_menu/icons/themes/renty.png | 657.95KB | 198.11KB | ▼ 69.89% |