89% pixi-contact-form-for-elementor

Code Review | Pixi Contact Form For Elementor

WordPress plugin Pixi Contact Form For Elementor scored89%from 54 tests.

About plugin

  • Plugin page: pixi-contact-form...
  • Plugin version: 1.0.1
  • PHP compatiblity: 7.2+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.7-6.3
  • WordPress version: 6.3.1
  • First release: May 17, 2022
  • Latest release: Oct 23, 2023
  • Number of updates: 5
  • Update frequency: every 104.8 days
  • Top authors: pxelcode (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /325 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
Installer ran successfully

Server metrics [RAM: ▲0.04MB] [CPU: ▼8.34ms] Passed 4 tests

This is a short check of server-side resources used by Pixi Contact Form For Elementor
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.52 ▲0.0635.96 ▼1.45
Dashboard /wp-admin3.36 ▲0.0142.24 ▼18.92
Posts /wp-admin/edit.php3.47 ▲0.1241.68 ▼1.91
Add New Post /wp-admin/post-new.php5.94 ▲0.0581.19 ▼11.06
Media Library /wp-admin/upload.php3.28 ▲0.0538.03 ▲6.92

Server storage [IO: ▲0.07MB] [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: 13 new files
Database: no new tables, 6 new options
New WordPress options
widget_theysaidso_widget
can_compress_scripts
widget_recent-comments
theysaidso_admin_options
widget_recent-posts
db_upgraded

Browser metrics Passed 4 tests

Checking browser requirements for Pixi Contact Form For Elementor
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,831 ▲7014.18 ▲0.231.91 ▲0.3139.85 ▼3.05
Dashboard /wp-admin2,209 ▲355.56 ▲0.0380.95 ▼5.4639.06 ▼4.66
Posts /wp-admin/edit.php2,096 ▼42.05 ▲0.0434.20 ▼3.1834.38 ▼0.63
Add New Post /wp-admin/post-new.php1,542 ▲1423.30 ▲0.23693.95 ▲14.3671.58 ▲19.24
Media Library /wp-admin/upload.php1,420 ▲174.21 ▲0.04101.63 ▲0.1441.34 ▼5.11

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

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
  • The uninstall procedure has failed, leaving 6 options in the database
    • widget_theysaidso_widget
    • widget_recent-comments
    • theysaidso_admin_options
    • can_compress_scripts
    • widget_recent-posts
    • db_upgraded

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means an exhaustive test

SRP Passed 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
No output text or server-side errors detected on direct access of PHP files

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found

Optimizations

Plugin configuration 86% from 29 tests

readme.txt 94% from 16 tests

Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Please fix the following attributes: Please take inspiration from this readme.txt

pixi-contact-form-for-elementor/pixi-contactform.php 77% from 13 tests

The main PHP script in "Pixi Contact Form For Elementor" version 1.0.1 is automatically included on every request by WordPress
Please make the necessary changes and fix the following:
  • Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
  • Main file name: It is recommended to name the main PHP file as the plugin slug ("pixi-contact-form-for-elementor.php" instead of "pixi-contactform.php")
  • Domain Path: The domain path points to a folder that does not exist ("/languages")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Everything looks great! No dangerous files found in this plugin1,444 lines of code in 11 files:
LanguageFilesBlank linesComment linesLines of code
PHP103255171,399
CSS112345

PHP code Passed 2 tests

This is a short overview of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.14
Average class complexity4.75
▷ Minimum class complexity1.00
▷ Maximum class complexity11.00
Average method complexity1.60
▷ Minimum method complexity1.00
▷ Maximum method complexity4.00
Code structure
Namespaces1
Interfaces0
Traits0
Classes8
▷ Abstract classes00.00%
▷ Concrete classes8100.00%
▷ Final classes112.50%
Methods46
▷ Static methods36.52%
▷ Public methods3984.78%
▷ Protected methods48.70%
▷ Private methods36.52%
Functions7
▷ Named functions457.14%
▷ Anonymous functions342.86%
Constants4
▷ Global constants125.00%
▷ Class constants375.00%
▷ Public constants3100.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

PNG files should be compressed to save space and minimize bandwidth usage
There are no PNG files in this plugin