Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.93MB] [CPU: ▲2.30ms] Passed 4 tests
Analyzing server-side resources used by Custom Admin Page by BestWebSoft - Configurable WordPress Dashboard Pages Plugin
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.40 ▲0.93 | 51.89 ▲11.13 |
Dashboard /wp-admin | 4.23 ▲0.93 | 55.55 ▲3.52 |
Posts /wp-admin/edit.php | 4.28 ▲0.93 | 56.69 ▲6.88 |
Add New Post /wp-admin/post-new.php | 6.83 ▲0.94 | 91.70 ▼12.32 |
Media Library /wp-admin/upload.php | 4.14 ▲0.91 | 54.35 ▲16.64 |
Admin Pages /wp-admin/edit.php?post_type=bws-admin_page | 4.21 | 53.28 |
BWS Panel /wp-admin/edit.php?post_type=bws-admin_page&page=cstmdmnpg-bws-panel | 4.40 | 48.68 |
Add New /wp-admin/post-new.php?post_type=bws-admin_page | 6.82 | 100.47 |
Server storage [IO: ▲5.10MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 119 new files
Database: no new tables, 8 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
bstwbsftwppdtplgns_options |
cstmdmnpg_options |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for Custom Admin Page by BestWebSoft - Configurable WordPress Dashboard Pages Plugin
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,849 ▲103 | 13.26 ▼1.29 | 4.50 ▲2.66 | 42.66 ▼5.17 |
Dashboard /wp-admin | 2,249 ▲58 | 6.07 ▲1.17 | 109.03 ▲0.28 | 43.29 ▼0.81 |
Posts /wp-admin/edit.php | 2,138 ▲49 | 2.05 ▲0.03 | 41.00 ▼2.62 | 35.37 ▼1.66 |
Add New Post /wp-admin/post-new.php | 1,566 ▲52 | 23.44 ▲5.88 | 683.06 ▲49.78 | 62.50 ▲6.61 |
Media Library /wp-admin/upload.php | 1,437 ▲49 | 4.22 ▲0.01 | 105.30 ▼6.79 | 49.00 ▼1.05 |
Admin Pages /wp-admin/edit.php?post_type=bws-admin_page | 1,143 | 3.50 | 70.93 | 30.59 |
BWS Panel /wp-admin/edit.php?post_type=bws-admin_page&page=cstmdmnpg-bws-panel | 3,047 | 3.40 | 71.41 | 72.53 |
Add New /wp-admin/post-new.php?post_type=bws-admin_page | 2,200 | 17.80 | 860.89 | 38.35 |
Settings /wp-admin/custom-admin-page.php | 26 | 0.44 | 0.10 | 14.76 |
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
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests 50% from 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 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
Please fix the following items
- 4× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Class 'Bws_Settings_Tabs' not found in wp-content/plugins/custom-admin-page/includes/class-cstmdmnpg-settings.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/custom-admin-page/bws_menu/class-bws-settings.php:1452
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/custom-admin-page/custom-admin-page.php:980
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/custom-admin-page/bws_menu/product_list.php:9
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Please fix the following user-side errors
- > GET request to /wp-admin/edit.php?post_type=bws-admin_page&page=cstmdmnpg-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/edit.php?post_type=bws-admin_page&page=cstmdmnpg-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/edit.php?post_type=bws-admin_page&page=cstmdmnpg-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/edit.php?post_type=bws-admin_page&page=cstmdmnpg-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/edit.php?post_type=bws-admin_page&page=cstmdmnpg-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/edit.php?post_type=bws-admin_page&page=cstmdmnpg-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/edit.php?post_type=bws-admin_page&page=cstmdmnpg-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/edit.php?post_type=bws-admin_page&page=cstmdmnpg-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/edit.php?post_type=bws-admin_page&page=cstmdmnpg-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/edit.php?post_type=bws-admin_page&page=cstmdmnpg-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/edit.php?post_type=bws-admin_page&page=cstmdmnpg-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/edit.php?post_type=bws-admin_page&page=cstmdmnpg-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/edit.php?post_type=bws-admin_page&page=cstmdmnpg-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/edit.php?post_type=bws-admin_page&page=cstmdmnpg-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/edit.php?post_type=bws-admin_page&page=cstmdmnpg-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/edit.php?post_type=bws-admin_page&page=cstmdmnpg-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/edit.php?post_type=bws-admin_page&page=cstmdmnpg-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/edit.php?post_type=bws-admin_page&page=cstmdmnpg-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/edit.php?post_type=bws-admin_page&page=cstmdmnpg-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/edit.php?post_type=bws-admin_page&page=cstmdmnpg-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/edit.php?post_type=bws-admin_page&page=cstmdmnpg-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/edit.php?post_type=bws-admin_page&page=cstmdmnpg-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/edit.php?post_type=bws-admin_page&page=cstmdmnpg-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/edit.php?post_type=bws-admin_page&page=cstmdmnpg-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/edit.php?post_type=bws-admin_page&page=cstmdmnpg-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/edit.php?post_type=bws-admin_page&page=cstmdmnpg-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/edit.php?post_type=bws-admin_page&page=cstmdmnpg-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/edit.php?post_type=bws-admin_page&page=cstmdmnpg-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/edit.php?post_type=bws-admin_page&page=cstmdmnpg-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/edit.php?post_type=bws-admin_page&page=cstmdmnpg-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/edit.php?post_type=bws-admin_page&page=cstmdmnpg-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/edit.php?post_type=bws-admin_page&page=cstmdmnpg-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/edit.php?post_type=bws-admin_page&page=cstmdmnpg-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/edit.php?post_type=bws-admin_page&page=cstmdmnpg-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/edit.php?post_type=bws-admin_page&page=cstmdmnpg-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/edit.php?post_type=bws-admin_page&page=cstmdmnpg-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/edit.php?post_type=bws-admin_page&page=cstmdmnpg-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/edit.php?post_type=bws-admin_page&page=cstmdmnpg-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/edit.php?post_type=bws-admin_page&page=cstmdmnpg-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/edit.php?post_type=bws-admin_page&page=cstmdmnpg-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/edit.php?post_type=bws-admin_page&page=cstmdmnpg-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/edit.php?post_type=bws-admin_page&page=cstmdmnpg-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/edit.php?post_type=bws-admin_page&page=cstmdmnpg-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/edit.php?post_type=bws-admin_page&page=cstmdmnpg-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)
- > GET request to /wp-admin/custom-admin-page.php
- > Network (severe)
wp-admin/custom-admin-page.php - 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
These attributes need your attention:
- Screenshots: These screenshots have no corresponding images in /assets: #1 (Admin pages list.), #2 (Admin page`s settings.), #3 (Custom page created with Divi Builder.), #4 (Custom page created with WPBakery Page Builder.), #5 (Page`s attributes.)
- Tags: Too many tags (12 tag instead of maximum 10); only the first 5 tags are used in your directory listing
custom-admin-page/custom-admin-page.php Passed 13 tests
The primary PHP file in "Custom Admin Page by BestWebSoft - Configurable WordPress Dashboard Pages Plugin" version 1.0.5 is used by WordPress to initiate all plugin functionality
56 characters long description:
Add unlimited custom pages to WordPress admin dashboard.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Success! There were no dangerous files found in this plugin19,028 lines of code in 39 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 10 | 3,499 | 5,077 | 7,747 |
CSS | 9 | 189 | 273 | 5,545 |
PHP | 9 | 547 | 594 | 5,023 |
JavaScript | 7 | 40 | 123 | 563 |
SVG | 4 | 0 | 0 | 150 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.63 |
Average class complexity | 77.33 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 210.00 |
Average method complexity | 11.41 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 79.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 | 22 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 16 | 72.73% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 6 | 27.27% |
Functions | 86 | |
▷ Named functions | 86 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
64 PNG files occupy 3.52MB with 2.12MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-2.png | 223.96KB | 78.72KB | ▼ 64.85% |
bws_menu/css/jquery-ui-styles/1.9.2/images/ui-bg_flat_75_ffffff_40x100.png | 0.17KB | 0.08KB | ▼ 51.12% |
bws_menu/css/jquery-ui-styles/1.11.4/images/ui-bg_glass_65_ffffff_1x400.png | 0.20KB | 0.09KB | ▼ 57.49% |
bws_menu/css/jquery-ui-styles/1.12.1/images/ui-bg_glass_95_fef1ec_1x400.png | 0.38KB | 0.15KB | ▼ 61.54% |
screenshot-1.png | 91.96KB | 30.90KB | ▼ 66.40% |