Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully
Server metrics [RAM: ▼0.11MB] [CPU: ▼14.48ms] Passed 4 tests
A check of server-side resources used by Backend Designer
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 38.50 ▼2.49 |
Dashboard /wp-admin | 3.24 ▼0.07 | 31.20 ▼14.89 |
Posts /wp-admin/edit.php | 3.33 ▼0.03 | 32.97 ▼13.09 |
Add New Post /wp-admin/post-new.php | 5.52 ▼0.37 | 70.96 ▼27.45 |
Media Library /wp-admin/upload.php | 3.27 ▲0.03 | 30.42 ▼2.48 |
Backend Designer /wp-admin/themes.php?page=backend_designer | 3.26 | 28.74 |
Server storage [IO: ▲0.15MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Backend Designer
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,807 ▲36 | 13.20 ▼1.35 | 1.69 ▼0.19 | 41.49 ▲2.42 |
Dashboard /wp-admin | 2,210 ▲22 | 5.91 ▲0.00 | 105.84 ▲0.78 | 39.25 ▼3.14 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.00 ▼0.05 | 39.18 ▼1.51 | 34.67 ▲0.59 |
Add New Post /wp-admin/post-new.php | 1,536 ▲11 | 23.28 ▲0.06 | 644.10 ▼24.60 | 50.13 ▼8.73 |
Media Library /wp-admin/upload.php | 1,395 ▲7 | 4.19 ▼0.02 | 94.79 ▼32.32 | 40.79 ▼3.03 |
Backend Designer /wp-admin/themes.php?page=backend_designer | 1,673 | 3.64 | 59.01 | 76.81 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Almost there, just fix the following server-side errors
- 10 occurences, only the last one shown
- > GET request to /wp-admin/themes.php?page=backend_designer
- > Notice in wp-content/plugins/backend-designer/admin/options.php+324
Trying to access array offset on value of type bool
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
Almost there! Just fix the following items
- 2× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/backend-designer/output/styles.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/backend-designer/admin/options.php:7
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
9 plugin tags: admin theme, backend colors, customize admin, backend designer, customize admin panel...
backend-designer/backend-designer.php Passed 13 tests
The primary PHP file in "Backend Designer" version 1.3 is used by WordPress to initiate all plugin functionality
120 characters long description:
Create your own design for the Wordpress Backend and customize the Login screen with your logo and awesome color styles.
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
There were no executable files found in this plugin2,867 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 1 | 321 | 194 | 1,802 |
PHP | 3 | 205 | 151 | 514 |
CSS | 2 | 41 | 28 | 465 |
PO File | 1 | 25 | 37 | 86 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 22 | |
▷ Named functions | 21 | 95.45% |
▷ Anonymous functions | 1 | 4.55% |
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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
1 PNG file occupies 0.02MB with 0.02MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/logo_bd.png | 21.60KB | 2.75KB | ▼ 87.26% |