84% admin-bar-edit-page-links

Code Review | Admin Bar Edit Content Links

WordPress plugin Admin Bar Edit Content Links scored 84% from 54 tests.

About plugin

  • Plugin page: admin-bar-edit-pa...
  • Plugin version:
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0-5.7
  • WordPress version: 5.8.1
  • First release: Dec 10, 2013
  • Latest release: Mar 24, 2021
  • Number of updates: 29
  • Update frequency: every 91.9 days
  • Top authors: brettshumaker (100%)

Code review

54 tests

User reviews

7 reviews

Install metrics

500+ active / 8,485 total downloads


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
PageMemory (MB)CPU Time (ms)
Home /2.89 ▲0.0525.80 ▲2.07
Dashboard /wp-admin3.11 ▲0.0533.13 ▼5.20
Posts /wp-admin/edit.php3.21 ▲0.0930.35 ▼0.47
Add New Post /wp-admin/post-new.php5.48 ▲0.0468.42 ▼588.19
Media Library /wp-admin/upload.php3.06 ▲0.0624.23 ▲0.75
Admin Bar Edit Content Links /wp-admin/options-general.php?page=admin_bar_edit_page_links3.0319.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

Browser metrics Passed 4 tests

Admin Bar Edit Content Links: an overview of browser usage
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,780 ▲17915.65 ▼0.266.31 ▼2.2174.35 ▼2.56
Dashboard /wp-admin2,960 ▲646.12 ▼0.03117.82 ▼20.73166.61 ▼10.31
Posts /wp-admin/edit.php2,776 ▲363.25 ▲0.0172.09 ▲3.61151.49 ▼4.74
Add New Post /wp-admin/post-new.php3,756 ▼5117.86 ▼0.91446.99 ▼9.60156.19 ▼17.37
Media Library /wp-admin/upload.php1,785 ▲335.50 ▼0.06136.83 ▼14.41179.73 ▼6.98
Admin Bar Edit Content Links /wp-admin/options-general.php?page=admin_bar_edit_page_links1,1022.3353.08112.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

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


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. 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:
LanguageFilesBlank linesComment linesLines of code
PO File11321

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 code0.37
Average class complexity0.00
▷ Minimum class complexity0.00
▷ Maximum class complexity0.00
Average method complexity0.00
▷ Minimum method complexity0.00
▷ Maximum method complexity0.00
Code structure
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
▷ Named functions12100.00%
▷ Anonymous functions00.00%
▷ Global constants2100.00%
▷ Class constants00.00%
▷ Public constants00.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
FileSize - originalSize - compressedSavings
images/edit-page-icon.png3.27KB1.64KB▼ 49.91%