83% involve-me

Code Review | involve.me - Create Surveys, Quizzes, Calculators & Forms as Embedded Widgets or Pop-ups

WordPress plugin involve.me - Create Surveys, Quizzes, Calculators & Forms as Embedded Widgets or Pop-ups scored83%from 54 tests.

About plugin

  • Plugin page: involve-me
  • Plugin version: 1.1.6
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.5-6.3.1
  • WordPress version: 6.3.1
  • First release: Mar 30, 2022
  • Latest release: Sep 14, 2023
  • Number of updates: 24
  • Update frequency: every 22.4 days
  • Top authors: involvemeapp (100%)

Code review

54 tests

User reviews

3 reviews

Install metrics

300+ active /2,490 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors

Server metrics [RAM: ▲0.16MB] [CPU: ▼2.36ms] Passed 4 tests

This is a short check of server-side resources used by involve.me - Create Surveys, Quizzes, Calculators & Forms as Embedded Widgets or Pop-ups
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.63 ▲0.1640.18 ▼4.55
Dashboard /wp-admin3.47 ▲0.1654.86 ▼0.85
Posts /wp-admin/edit.php3.58 ▲0.2252.74 ▲0.91
Add New Post /wp-admin/post-new.php6.05 ▲0.1686.14 ▼4.95
Media Library /wp-admin/upload.php3.39 ▲0.1640.70 ▲3.20
Add New /wp-admin/post-new.php?post_type=involve-me-project3.5746.71
All involve.me projects /wp-admin/edit.php?post_type=involve-me-project3.4344.70

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

Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 139 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-posts
widget_recent-comments
widget_theysaidso_widget
db_upgraded
theysaidso_admin_options
can_compress_scripts

Browser metrics Passed 4 tests

This is an overview of browser requirements for involve.me - Create Surveys, Quizzes, Calculators & Forms as Embedded Widgets or Pop-ups
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,836 ▲5014.20 ▲0.921.90 ▼0.0543.46 ▼5.88
Dashboard /wp-admin2,239 ▲595.59 ▼0.0183.91 ▼18.4742.71 ▼4.89
Posts /wp-admin/edit.php2,148 ▲662.02 ▲0.0137.71 ▲1.5638.61 ▲0.04
Add New Post /wp-admin/post-new.php1,549 ▲2323.26 ▼0.30642.70 ▼52.3952.04 ▼8.21
Media Library /wp-admin/upload.php1,447 ▲504.16 ▼0.04106.32 ▼4.8948.07 ▲2.68
Add New /wp-admin/post-new.php?post_type=involve-me-project2,4043.1885.3774.16
All involve.me projects /wp-admin/edit.php?post_type=involve-me-project1,1161.9933.8631.00

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
  • Zombie WordPress options were found after uninstall: 6 options
    • widget_recent-posts
    • can_compress_scripts
    • theysaidso_admin_options
    • db_upgraded
    • widget_recent-comments
    • widget_theysaidso_widget

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
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
  • 105× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
    • > PHP Fatal error
      Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/involve-me/vendor/composer/installers/src/Composer/Installers/AimeosInstaller.php:4
    • > PHP Fatal error
      Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/involve-me/vendor/composer/installers/src/Composer/Installers/OctoberInstaller.php:4
    • > PHP Fatal error
      Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/involve-me/vendor/composer/installers/src/Composer/Installers/Symfony1Installer.php:9
    • > PHP Fatal error
      Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/involve-me/vendor/composer/installers/src/Composer/Installers/CraftInstaller.php:7
    • > PHP Fatal error
      Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/involve-me/vendor/composer/installers/src/Composer/Installers/PhpBBInstaller.php:4
    • > PHP Fatal error
      Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/involve-me/vendor/composer/installers/src/Composer/Installers/StarbugInstaller.php:4
    • > PHP Fatal error
      Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/involve-me/vendor/composer/installers/src/Composer/Installers/CakePHPInstaller.php:7
    • > PHP Fatal error
      Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/involve-me/vendor/composer/installers/src/Composer/Installers/TuskInstaller.php:7
    • > PHP Notice
      Undefined variable: add_screen in wp-content/plugins/involve-me/views/settings.php on line 7
    • > PHP Fatal error
      Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/involve-me/vendor/composer/installers/src/Composer/Installers/TYPO3CmsInstaller.php:11

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found

Optimizations

Plugin configuration 90% from 29 tests

readme.txt Passed 16 tests

Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
10 plugin tags: survey, payment form, quiz maker, survey maker, nps...

involve-me/involveme.php 77% from 13 tests

The entry point to "involve.me - Create Surveys, Quizzes, Calculators & Forms as Embedded Widgets or Pop-ups" version 1.1.6 is a PHP file that has certain tags in its header comment area
Please take the time to fix the following:
  • Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
  • Main file name: Please rename the main PHP file in this plugin to the plugin slug ("involve-me.php" instead of "involveme.php")
  • Plugin Name: Please shorten the plugin name (currently 88 characters long instead of max. 70)

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Good job! No executable or dangerous file extensions detected4,000 lines of code in 124 files:
LanguageFilesBlank linesComment linesLines of code
PHP1165928463,477
JSON410316
JavaScript34018206
SVG1001

PHP code Passed 2 tests

This is a short overview of cyclomatic complexity and code structure for this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity
Average complexity per logical line of code0.30
Average class complexity3.07
▷ Minimum class complexity1.00
▷ Maximum class complexity47.00
Average method complexity2.35
▷ Minimum method complexity1.00
▷ Maximum method complexity18.00
Code structure
Namespaces3
Interfaces0
Traits0
Classes108
▷ Abstract classes10.93%
▷ Concrete classes10799.07%
▷ Final classes00.00%
Methods171
▷ Static methods2212.87%
▷ Public methods11265.50%
▷ Protected methods4123.98%
▷ Private methods1810.53%
Functions9
▷ Named functions333.33%
▷ Anonymous functions666.67%
Constants8
▷ Global constants450.00%
▷ Class constants450.00%
▷ Public constants4100.00%

Plugin size 50% from 2 tests

Image compression 50% from 2 tests

Using a strong compression for your PNG files is a great way to speed-up your plugin
6 PNG files occupy 1.15MB with 0.70MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
assets/banner-772x250.png44.12KB15.12KB▼ 65.74%
assets/screenshot-4.png494.39KB181.59KB▼ 63.27%
assets/screenshot-5.png519.79KB184.38KB▼ 64.53%
assets/banner-1544x500.png120.08KB38.32KB▼ 68.08%
assets/icon-256x256.png2.82KB1.66KB▼ 41.18%