68% convertix-pixel

Code Review | Convertix Pixel

WordPress plugin Convertix Pixel scored68%from 54 tests.

About plugin

  • Plugin page: convertix-pixel
  • Plugin version: 1.4.1
  • PHP version: 7.4.16
  • WordPress compatibility: 6.0.1-6.1.1
  • WordPress version: 6.3.1
  • First release: Aug 18, 2022
  • Latest release: Dec 30, 2022
  • Number of updates: 22
  • Update frequency: every 6.1 days
  • Top authors: convertixdigital (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /259 total downloads

Benchmarks

Plugin footprint 65% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully

Server metrics [RAM: ▼0.77MB] [CPU: ▼36.75ms] Passed 4 tests

An overview of server-side resources used by Convertix Pixel
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.61 ▲0.1424.88 ▼17.80
Dashboard /wp-admin3.18 ▼0.1626.08 ▼36.89
Posts /wp-admin/edit.php3.19 ▼0.1725.53 ▼19.16
Add New Post /wp-admin/post-new.php3.18 ▼2.7026.20 ▼73.14
Media Library /wp-admin/upload.php3.19 ▼0.0423.50 ▼13.96
Convertix Pixel /wp-admin/options-general.php?page=convertix-pixel-admin-settings3.1924.21

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

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

Browser metrics Passed 4 tests

A check of browser resources used by Convertix Pixel
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /4,684 ▲1,93819.01 ▲4.42138.15 ▲136.4841.64 ▼0.68
Dashboard /wp-admin2,213 ▲254.84 ▼1.09112.47 ▲1.3542.58 ▼1.63
Posts /wp-admin/edit.php2,096 ▲71.99 ▼0.0534.59 ▼2.0334.10 ▲0.69
Add New Post /wp-admin/post-new.php1,545 ▲2618.09 ▼5.24601.74 ▼76.5262.10 ▼3.67
Media Library /wp-admin/upload.php1,395 ▲104.18 ▼0.01102.19 ▲2.0443.14 ▼1.02
Convertix Pixel /wp-admin/options-general.php?page=convertix-pixel-admin-settings1,0342.2024.3428.29

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

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
  • Uninstall procedure validation failed for this plugin
    • > Warning in wp-content/plugins/convertix-pixel/admin/class-convertix-pixel-admin.php+43
    Use of undefined constant CONVERTIX_PIXEL_META_PIXEL_ID_1 - assumed 'CONVERTIX_PIXEL_META_PIXEL_ID_1' (this will throw an Error in a future version of PHP)
  • The uninstall procedure has failed, leaving 6 options in the database
    • can_compress_scripts
    • widget_theysaidso_widget
    • widget_recent-comments
    • widget_recent-posts
    • theysaidso_admin_options
    • db_upgraded

Smoke tests 50% from 4 tests

Server-side errors 0% from 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Please fix the following server-side errors
  • 24 occurences, only the last one shown
    • > GET request to /wp-admin/options-general.php?page=convertix-pixel-admin-settings
    • > Warning in wp-content/plugins/convertix-pixel/admin/class-convertix-pixel-admin.php+325
    Use of undefined constant CONVERTIX_PIXEL_META_PIXEL_ID_1 - assumed 'CONVERTIX_PIXEL_META_PIXEL_ID_1' (this will throw an Error in a future version of PHP)
  • 23 occurences, only the last one shown
    • > GET request to /wp-admin/options-general.php?page=convertix-pixel-admin-settings
    • > Warning in wp-content/plugins/convertix-pixel/admin/class-convertix-pixel-admin.php+332
    Use of undefined constant CONVERTIX_PIXEL_META_PIXEL_TOKEN_API_1 - assumed 'CONVERTIX_PIXEL_META_PIXEL_TOKEN_API_1' (this will throw an Error in a future version of PHP)
  • 22 occurences, only the last one shown
    • > GET request to /wp-admin/options-general.php?page=convertix-pixel-admin-settings
    • > Warning in wp-content/plugins/convertix-pixel/admin/class-convertix-pixel-admin.php+339
    Use of undefined constant CONVERTIX_PIXEL_META_PIXEL_TESTID_1 - assumed 'CONVERTIX_PIXEL_META_PIXEL_TESTID_1' (this will throw an Error in a future version of PHP)
  • 21 occurences, only the last one shown
    • > GET request to /wp-admin/options-general.php?page=convertix-pixel-admin-settings
    • > Warning in wp-content/plugins/convertix-pixel/admin/class-convertix-pixel-admin.php+346
    Use of undefined constant CONVERTIX_PIXEL_META_PIXEL_ID_2 - assumed 'CONVERTIX_PIXEL_META_PIXEL_ID_2' (this will throw an Error in a future version of PHP)
  • 20 occurences, only the last one shown
    • > GET request to /wp-admin/options-general.php?page=convertix-pixel-admin-settings
    • > Warning in wp-content/plugins/convertix-pixel/admin/class-convertix-pixel-admin.php+353
    Use of undefined constant CONVERTIX_PIXEL_META_PIXEL_TOKEN_API_2 - assumed 'CONVERTIX_PIXEL_META_PIXEL_TOKEN_API_2' (this will throw an Error in a future version of PHP)
  • 19 occurences, only the last one shown
    • > GET request to /wp-admin/options-general.php?page=convertix-pixel-admin-settings
    • > Warning in wp-content/plugins/convertix-pixel/admin/class-convertix-pixel-admin.php+360
    Use of undefined constant CONVERTIX_PIXEL_META_PIXEL_TESTID_2 - assumed 'CONVERTIX_PIXEL_META_PIXEL_TESTID_2' (this will throw an Error in a future version of PHP)
  • 18 occurences, only the last one shown
    • > GET request to /wp-admin/options-general.php?page=convertix-pixel-admin-settings
    • > Warning in wp-content/plugins/convertix-pixel/admin/class-convertix-pixel-admin.php+367
    Use of undefined constant CONVERTIX_PIXEL_GOOGLE_UNIVERSAL_ANALYTICS_1 - assumed 'CONVERTIX_PIXEL_GOOGLE_UNIVERSAL_ANALYTICS_1' (this will throw an Error in a future version of PHP)
  • 17 occurences, only the last one shown
    • > GET request to /wp-admin/options-general.php?page=convertix-pixel-admin-settings
    • > Warning in wp-content/plugins/convertix-pixel/admin/class-convertix-pixel-admin.php+374
    Use of undefined constant CONVERTIX_PIXEL_GOOGLE_ANALYTICS4_1 - assumed 'CONVERTIX_PIXEL_GOOGLE_ANALYTICS4_1' (this will throw an Error in a future version of PHP)
  • 16 occurences, only the last one shown
    • > GET request to /wp-admin/options-general.php?page=convertix-pixel-admin-settings
    • > Warning in wp-content/plugins/convertix-pixel/admin/class-convertix-pixel-admin.php+381
    Use of undefined constant CONVERTIX_PIXEL_GOOGLE_ADWORDS_ID_1 - assumed 'CONVERTIX_PIXEL_GOOGLE_ADWORDS_ID_1' (this will throw an Error in a future version of PHP)
  • 15 occurences, only the last one shown
    • > GET request to /wp-admin/options-general.php?page=convertix-pixel-admin-settings
    • > Warning in wp-content/plugins/convertix-pixel/admin/class-convertix-pixel-admin.php+388
    Use of undefined constant CONVERTIX_PIXEL_GOOGLE_OPTIMIZE_1 - assumed 'CONVERTIX_PIXEL_GOOGLE_OPTIMIZE_1' (this will throw an Error in a future version of PHP)
  • 15 occurences, only the last one shown
    • > GET request to /wp-admin/options-general.php?page=convertix-pixel-admin-settings
    • > Warning in wp-content/plugins/convertix-pixel/admin/class-convertix-pixel-admin.php+395
    Use of undefined constant CONVERTIX_PIXEL_GOOGLE_ANTIFLICKERING_1 - assumed 'CONVERTIX_PIXEL_GOOGLE_ANTIFLICKERING_1' (this will throw an Error in a future version of PHP)
  • 13 occurences, only the last one shown
    • > GET request to /wp-admin/options-general.php?page=convertix-pixel-admin-settings
    • > Warning in wp-content/plugins/convertix-pixel/admin/class-convertix-pixel-admin.php+402
    Use of undefined constant CONVERTIX_PIXEL_TIKTOK_PIXEL_1 - assumed 'CONVERTIX_PIXEL_TIKTOK_PIXEL_1' (this will throw an Error in a future version of PHP)
  • 12 occurences, only the last one shown
    • > GET request to /wp-admin/options-general.php?page=convertix-pixel-admin-settings
    • > Warning in wp-content/plugins/convertix-pixel/admin/class-convertix-pixel-admin.php+409
    Use of undefined constant CONVERTIX_PIXEL_TIKTOK_PIXEL_TOKEN_API_1 - assumed 'CONVERTIX_PIXEL_TIKTOK_PIXEL_TOKEN_API_1' (this will throw an Error in a future version of PHP)
  • 11 occurences, only the last one shown
    • > GET request to /wp-admin/options-general.php?page=convertix-pixel-admin-settings
    • > Warning in wp-content/plugins/convertix-pixel/admin/class-convertix-pixel-admin.php+416
    Use of undefined constant CONVERTIX_PIXEL_TIKTOK_PIXEL_TESTID_1 - assumed 'CONVERTIX_PIXEL_TIKTOK_PIXEL_TESTID_1' (this will throw an Error in a future version of PHP)
  • 10 occurences, only the last one shown
    • > GET request to /wp-admin/options-general.php?page=convertix-pixel-admin-settings
    • > Warning in wp-content/plugins/convertix-pixel/admin/class-convertix-pixel-admin.php+423
    Use of undefined constant CONVERTIX_PIXEL_LINKEDIN_INSIGHT_TAG_1 - assumed 'CONVERTIX_PIXEL_LINKEDIN_INSIGHT_TAG_1' (this will throw an Error in a future version of PHP)
  • 9 occurences, only the last one shown
    • > GET request to /wp-admin/options-general.php?page=convertix-pixel-admin-settings
    • > Warning in wp-content/plugins/convertix-pixel/admin/class-convertix-pixel-admin.php+430
    Use of undefined constant CONVERTIX_PIXEL_ACTIVECAMPAIGN_PIXEL_1 - assumed 'CONVERTIX_PIXEL_ACTIVECAMPAIGN_PIXEL_1' (this will throw an Error in a future version of PHP)
  • 8 occurences, only the last one shown
    • > GET request to /wp-admin/options-general.php?page=convertix-pixel-admin-settings
    • > Warning in wp-content/plugins/convertix-pixel/admin/class-convertix-pixel-admin.php+437
    Use of undefined constant CONVERTIX_PIXEL_ACTIVECAMPAIGN_EVENTKEY_1 - assumed 'CONVERTIX_PIXEL_ACTIVECAMPAIGN_EVENTKEY_1' (this will throw an Error in a future version of PHP)
  • 7 occurences, only the last one shown
    • > GET request to /wp-admin/options-general.php?page=convertix-pixel-admin-settings
    • > Warning in wp-content/plugins/convertix-pixel/admin/class-convertix-pixel-admin.php+444
    Use of undefined constant CONVERTIX_PIXEL_SERVER_CONTAINER_URL - assumed 'CONVERTIX_PIXEL_SERVER_CONTAINER_URL' (this will throw an Error in a future version of PHP)
  • 6 occurences, only the last one shown
    • > GET request to /wp-admin/options-general.php?page=convertix-pixel-admin-settings
    • > Warning in wp-content/plugins/convertix-pixel/admin/class-convertix-pixel-admin.php+451
    Use of undefined constant CONVERTIX_PIXEL_CLIENT_EVENT - assumed 'CONVERTIX_PIXEL_CLIENT_EVENT' (this will throw an Error in a future version of PHP)
  • 5 occurences, only the last one shown
    • > GET request to /wp-admin/options-general.php?page=convertix-pixel-admin-settings
    • > Warning in wp-content/plugins/convertix-pixel/admin/class-convertix-pixel-admin.php+458
    Use of undefined constant CONVERTIX_PIXEL_CLIENT_VARIABLE - assumed 'CONVERTIX_PIXEL_CLIENT_VARIABLE' (this will throw an Error in a future version of PHP)
  • 4 occurences, only the last one shown
    • > GET request to /wp-admin/options-general.php?page=convertix-pixel-admin-settings
    • > Warning in wp-content/plugins/convertix-pixel/admin/class-convertix-pixel-admin.php+465
    Use of undefined constant CONVERTIX_PIXEL_CLIENT_TOKEN - assumed 'CONVERTIX_PIXEL_CLIENT_TOKEN' (this will throw an Error in a future version of PHP)
  • 3 occurences, only the last one shown
    • > GET request to /wp-admin/options-general.php?page=convertix-pixel-admin-settings
    • > Warning in wp-content/plugins/convertix-pixel/admin/class-convertix-pixel-admin.php+472
    Use of undefined constant CONVERTIX_PIXEL_WEB_CONTAINER_ID - assumed 'CONVERTIX_PIXEL_WEB_CONTAINER_ID' (this will throw an Error in a future version of PHP)
    • > GET request to /wp-admin/options-general.php?page=convertix-pixel-admin-settings
    • > Warning in wp-content/plugins/convertix-pixel/admin/class-convertix-pixel-admin.php+460
    Use of undefined constant CONVERTIX_CLIENT_EVENT - assumed 'CONVERTIX_CLIENT_EVENT' (this will throw an Error in a future version of PHP)

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
  • 1× GET requests to PHP files have triggered server-side errors or warnings:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/convertix-pixel/admin/partials/convertix-pixel-admin-display.php:23

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected

Optimizations

Plugin configuration 93% from 29 tests

readme.txt 94% from 16 tests

You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Attributes that need to be fixed:
  • Tags: You are using too many tags: 14 tag instead of maximum 10
Please take inspiration from this readme.txt

convertix-pixel/convertix-pixel.php 92% from 13 tests

The primary PHP file in "Convertix Pixel" version 1.4.1 is used by WordPress to initiate all plugin functionality
Please take the time to fix the following:
  • Text Domain: The text domain name should consist of only dashes and lowercase characters

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
Good job! No executable or dangerous file extensions detected699 lines of code in 12 files:
LanguageFilesBlank linesComment linesLines of code
PHP11221478688
XML13011

PHP code Passed 2 tests

This is a very shot review of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.18
Average class complexity7.00
▷ Minimum class complexity1.00
▷ Maximum class complexity30.00
Average method complexity2.31
▷ Minimum method complexity1.00
▷ Maximum method complexity27.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes7
▷ Abstract classes00.00%
▷ Concrete classes7100.00%
▷ Final classes00.00%
Methods32
▷ Static methods26.25%
▷ Public methods2268.75%
▷ Protected methods412.50%
▷ Private methods618.75%
Functions3
▷ Named functions3100.00%
▷ Anonymous functions00.00%
Constants33
▷ Global constants33100.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
No PNG images were found in this plugin