78% instant-conversion-analytics

Code Review | Instant Conversion Analytics - User Analytics Directly Inside Emails Sent From Your Website

WordPress plugin Instant Conversion Analytics - User Analytics Directly Inside Emails Sent From Your Website scored78%from 54 tests.

About plugin

  • Plugin page: instant-conversio...
  • Plugin version: 1.4.2
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.4-6.1.1
  • WordPress version: 6.3.1
  • First release: Aug 28, 2021
  • Latest release: Dec 19, 2022
  • Number of updates: 28
  • Update frequency: every 17.2 days
  • Top authors: riseofweb (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /657 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors

Server metrics [RAM: ▲0.11MB] [CPU: ▼0.79ms] Passed 4 tests

An overview of server-side resources used by Instant Conversion Analytics - User Analytics Directly Inside Emails Sent From Your Website
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.58 ▲0.1144.92 ▼0.69
Dashboard /wp-admin3.42 ▲0.1153.60 ▲1.53
Posts /wp-admin/edit.php3.47 ▲0.1150.85 ▼3.06
Add New Post /wp-admin/post-new.php6.00 ▲0.1188.92 ▲2.87
Media Library /wp-admin/upload.php3.34 ▲0.1140.19 ▼0.94
Instant Conversion Analytics /wp-admin/options-general.php?page=instant-conversion-analytics3.3131.55

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

Filesystem and database footprint
This plugin installed successfully
Filesystem: 11 new files
Database: no new tables, 7 new options
New WordPress options
theysaidso_admin_options
ica
db_upgraded
can_compress_scripts
widget_theysaidso_widget
widget_recent-comments
widget_recent-posts

Browser metrics Passed 4 tests

This is an overview of browser requirements for Instant Conversion Analytics - User Analytics Directly Inside Emails Sent From Your Website
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,795 ▲3414.20 ▼0.163.27 ▲1.7544.11 ▲0.37
Dashboard /wp-admin2,202 ▲315.55 ▼0.1294.30 ▼23.2242.25 ▼16.60
Posts /wp-admin/edit.php2,104 ▲12.02 ▲0.0036.48 ▲1.2734.58 ▲1.58
Add New Post /wp-admin/post-new.php1,530 ▲423.19 ▲2.22683.76 ▲9.9753.88 ▲6.00
Media Library /wp-admin/upload.php1,398 ▼24.18 ▼0.08100.50 ▼16.6343.54 ▼6.90
Instant Conversion Analytics /wp-admin/options-general.php?page=instant-conversion-analytics1,1742.2025.6075.11

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
  • The uninstall procedure has failed, leaving 6 options in the database
    • can_compress_scripts
    • theysaidso_admin_options
    • widget_recent-comments
    • db_upgraded
    • widget_theysaidso_widget
    • widget_recent-posts

Smoke tests 50% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected

SRP 0% from 2 tests

🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Almost there! Just fix the following items
  • 1× PHP files perform the action of outputting non-empty strings when accessed directly:
    • > /wp-content/plugins/instant-conversion-analytics/includes/img/index.php
  • 1× GET requests to PHP files have triggered server-side errors or warnings:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/instant-conversion-analytics/ica.php:14

User-side errors Passed 1 test

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

Optimizations

Plugin configuration 93% from 29 tests

readme.txt 94% from 16 tests

Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that need to be fixed:
  • Tags: Please reduce the number of tags, currently 14 tag instead of maximum 10
Please take inspiration from this readme.txt

instant-conversion-analytics/ica.php 92% from 13 tests

The primary PHP file in "Instant Conversion Analytics - User Analytics Directly Inside Emails Sent From Your Website" version 1.4.2 is used by WordPress to initiate all plugin functionality
You should first fix the following items:
  • Main file name: Name the main plugin file the same as the plugin slug ("instant-conversion-analytics.php" instead of "ica.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
No dangerous file extensions were detected665 lines of code in 8 files:
LanguageFilesBlank linesComment linesLines of code
PHP640108635
JavaScript201030

PHP code Passed 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity
Average complexity per logical line of code0.67
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%
Functions20
▷ Named functions20100.00%
▷ Anonymous functions00.00%
Constants1
▷ Global constants1100.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
1 compressed PNG file occupies 0.01MB
Potential savings
Compression of 1 random PNG file using pngquant
FileSize - originalSize - compressedSavings
includes/img/ica_logo.png5.43KB5.61KB0.00%