84% integration-for-elementor-forms-asana

Code Review | Integration for Elementor forms - Asana

WordPress plugin Integration for Elementor forms - Asana scored84%from 54 tests.

About plugin

  • Plugin page: integration-for-e...
  • Plugin version: 1.0.6
  • PHP compatiblity: 7.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.0-6.3
  • WordPress version: 6.3.1
  • First release: Jan 25, 2022
  • Latest release: Jul 23, 2023
  • Number of updates: 11
  • Update frequency: every 49.5 days
  • Top authors: webtica (100%)

Code review

54 tests

User reviews

1 review

Install metrics

40+ active /807 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

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

Server metrics [RAM: ▲0.01MB] [CPU: ▼5.47ms] Passed 4 tests

An overview of server-side resources used by Integration for Elementor forms - Asana
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0148.22 ▲7.15
Dashboard /wp-admin3.31 ▲0.0152.03 ▲2.75
Posts /wp-admin/edit.php3.37 ▲0.0148.66 ▼4.75
Add New Post /wp-admin/post-new.php5.90 ▲0.0185.03 ▼16.86
Media Library /wp-admin/upload.php3.24 ▲0.0136.12 ▼3.02

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

Browser metrics Passed 4 tests

An overview of browser requirements for Integration for Elementor forms - Asana
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,797 ▲3614.33 ▼0.212.12 ▲0.3237.64 ▼2.47
Dashboard /wp-admin2,203 ▲265.65 ▲0.1091.70 ▲1.2452.86 ▲7.85
Posts /wp-admin/edit.php2,108 ▲52.02 ▲0.0137.36 ▼2.0337.76 ▼1.50
Add New Post /wp-admin/post-new.php1,536 ▲1022.88 ▼0.85602.81 ▼100.6349.94 ▼5.08
Media Library /wp-admin/upload.php1,411 ▲114.32 ▲0.1298.76 ▼7.6944.59 ▼3.87

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
  • This plugin does not fully uninstall, leaving 6 options in the database
    • db_upgraded
    • can_compress_scripts
    • theysaidso_admin_options
    • widget_recent-posts
    • widget_theysaidso_widget
    • widget_recent-comments

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected

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 take a closer look at the following
  • 1× PHP files trigger server-side errors or warnings when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/integration-for-elementor-forms-asana/includes/settings.php:10

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 93% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
These attributes need to be fixed:
  • Tags: You are using too many tags: 12 tag instead of maximum 10
Please take inspiration from this readme.txt

integration-for-elementor-forms-asana/asana-elementor-integration.php 92% from 13 tests

"Integration for Elementor forms - Asana" version 1.0.6's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please take the time to fix the following:
  • Main file name: The principal plugin file should be the same as the plugin slug ("integration-for-elementor-forms-asana.php" instead of "asana-elementor-integration.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
Success! There were no dangerous files found in this plugin270 lines of code in 5 files:
LanguageFilesBlank linesComment linesLines of code
PHP43667212
Markdown123058

PHP code Passed 2 tests

This plugin's cyclomatic complexity and code structure detailed below
Everything seems fine, there were no complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.26
Average class complexity8.00
▷ Minimum class complexity8.00
▷ Maximum class complexity8.00
Average method complexity2.40
▷ Minimum method complexity1.00
▷ Maximum method complexity8.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods5
▷ Static methods00.00%
▷ Public methods5100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions3
▷ Named functions266.67%
▷ Anonymous functions133.33%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG images were found in this plugin