Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.00MB] [CPU: ▼141.92ms] Passed 4 tests
Analyzing server-side resources used by Frontend Dashboard Templates
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.84 ▲0.12 | 35.66 ▲14.51 |
Dashboard /wp-admin | 3.07 ▲0.01 | 45.58 ▼3.63 |
Posts /wp-admin/edit.php | 3.12 ▲0.01 | 46.91 ▲4.48 |
Add New Post /wp-admin/post-new.php | 5.42 ▼0.01 | 87.24 ▼563.73 |
Media Library /wp-admin/upload.php | 3.01 ▲0.00 | 31.68 ▼4.80 |
Server storage [IO: ▲0.91MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 26 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Frontend Dashboard Templates: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,709 ▲113 | 15.84 ▼0.15 | 9.89 ▼1.30 | 42.69 ▼5.90 |
Dashboard /wp-admin | 2,987 ▲56 | 6.16 ▲0.16 | 134.88 ▼7.43 | 112.68 ▼4.50 |
Posts /wp-admin/edit.php | 2,758 ▲19 | 2.71 ▼0.13 | 68.03 ▼0.74 | 89.51 ▼9.54 |
Add New Post /wp-admin/post-new.php | 1,684 ▲69 | 18.87 ▼2.97 | 387.56 ▲104.45 | 109.19 ▲3.92 |
Media Library /wp-admin/upload.php | 1,827 ▲20 | 5.02 ▲0.01 | 141.12 ▼6.55 | 113.73 ▼6.53 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Uninstall script ran successfully
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% 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
The following issues need your attention
- 14× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'FED_Routes' not found in wp-content/plugins/frontend-dashboard-templates/templates/fedt_default.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function fedt_show_users_by_role() in wp-content/plugins/frontend-dashboard-templates/templates/user_role.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function fed_get_dashboard_url() in wp-content/plugins/frontend-dashboard-templates/layouts/layout1.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function fed_register_only() in wp-content/plugins/frontend-dashboard-templates/templates/login/register-only.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function fed_login_form() in wp-content/plugins/frontend-dashboard-templates/templates/login/unregistered-user.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function fed_login_only() in wp-content/plugins/frontend-dashboard-templates/templates/login/login-only.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/frontend-dashboard-templates/FEDT_Page_Loader.php:130
- > PHP Fatal error
Uncaught Error: Call to undefined function language_attributes() in wp-content/plugins/frontend-dashboard-templates/templates/author.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/frontend-dashboard-templates/templates/dashboard.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function fed_forgot_password_only() in wp-content/plugins/frontend-dashboard-templates/templates/login/forgot-password-only.php:6
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
These attributes need your attention:
- Screenshots: These screenshots need descriptions #1, #2, #3, #4, #5, #6 in frontend-dashboard-templates/assets to your readme.txt
frontend-dashboard-templates/frontend-dashboard-templates.php 92% from 13 tests
"Frontend Dashboard Templates" version 1.8's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
The following require your attention:
- Description: Please keep the plugin description shorter than 140 characters (currently 153 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Success! There were no dangerous files found in this plugin1,627 lines of code in 19 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 15 | 154 | 236 | 1,464 |
CSS | 2 | 23 | 5 | 112 |
JavaScript | 2 | 2 | 2 | 51 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 27.00 |
▷ Minimum class complexity | 7.00 |
▷ Maximum class complexity | 47.00 |
Average method complexity | 3.60 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.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 | 20 | |
▷ Static methods | 1 | 5.00% |
▷ Public methods | 19 | 95.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 5.00% |
Functions | 8 | |
▷ Named functions | 8 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 6 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
1 PNG file occupies 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/logo.png | 5.28KB | 1.53KB | ▼ 71.04% |