10% cf7-inbound-organizer

Code Review | CF7 Inbound Organizer

WordPress plugin CF7 Inbound Organizer scored10%from 54 tests.

About plugin

  • Plugin page: cf7-inbound-organ...
  • Plugin version: 1.0.1
  • PHP compatiblity: 7.3+
  • PHP version: 7.4.16
  • WordPress compatibility: 6.0-6.2.0
  • WordPress version: 6.3.1
  • First release: Feb 17, 2023
  • Latest release: Apr 14, 2023
  • Number of updates: 6
  • Update frequency: every 10.0 days
  • Top authors: robinlopulalan (100%)

Code review

54 tests

User reviews

1 review

Install metrics

20+ active /283 total downloads

Benchmarks

Plugin footprint 40% from 16 tests

Installer 0% from 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
You still need to fix the following installer errors
  • The plugin cannot be installed
    • > Notice in wp-content/plugins/cf7-inbound-organizer/admin/class-cf7-inbound-organizer-admin.php+128
    Trying to access array offset on value of type bool

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

Analyzing server-side resources used by CF7 Inbound Organizer
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.46 ▲0.0037.35 ▼1.41
Dashboard /wp-admin3.31 ▼0.0444.45 ▼18.63
Posts /wp-admin/edit.php3.36 ▲0.0047.25 ▲1.88
Add New Post /wp-admin/post-new.php5.89 ▲0.0083.37 ▼18.08
Media Library /wp-admin/upload.php3.23 ▲0.0036.44 ▲2.04

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

How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 20 new files
Database: no new tables, 6 new options
New WordPress options
can_compress_scripts
widget_recent-comments
widget_recent-posts
widget_theysaidso_widget
db_upgraded
theysaidso_admin_options

Browser metrics Passed 4 tests

CF7 Inbound Organizer: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲5413.24 ▼1.135.19 ▲3.2740.15 ▼3.52
Dashboard /wp-admin2,206 ▲184.84 ▼0.05109.01 ▲4.5639.30 ▼2.78
Posts /wp-admin/edit.php2,089 ▲32.02 ▲0.0439.44 ▲3.5139.55 ▲5.61
Add New Post /wp-admin/post-new.php1,533 ▲1323.22 ▲0.29674.05 ▲35.0353.81 ▲0.93
Media Library /wp-admin/upload.php1,391 ▲94.19 ▼0.0299.20 ▲1.8842.15 ▲1.59

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

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
  • This plugin did not uninstall without warnings or errors
    • > Notice in wp-includes/option.php+2520
    Trying to access array offset on value of type null
  • The uninstall procedure has failed, leaving 6 options in the database
    • can_compress_scripts
    • widget_recent-comments
    • theysaidso_admin_options
    • widget_recent-posts
    • db_upgraded
    • widget_theysaidso_widget

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected

SRP Passed 2 tests

🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
No output text or server-side errors detected on direct access of PHP files

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
8 plugin tags: contact form, email form, crm, lead tracking, form...

cf7-inbound-organizer/cf7-inbound-organizer.php Passed 13 tests

Analyzing the main PHP file in "CF7 Inbound Organizer" version 1.0.1
67 characters long description:
Extends CF7 + Flamingo to organize submitted forms to follow up on.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
There were no executable files found in this plugin1,465 lines of code in 14 files:
LanguageFilesBlank linesComment linesLines of code
PHP11173779944
JavaScript11737224
CSS1374162
PO File15058135

PHP code Passed 2 tests

Analyzing logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.25
Average class complexity12.67
▷ Minimum class complexity1.00
▷ Maximum class complexity63.00
Average method complexity2.56
▷ Minimum method complexity1.00
▷ Maximum method complexity11.00
Code structure
Namespaces1
Interfaces0
Traits0
Classes6
▷ Abstract classes00.00%
▷ Concrete classes6100.00%
▷ Final classes00.00%
Methods45
▷ Static methods36.67%
▷ Public methods3986.67%
▷ Protected methods24.44%
▷ Private methods48.89%
Functions3
▷ Named functions3100.00%
▷ Anonymous functions00.00%
Constants2
▷ 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
No PNG images were found in this plugin