Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲4.75MB] [CPU: ▼264.30ms] Passed 4 tests
An overview of server-side resources used by Admin Quick Panel
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 8.62 ▲5.11 | 79.24 ▲28.38 |
Dashboard /wp-admin | 8.64 ▲5.24 | 64.06 ▲29.68 |
Posts /wp-admin/edit.php | 8.64 ▲5.00 | 61.75 ▲24.35 |
Add New Post /wp-admin/post-new.php | 10.63 ▲3.64 | 124.07 ▼1,132.32 |
Media Library /wp-admin/upload.php | 8.64 ▲5.34 | 49.20 ▲22.40 |
Freemius Debug [v.2.4.1] /wp-admin/admin.php?page=freemius | 8.64 | 50.46 |
Admin Quick Panel /wp-admin/options-general.php?page=admin-quick-panel | 8.64 | 49.24 |
Server storage [IO: ▲3.00MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 171 new files
Database: no new tables, 4 new options
New WordPress options |
---|
fs_gdpr |
fs_accounts |
fs_active_plugins |
fs_debug_mode |
Browser metrics Passed 4 tests
Checking browser requirements for Admin Quick Panel
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,884 ▲162 | 15.75 ▼0.23 | 6.29 ▲0.67 | 1.97 ▼0.29 |
Dashboard /wp-admin | 3,014 ▲153 | 6.97 ▲0.78 | 116.95 ▼17.87 | 199.16 ▲36.19 |
Posts /wp-admin/edit.php | 2,829 ▲157 | 3.56 ▲0.32 | 70.57 ▲6.49 | 192.59 ▲52.81 |
Add New Post /wp-admin/post-new.php | 1,779 ▲118 | 20.75 ▲4.14 | 415.82 ▼19.27 | 233.06 ▲82.88 |
Media Library /wp-admin/upload.php | 1,815 ▲114 | 6.12 ▲0.59 | 115.66 ▼34.23 | 205.74 ▲16.75 |
Freemius Debug [v.2.4.1] /wp-admin/admin.php?page=freemius | 1,527 | 3.16 | 57.59 | 113.25 |
Admin Quick Panel /wp-admin/options-general.php?page=admin-quick-panel | 1,379 | 3.16 | 57.77 | 158.74 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- Uninstall procedure validation failed for this plugin
- > Notice in wp-content/plugins/admin-quick-panel/freemius/includes/class-freemius.php+8540
Undefined property: stdClass::$plugins
- This plugin does not fully uninstall, leaving 4 options in the database
- fs_active_plugins
- fs_accounts
- fs_debug_mode
- fs_gdpr
Smoke tests 50% 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 0% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Almost there! Just fix the following items
- 2× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/admin-quick-panel/freemius/templates/ajax-loader.php
- > /wp-content/plugins/admin-quick-panel/functions/aqpanel-core-functions.php
- 8× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function freemius() in wp-content/plugins/admin-quick-panel/freemius/templates/partials/network-activation.php:6
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/admin-quick-panel/freemius/templates/account/partials/addon.php on line 8
- > PHP Notice
Undefined variable: VARS in wp-content/plugins/admin-quick-panel/freemius/templates/account/partials/addon.php on line 6
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/admin-quick-panel/freemius/templates/account/partials/addon.php on line 6
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/admin-quick-panel/freemius/templates/account/partials/addon.php on line 7
- > PHP Fatal error
Uncaught Error: Call to a member function get_slug() on null in wp-content/plugins/admin-quick-panel/freemius/templates/account/partials/addon.php:9
- > PHP Notice
Undefined variable: VARS in wp-content/plugins/admin-quick-panel/freemius/templates/account/partials/addon.php on line 7
- > PHP Notice
Undefined variable: VARS in wp-content/plugins/admin-quick-panel/freemius/templates/account/partials/addon.php on line 8
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need to be fixed:
- Tags: You are using too many tags: 12 tag instead of maximum 10
admin-quick-panel/admin-quick-panel.php Passed 13 tests
Analyzing the main PHP file in "Admin Quick Panel" version 1.2.5
103 characters long description:
Adds a menu to the right side. Add your favorite posts and other useful buttons there for quick access.
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Good job! No executable or dangerous file extensions detected31,423 lines of code in 129 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 113 | 7,284 | 16,208 | 30,866 |
CSS | 12 | 17 | 19 | 321 |
JavaScript | 4 | 37 | 64 | 236 |
PHP code 50% from 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Please fix the following
- Class cyclomatic complexity should be reduced to less than 1000 (currently 2,895)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.63 |
Average class complexity | 81.94 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 2,895.00 |
Average method complexity | 4.59 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 86.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 50 | |
▷ Abstract classes | 2 | 4.00% |
▷ Concrete classes | 48 | 96.00% |
▷ Final classes | 0 | 0.00% |
Methods | 1,160 | |
▷ Static methods | 175 | 15.09% |
▷ Public methods | 817 | 70.43% |
▷ Protected methods | 15 | 1.29% |
▷ Private methods | 328 | 28.28% |
Functions | 95 | |
▷ Named functions | 95 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 123 | |
▷ Global constants | 98 | 79.67% |
▷ Class constants | 25 | 20.33% |
▷ Public constants | 25 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
3 PNG files occupy 0.05MB with 0.02MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
freemius/assets/img/theme-icon.png | 10.97KB | 5.78KB | ▼ 47.37% |
freemius/assets/img/plugin-icon.png | 9.16KB | 5.26KB | ▼ 42.58% |
freemius/assets/img/admin-quick-panel.png | 30.64KB | 15.01KB | ▼ 50.99% |