Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▼0.18MB] [CPU: ▼17.47ms] Passed 4 tests
Server-side resources used by Admin Classic Borders
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 35.54 ▼3.64 |
Dashboard /wp-admin | 3.13 ▼0.17 | 28.90 ▼25.82 |
Posts /wp-admin/edit.php | 3.26 ▼0.09 | 33.26 ▼14.01 |
Add New Post /wp-admin/post-new.php | 5.45 ▼0.43 | 71.07 ▼21.30 |
Media Library /wp-admin/upload.php | 3.20 ▼0.03 | 25.77 ▼8.76 |
Admin /wp-admin/themes.php?page=admin_classic_borders_optionspage | 3.11 | 25.15 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 23 new files
Database: no new tables, 8 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
acb_options_extra |
acb_options_main |
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
Admin Classic Borders: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,832 ▲75 | 13.18 ▼1.21 | 1.87 ▼0.01 | 41.94 ▲1.80 |
Dashboard /wp-admin | 2,213 ▲22 | 5.84 ▼0.06 | 101.16 ▼0.02 | 40.84 ▲4.61 |
Posts /wp-admin/edit.php | 2,096 ▲7 | 2.05 ▲0.01 | 40.24 ▲2.99 | 36.62 ▲4.39 |
Add New Post /wp-admin/post-new.php | 1,539 ▲6 | 23.22 ▼0.22 | 621.04 ▼92.05 | 52.26 ▼9.94 |
Media Library /wp-admin/upload.php | 1,395 ▲4 | 4.19 ▼0.02 | 96.47 ▼5.10 | 43.14 ▼1.83 |
Admin /wp-admin/themes.php?page=admin_classic_borders_optionspage | 924 | 2.28 | 35.61 | 28.68 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% 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
- This plugin does not fully uninstall, leaving 8 options in the database
- widget_recent-posts
- db_upgraded
- acb_options_extra
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- acb_options_main
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
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 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following items
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/admin-classic-borders/css/jquery-ui-1.10.3.custom.css.php
- 7× PHP files trigger server errors when accessed directly:
- > 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_filter() in wp-content/plugins/admin-classic-borders/components/settings-link.php:18
- > 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_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.php:52
- > 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_action() in wp-content/plugins/admin-classic-borders/components/register-and-enqueue.php:22
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
5 plugin tags: backend, mp6, borders, style, admin
admin-classic-borders/admin-classic-borders.php 92% from 13 tests
The principal PHP file in "Admin Classic Borders" v. 1.7.1 is loaded by WordPress automatically on each request
It is important to fix the following:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 143 characters long)
Code Analysis Passed 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
Success! There were no dangerous files found in this plugin733 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
This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
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_highlight-soft_50_aaaaaa_1x100.png | 0.27KB | 0.18KB | ▼ 33.57% |
css/images/ui-bg_highlight-hard_100_f9f9f9_1x100.png | 0.25KB | 0.10KB | ▼ 57.94% |
css/images/ui-bg_glass_55_1c1c1c_1x400.png | 0.25KB | 0.16KB | ▼ 36.92% |
css/images/ui-bg_inset-hard_55_ffeb80_1x100.png | 0.30KB | 0.15KB | ▼ 49.84% |
css/images/ui-bg_inset-hard_45_cd0a0a_1x100.png | 0.32KB | 0.15KB | ▼ 52.16% |