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.35MB] [CPU: ▼313.79ms] Passed 4 tests
This is a short check of server-side resources used by Admin Classic Borders
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.01 | 56.92 ▲5.12 |
Dashboard /wp-admin | 3.27 ▼0.14 | 21.72 ▼12.46 |
Posts /wp-admin/edit.php | 3.32 ▼0.32 | 23.38 ▼13.17 |
Add New Post /wp-admin/post-new.php | 6.06 ▼0.91 | 86.05 ▼1,222.89 |
Media Library /wp-admin/upload.php | 3.28 ▼0.02 | 20.83 ▼6.62 |
Admin /wp-admin/themes.php?page=admin_classic_borders_optionspage | 3.25 | 19.11 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 23 new files
Database: no new tables, 2 new options
New WordPress options |
---|
acb_options_extra |
acb_options_main |
Browser metrics Passed 4 tests
Admin Classic Borders: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,803 ▲49 | 15.79 ▲0.22 | 6.15 ▲0.33 | 2.31 ▲0.16 |
Dashboard /wp-admin | 2,896 ▲35 | 6.12 ▼0.05 | 114.20 ▼18.73 | 154.37 ▼9.26 |
Posts /wp-admin/edit.php | 2,696 ▲5 | 3.23 ▼0.01 | 63.39 ▲1.46 | 137.48 ▼2.70 |
Add New Post /wp-admin/post-new.php | 1,757 ▲5 | 21.67 ▲0.86 | 421.86 ▼25.03 | 152.72 ▼4.62 |
Media Library /wp-admin/upload.php | 1,706 ▲8 | 5.50 ▼0.03 | 141.27 ▲5.03 | 192.71 ▲12.72 |
Admin /wp-admin/themes.php?page=admin_classic_borders_optionspage | 1,162 | 3.24 | 60.06 | 122.87 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- Zombie WordPress options were found after uninstall: 2 options
- acb_options_extra
- acb_options_main
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Please fix the following server-side errors
- 3 occurences, only the last one shown
- > GET request to /wp-admin/themes.php?page=admin_classic_borders_optionspage
- > Warning in wp-content/plugins/admin-classic-borders/components/options.php+92
Illegal string offset 'lightopacity'
- 3 occurences, only the last one shown
- > GET request to /wp-admin/themes.php?page=admin_classic_borders_optionspage
- > Warning in wp-content/plugins/admin-classic-borders/components/options.php+114
Illegal string offset 'darkopacity'
- 7 occurences, only the last one shown
- > GET request to /wp-admin/themes.php?page=admin_classic_borders_optionspage
- > Warning in wp-content/plugins/admin-classic-borders/components/options.php+70
Illegal string offset 'bordertype'
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
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/admin-classic-borders/css/jquery-ui-1.10.3.custom.css.php
- 7× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/admin-classic-borders/components/settings-link.php:18
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/admin-classic-borders/components/register-and-enqueue.php:22
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/admin-classic-borders/admin-classic-borders.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/admin-classic-borders/components/main.php:111
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/admin-classic-borders/components/inactive-warning.php:18
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/admin-classic-borders/components/options-page.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/admin-classic-borders/components/options.php:52
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
5 plugin tags: mp6, borders, admin, style, backend
admin-classic-borders/admin-classic-borders.php 92% from 13 tests
The main file in "Admin Classic Borders" v. 1.7.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
It is important to fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 143 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
No dangerous file extensions were detected733 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 152 | 84 | 607 |
JavaScript | 3 | 93 | 13 | 97 |
CSS | 1 | 0 | 1 | 29 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.14 |
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 | 22 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
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
9 PNG files occupy 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
css/images/ui-bg_diagonals-thick_8_333333_40x40.png | 0.30KB | 0.15KB | ▼ 49.68% |
css/images/ui-bg_highlight-hard_100_f9f9f9_1x100.png | 0.25KB | 0.10KB | ▼ 57.94% |
css/images/ui-bg_glass_40_111111_1x400.png | 0.25KB | 0.16KB | ▼ 36.92% |
css/images/ui-bg_highlight-hard_40_aaaaaa_1x100.png | 0.25KB | 0.15KB | ▼ 38.49% |
css/images/ui-bg_highlight-soft_50_aaaaaa_1x100.png | 0.27KB | 0.18KB | ▼ 33.57% |