99% happy-elementor-cf7

Code Review | Advanced Contact Form 7 Designer For Elementor

WordPress plugin Advanced Contact Form 7 Designer For Elementor scored 99% from 54 tests.

About plugin

  • Plugin page: happy-elementor-cf7
  • Plugin version: 0.0.1
  • PHP compatiblity: 5.4+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.5-5.0.3
  • WordPress version: 5.8.1
  • First release: Mar 3, 2019
  • Latest release: Mar 4, 2019
  • Number of updates: 6
  • Update frequency: every 0.2 days
  • Top authors: thehappymonster (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 393 total downloads

Benchmarks

Plugin footprint Passed 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 successfully, without throwing any errors or notices

Server metrics [RAM: ▲0.03MB] [CPU: ▼136.40ms] Passed 4 tests

Analyzing server-side resources used by Advanced Contact Form 7 Designer For Elementor
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /2.87 ▲0.1533.26 ▲11.49
Dashboard /wp-admin3.09 ▲0.0348.92 ▲15.66
Posts /wp-admin/edit.php3.14 ▲0.0343.86 ▲1.77
Add New Post /wp-admin/post-new.php5.45 ▲0.0187.78 ▼555.64
Media Library /wp-admin/upload.php3.03 ▲0.0330.54 ▼3.20

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

Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 7 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

Advanced Contact Form 7 Designer For Elementor: an overview of browser usage
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,701 ▲10515.85 ▲0.308.51 ▼0.0044.85 ▼0.39
Dashboard /wp-admin2,995 ▲615.97 ▼0.00157.82 ▲12.59115.86 ▲5.55
Posts /wp-admin/edit.php2,762 ▲232.68 ▲0.0169.28 ▲0.8690.72 ▲4.17
Add New Post /wp-admin/post-new.php1,684 ▼18818.86 ▼0.25367.08 ▲2.68109.54 ▼7.54
Media Library /wp-admin/upload.php1,830 ▲235.12 ▲0.10150.32 ▼4.70128.23 ▲1.87

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Uninstall script ran successfully

Smoke tests Passed 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)
Good news, no errors were detected

SRP Passed 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
Congratulations! This plugin passed the SRP test

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found

Optimizations

Plugin configuration 90% from 29 tests

readme.txt Passed 16 tests

The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
5 plugin tags: contact form 7, form designer, widget, cf7, elementor

happy-elementor-cf7/plugin.php 77% from 13 tests

This is the main PHP file of "Advanced Contact Form 7 Designer For Elementor" version 0.0.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please make the necessary changes and fix the following:
  • Domain Path: The domain path folder does not exist ("/languages/")
  • Text Domain: The text domain follows the same naming rules as the plugin slug: lowercase characters and dashes
  • Main file name: The principal plugin file should be the same as the plugin slug ("happy-elementor-cf7.php" instead of "plugin.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
No dangerous file extensions were detected636 lines of code in 5 files:
LanguageFilesBlank linesComment linesLines of code
PHP5115169636

PHP code Passed 2 tests

A short review of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.18
Average class complexity5.00
▷ Minimum class complexity1.00
▷ Maximum class complexity12.00
Average method complexity1.57
▷ Minimum method complexity1.00
▷ Maximum method complexity6.00
Code structure
Namespaces2
Interfaces0
Traits0
Classes3
▷ Abstract classes133.33%
▷ Concrete classes266.67%
▷ Final classes00.00%
Methods21
▷ Static methods14.76%
▷ Public methods1780.95%
▷ Protected methods314.29%
▷ Private methods14.76%
Functions4
▷ Named functions375.00%
▷ Anonymous functions125.00%
Constants3
▷ Global constants00.00%
▷ Class constants3100.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 were not PNG files found in your plugin