84% surbma-gravity-forms-tabindex-fix

Code Review | Surbma | Gravity Forms Tabindex Fix

WordPress plugin Surbma | Gravity Forms Tabindex Fix scored84%from 54 tests.

About plugin

  • Plugin page: surbma-gravity-fo...
  • Plugin version: 2.0
  • PHP compatiblity: 7.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.1-6.2
  • WordPress version: 6.3.1
  • First release: Nov 30, 2014
  • Latest release: Apr 8, 2023
  • Number of updates: 21
  • Update frequency: every 145.3 days
  • Top authors: Surbma (100%)

Code review

54 tests

User reviews

1 review

Install metrics

30+ active /1,368 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices

Server metrics [RAM: ▲0.01MB] [CPU: ▼8.05ms] Passed 4 tests

Analyzing server-side resources used by Surbma | Gravity Forms Tabindex Fix
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0138.93 ▲0.39
Dashboard /wp-admin3.32 ▲0.0147.51 ▼0.49
Posts /wp-admin/edit.php3.37 ▲0.0144.07 ▼8.84
Add New Post /wp-admin/post-new.php5.90 ▲0.0184.78 ▼20.65
Media Library /wp-admin/upload.php3.24 ▲0.0031.96 ▼2.20

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

How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options
db_upgraded
can_compress_scripts
theysaidso_admin_options
widget_theysaidso_widget
widget_recent-comments
widget_recent-posts

Browser metrics Passed 4 tests

This is an overview of browser requirements for Surbma | Gravity Forms Tabindex Fix
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲6513.19 ▼1.191.69 ▼0.0143.14 ▲2.19
Dashboard /wp-admin2,203 ▲155.83 ▼0.07107.53 ▼1.7443.95 ▲3.11
Posts /wp-admin/edit.php2,089 ▼02.01 ▼0.0034.09 ▼7.0733.99 ▼1.44
Add New Post /wp-admin/post-new.php1,542 ▲818.24 ▼4.83624.24 ▲10.9852.59 ▲4.99
Media Library /wp-admin/upload.php1,388 ▲34.22 ▲0.07100.13 ▼0.0541.88 ▼3.07

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
  • The uninstall procedure has failed, leaving 6 options in the database
    • widget_recent-posts
    • widget_theysaidso_widget
    • can_compress_scripts
    • widget_recent-comments
    • db_upgraded
    • theysaidso_admin_options

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
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 fix the following items
  • 1× GET requests to PHP files return non-empty strings:
    • > /wp-content/plugins/surbma-gravity-forms-tabindex-fix/surbma-gravity-forms-tabindex-fix.php

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 errors were detected

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
2 plugin tags: gravityforms, gravity forms

surbma-gravity-forms-tabindex-fix/surbma-gravity-forms-tabindex-fix.php Passed 13 tests

This is the main PHP file of "Surbma | Gravity Forms Tabindex Fix" version 2.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
90 characters long description:
Fix for Gravity Forms tabindex issue, when more than one forms are displaying on one page.

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
No dangerous file extensions were detected19 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code
PHP181515
Markdown1104

PHP code Passed 2 tests

This is a short overview of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity
Average complexity per logical line of code0.43
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
Namespaces0
Interfaces0
Traits0
Classes0
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
Methods0
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions2
▷ Named functions2100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

PNG files should be compressed to save space and minimize bandwidth usage
There were not PNG files found in your plugin