93% admin-bar-edit-links-for-gravity-forms

Code Review | Admin Bar Edit Links for Gravity Forms

WordPress plugin Admin Bar Edit Links for Gravity Forms scored 93% from 54 tests.

About plugin

  • Plugin page: admin-bar-edit-li...
  • Plugin version: 1.0.0
  • PHP version: 7.4.16
  • WordPress compatibility: 3.5+
  • WordPress version: 5.9.2
  • First release: Jul 27, 2016
  • Latest release: Jul 20, 2016
  • Number of updates: 2
  • Update frequency: every 3.0 days
  • Top authors: gn_themes (100%)

Code review

54 tests

User reviews

1 review

Install metrics

50+ active / 1,014 total downloads

Benchmarks

Plugin footprint Passed 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices

Server metrics [RAM: ▼0.00MB] [CPU: ▼290.15ms] Passed 4 tests

An overview of server-side resources used by Admin Bar Edit Links for Gravity Forms
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.57 ▲0.0555.75 ▲0.91
Dashboard /wp-admin3.43 ▲0.0233.10 ▼1.19
Posts /wp-admin/edit.php3.66 ▲0.0239.56 ▲1.94
Add New Post /wp-admin/post-new.php6.90 ▼0.0798.93 ▼1,161.94
Media Library /wp-admin/upload.php3.31 ▲0.0227.62 ▲1.61

Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests

A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 2 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

An overview of browser requirements for Admin Bar Edit Links for Gravity Forms
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,766 ▲2416.18 ▲0.205.73 ▼0.562.36 ▲0.18
Dashboard /wp-admin2,895 ▲376.13 ▼0.13122.25 ▼14.78155.97 ▼7.56
Posts /wp-admin/edit.php2,694 ▲63.23 ▼0.0064.50 ▲0.58138.28 ▼9.36
Add New Post /wp-admin/post-new.php1,662 ▲117.97 ▲2.43408.42 ▼24.61160.41 ▲7.77
Media Library /wp-admin/upload.php1,698 ▲35.51 ▲0.01143.15 ▲9.02182.99 ▼1.84

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Uninstaller ran successfully

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
Everything seems fine, however this is by no means an exhaustive test

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
  • 1× PHP files trigger server errors when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/admin-bar-edit-links-for-gravity-forms/admin-bar-edit-links-for-gravity-forms.php:174

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side

Optimizations

Plugin configuration 90% from 29 tests

readme.txt 88% from 16 tests

The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need your attention: Please take inspiration from this readme.txt

admin-bar-edit-links-for-gravity-forms/admin-bar-edit-links-for-gravity-forms.php 92% from 13 tests

Analyzing the main PHP file in "Admin Bar Edit Links for Gravity Forms" version 1.0.0
It is important to fix the following:
  • Domain Path: The domain path points to a folder that does not exist ("/languages")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
There were no executable files found in this plugin71 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP1397271

PHP code Passed 2 tests

A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity
Average complexity per logical line of code0.55
Average class complexity10.00
▷ Minimum class complexity10.00
▷ Maximum class complexity10.00
Average method complexity2.80
▷ Minimum method complexity1.00
▷ Maximum method complexity5.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes1100.00%
Methods5
▷ Static methods480.00%
▷ Public methods5100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions0
▷ Named functions00.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.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
No PNG images were found in this plugin