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.06MB] [CPU: ▼3.21ms] Passed 4 tests
Analyzing server-side resources used by Admin Bar Edit Content Links
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.06 | 39.14 ▲0.10 |
Dashboard /wp-admin | 3.36 ▲0.06 | 46.08 ▼3.40 |
Posts /wp-admin/edit.php | 3.41 ▲0.06 | 48.52 ▼2.04 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 93.47 ▼7.48 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 36.80 ▲5.73 |
Admin Bar Edit Content Links /wp-admin/options-general.php?page=admin_bar_edit_page_links | 3.25 | 30.74 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 7 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
bs_abep_settings |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for Admin Bar Edit Content Links
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,851 ▲116 | 13.21 ▼1.16 | 1.68 ▲0.01 | 40.11 ▼2.77 |
Dashboard /wp-admin | 2,235 ▲46 | 4.85 ▼0.09 | 108.17 ▲3.11 | 41.58 ▼1.44 |
Posts /wp-admin/edit.php | 2,118 ▲29 | 2.06 ▲0.05 | 40.65 ▼1.14 | 35.58 ▼1.67 |
Add New Post /wp-admin/post-new.php | 1,537 ▲23 | 23.15 ▲5.66 | 611.60 ▼63.86 | 54.79 ▲2.38 |
Media Library /wp-admin/upload.php | 1,420 ▲35 | 4.23 ▲0.02 | 95.93 ▼7.67 | 42.63 ▼0.16 |
Admin Bar Edit Content Links /wp-admin/options-general.php?page=admin_bar_edit_page_links | 829 | 2.04 | 24.71 | 31.10 |
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
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 7 options
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
- bs_abep_settings
- db_upgraded
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
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 add_action() in wp-content/plugins/admin-bar-edit-page-links/admin/settings.php:2
- > 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
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
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
This is the main PHP file of "Admin Bar Edit Content Links" version 1.4.2.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please take the time to fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 190 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
No dangerous file extensions were detected266 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
This is a short overview of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
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% |