84% insiteform

Code Review | Insiteform

WordPress plugin Insiteform scored84%from 54 tests.

About plugin

  • Plugin page: insiteform
  • Plugin version: 1.0.0
  • PHP compatiblity: 7.4.1+
  • PHP version: 7.4.16
  • WordPress version: 6.3.1
  • First release: Jan 18, 2023
  • Latest release: Apr 10, 2023
  • Number of updates: 8
  • Update frequency: every 10.4 days
  • Top authors: shyguywill (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /145 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 gracefully, with no errors

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

Server-side resources used by Insiteform
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.0142.48 ▼4.88
Dashboard /wp-admin3.32 ▲0.0148.20 ▲0.50
Posts /wp-admin/edit.php3.37 ▲0.0148.48 ▲4.11
Add New Post /wp-admin/post-new.php5.90 ▲0.0184.67 ▼21.53
Media Library /wp-admin/upload.php3.24 ▲0.0136.02 ▲0.13

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

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

Browser metrics Passed 4 tests

A check of browser resources used by Insiteform
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,816 ▲7014.45 ▲0.081.87 ▲0.0743.26 ▼0.48
Dashboard /wp-admin2,219 ▲285.77 ▲0.88100.76 ▼5.2538.27 ▲1.93
Posts /wp-admin/edit.php2,108 ▲162.02 ▼0.0341.03 ▲0.3135.94 ▼2.75
Add New Post /wp-admin/post-new.php1,555 ▲1818.37 ▼4.84597.12 ▼31.8853.46 ▲2.85
Media Library /wp-admin/upload.php1,404 ▲134.25 ▲0.06102.82 ▲3.5243.14 ▲1.33

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • db_upgraded
    • can_compress_scripts
    • theysaidso_admin_options
    • widget_recent-comments
    • widget_theysaidso_widget
    • widget_recent-posts

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested

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 fix the following items
  • 1× PHP files trigger server-side errors or warnings when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/insiteform/insiteform.php:24

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side

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
10 plugin tags: forms, form optimisation, form performance, form user experience, form optimisation tools...

insiteform/insiteform.php Passed 13 tests

The main PHP script in "Insiteform" version 1.0.0 is automatically included on every request by WordPress
81 characters long description:
Track and analyse your WordPress forms to improve conversions and user experience

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
Success! There were no dangerous files found in this plugin90 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP1163090

PHP code Passed 2 tests

A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity
Average complexity per logical line of code0.39
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%
Functions4
▷ Named functions4100.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
PNG images were not found in this plugin