Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼3.51ms] Passed 4 tests
A check of server-side resources used by AdMinimal Bar - Minimize the Admin Bar
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 40.92 ▼1.32 |
Dashboard /wp-admin | 3.33 ▲0.03 | 49.96 ▲2.02 |
Posts /wp-admin/edit.php | 3.38 ▲0.03 | 53.97 ▲4.17 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.03 | 89.23 ▼16.58 |
Media Library /wp-admin/upload.php | 3.25 ▲0.03 | 38.11 ▲1.85 |
AdMinimal Bar /wp-admin/options-general.php?page=adminimal-bar-settings | 3.22 | 29.84 |
Server storage [IO: ▲0.01MB] [DB: ▲0.07MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 5 new files
Database: no new tables, 10 new options
New WordPress options |
---|
adminimal_bar_orientation |
db_upgraded |
adminimal_bar_minimized_transparent |
widget_recent-comments |
widget_recent-posts |
adminimal_bar_enabled |
widget_theysaidso_widget |
adminimal_bar_minimized_logo_color |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
AdMinimal Bar - Minimize the Admin Bar: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,848 ▲87 | 13.38 ▼1.18 | 9.15 ▲7.46 | 43.86 ▲0.56 |
Dashboard /wp-admin | 2,199 ▲25 | 5.62 ▲0.09 | 85.88 ▼10.54 | 38.91 ▼1.61 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.00 ▲0.01 | 39.47 ▲2.76 | 37.21 ▼1.25 |
Add New Post /wp-admin/post-new.php | 1,531 ▲3 | 23.23 ▲0.11 | 669.38 ▲5.51 | 51.52 ▼1.66 |
Media Library /wp-admin/upload.php | 1,401 ▲4 | 4.16 ▼0.07 | 98.47 ▲1.86 | 42.88 ▲2.90 |
AdMinimal Bar /wp-admin/options-general.php?page=adminimal-bar-settings | 862 | 1.99 | 22.96 | 32.09 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
The smoke test was a success, however most plugin functionality was not tested
SRP 50% 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 take a closer look at the following
- 2× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/adminimal-bar/adminimal-bar.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/adminimal-bar/adminimal-bar-settings.php:146
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 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
4 plugin tags: workflow, admin bar, productivity, frontend
adminimal-bar/adminimal-bar.php Passed 13 tests
The primary PHP file in "AdMinimal Bar - Minimize the Admin Bar" version 1.0.3 is used by WordPress to initiate all plugin functionality
80 characters long description:
Minimize the WordPress admin bar on the frontend to keep focus on your workflow.
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
No dangerous file extensions were detected252 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 31 | 17 | 184 |
CSS | 1 | 10 | 0 | 51 |
JavaScript | 1 | 1 | 0 | 17 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.09 |
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 | 14 | |
▷ Named functions | 13 | 92.86% |
▷ Anonymous functions | 1 | 7.14% |
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
PNG files should be compressed to save space and minimize bandwidth usage
There are no PNG files in this plugin