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
Installer ran successfully
Server metrics [RAM: ▲0.05MB] [CPU: ▼148.28ms] Passed 4 tests
Server-side resources used by Admin Bar Edit Content Links
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.89 ▲0.05 | 25.80 ▲2.07 |
Dashboard /wp-admin | 3.11 ▲0.05 | 33.13 ▼5.20 |
Posts /wp-admin/edit.php | 3.21 ▲0.09 | 30.35 ▼0.47 |
Add New Post /wp-admin/post-new.php | 5.48 ▲0.04 | 68.42 ▼588.19 |
Media Library /wp-admin/upload.php | 3.06 ▲0.06 | 24.23 ▲0.75 |
Admin Bar Edit Content Links /wp-admin/options-general.php?page=admin_bar_edit_page_links | 3.03 | 19.82 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 7 new files
Database: no new tables, 1 new option
New WordPress options |
---|
bs_abep_settings |
Browser metrics Passed 4 tests
Admin Bar Edit Content Links: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,780 ▲179 | 15.65 ▼0.26 | 6.31 ▼2.21 | 74.35 ▼2.56 |
Dashboard /wp-admin | 2,960 ▲64 | 6.12 ▼0.03 | 117.82 ▼20.73 | 166.61 ▼10.31 |
Posts /wp-admin/edit.php | 2,776 ▲36 | 3.25 ▲0.01 | 72.09 ▲3.61 | 151.49 ▼4.74 |
Add New Post /wp-admin/post-new.php | 3,756 ▼51 | 17.86 ▼0.91 | 446.99 ▼9.60 | 156.19 ▼17.37 |
Media Library /wp-admin/upload.php | 1,785 ▲33 | 5.50 ▼0.06 | 136.83 ▼14.41 | 179.73 ▼6.98 |
Admin Bar Edit Content Links /wp-admin/options-general.php?page=admin_bar_edit_page_links | 1,102 | 2.33 | 53.08 | 112.75 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- This plugin does not fully uninstall, leaving 1 option in the database
- bs_abep_settings
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test
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
Please take a closer look at the following
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/admin-bar-edit-page-links/admin-bar-edit-page-links.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/admin-bar-edit-page-links/admin/settings.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
4 plugin tags: page, admin bar, page links, edit page
admin-bar-edit-page-links/admin-bar-edit-page-links.php 92% from 13 tests
The main PHP file in "Admin Bar Edit Content Links" ver. 1.4.2.1 adds more information about the plugin and also serves as the entry point for this plugin
You should first fix the following items:
- Description: Keep the plugin description shorter than 140 characters (currently 190 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
There were no executable files found in this plugin266 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 64 | 37 | 209 |
CSS | 1 | 6 | 0 | 36 |
PO File | 1 | 1 | 3 | 21 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
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 | 12 | |
▷ Named functions | 12 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/edit-page-icon.png | 3.27KB | 1.64KB | ▼ 49.91% |