Benchmarks
Plugin footprint 23% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
It is recommended to fix the following installer errors
- Install procedure had errors
- > Notice in wp-content/plugins/dynast-admin-panel/inc/assets/support.php+10
Trying to access array offset on value of type bool
Server metrics [RAM: ▼1.83MB] [CPU: ▼54.92ms] Passed 4 tests
A check of server-side resources used by dynast admin panel
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.17 ▼1.30 | 5.49 ▼37.02 |
Dashboard /wp-admin | 2.19 ▼1.16 | 6.68 ▼56.77 |
Posts /wp-admin/edit.php | 2.19 ▼1.17 | 9.22 ▼33.24 |
Add New Post /wp-admin/post-new.php | 2.19 ▼3.70 | 7.50 ▼92.66 |
Media Library /wp-admin/upload.php | 2.19 ▼1.04 | 6.95 ▼30.09 |
Contact Form /wp-admin/admin.php?page=contact_form_select_page | 2.19 | 7.42 |
Add Support /wp-admin/admin.php?page=theme_support_option | 2.19 | 7.60 |
Admin panel /wp-admin/admin.php?page=admin_page_option | 2.19 | 6.71 |
Css Editor /wp-admin/admin.php?page=admin_css_editor | 2.19 | 7.05 |
Server storage [IO: ▲9.21MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 388 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
widget_dynast_admin_widget |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by dynast admin panel
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,199 ▲453 | 16.49 ▲2.12 | 6.01 ▲4.23 | 41.80 ▼2.67 |
Dashboard /wp-admin | 2,500 ▲318 | 6.53 ▲0.66 | 151.11 ▲48.01 | 41.96 ▲3.66 |
Posts /wp-admin/edit.php | 2,375 ▲286 | 4.07 ▲2.07 | 62.46 ▲21.70 | 34.96 ▼3.72 |
Add New Post /wp-admin/post-new.php | 1,744 ▲213 | 18.09 ▼0.18 | 598.98 ▼15.24 | 34.54 ▼16.99 |
Media Library /wp-admin/upload.php | 1,504 ▲116 | 5.27 ▲1.03 | 87.78 ▼7.19 | 41.99 ▼0.56 |
Contact Form /wp-admin/admin.php?page=contact_form_select_page | 1,131 | 3.80 | 49.80 | 31.66 |
Add Support /wp-admin/admin.php?page=theme_support_option | 1,283 | 3.93 | 51.80 | 35.44 |
Admin panel /wp-admin/admin.php?page=admin_page_option | 1,258 | 3.83 | 44.94 | 31.51 |
Css Editor /wp-admin/admin.php?page=admin_css_editor | 1,177 | 4.42 | 61.34 | 56.45 |
Uninstaller [IO: ▲9.21MB] [DB: ▲0.00MB] 25% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attentionZombie WordPress options detected upon uninstall: 7 options
- Uninstall procedure had uncaught errors
- > Notice in wp-content/plugins/dynast-admin-panel/inc/assets/support.php+10
Trying to access array offset on value of type bool
- This plugin has failed uninstalling correctly, leaving 388 files (9.21MB) in the plugin directory
- (new file) assets/css/front-admin.css
- (new file) assets/fonts/Flaticond41d.eot
- (new file) assets/fonts/Linearicons-Free54e9.eot
- (new file) assets/fonts/Flaticon.eot
- (new file) assets/css/index.html
- (new file) assets/fonts/Flaticon.woff
- (new file) assets/fonts/Flaticon.ttf
- (new file) assets/fonts/Flaticon.svg
- (new file) assets/css/font-awesome.min.css
- (new file) assets/css/admin.css
- ...
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
- widget_dynast_admin_widget
- widget_recent-posts
- db_upgraded
Smoke tests 0% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
These errors were triggered by the plugin
- 45 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=admin_css_editor
- > Notice in wp-content/plugins/dynast-admin-panel/inc/assets/support.php+10
Trying to access array offset on value of type bool
SRP 0% 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 take a closer look at the following
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/dynast-admin-panel/dynast-admin-panel.php
- 10× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function admin_url() in wp-content/plugins/dynast-admin-panel/inc/assets/form.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/dynast-admin-panel/inc/assets/admin.php:23
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/dynast-admin-panel/inc/assets/dynast-widget.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/dynast-admin-panel/inc/assets/support.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/dynast-admin-panel/inc/assets/ajax.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function settings_errors() in wp-content/plugins/dynast-admin-panel/inc/assets/admintemplate/contactform.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function settings_errors() in wp-content/plugins/dynast-admin-panel/inc/assets/admintemplate/support.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function settings_errors() in wp-content/plugins/dynast-admin-panel/inc/assets/admintemplate/admin.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function settings_errors() in wp-content/plugins/dynast-admin-panel/inc/assets/admintemplate/css.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/dynast-admin-panel/inc/assets/contact-form.php:7
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Please fix the following browser errors
- 3 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=admin_page_option
- > Javascript (severe) in unknown
/wp-content/plugins/dynast-admin-panel/assets/js/ace/ace.js?ver=v1.0 0:346182 Uncaught Error: ace.edit can't find div #customCSS
- 4 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=admin_css_editor
- > Console-api (warning) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,moxiejs,plupload&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/dynast-admin-panel/assets/js/admin.js?ver=v1.1:6:24)\n at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,moxiejs,plupload&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,moxiejs,plupload&ver=6.3.1:2:27292)" undefined
- 4 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=admin_css_editor
- > Javascript (severe) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,moxiejs,plupload&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
These attributes need your attention:
- Screenshots: These screenshots do not have images: #1 (It's theme support section in this page your can control theme support to screenshot-1.png), #2 (Please check this box and get a sortcode to use where you like to show to screenshot-2.png), #3 (Hey guy awesome section you will see like your own css editor just use to screenshot-3.png)
dynast-admin-panel/dynast-admin-panel.php 92% from 13 tests
The main file in "dynast admin panel" v. 0.2 serves as a complement to information provided in readme.txt and as the entry point to the plugin
You should first fix the following items:
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
No dangerous file extensions were detected7,650 lines of code in 351 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 7 | 0 | 6 | 6,234 |
PHP | 13 | 230 | 86 | 693 |
JavaScript | 327 | 93 | 4 | 537 |
CSS | 3 | 31 | 3 | 184 |
HTML | 1 | 0 | 0 | 2 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.13 |
Average class complexity | 2.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 4.00 |
Average method complexity | 1.30 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 2.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 10 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 10 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 44 | |
▷ Named functions | 43 | 97.73% |
▷ Anonymous functions | 1 | 2.27% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
No PNG images were found in this plugin