90% popup-trigger-url-for-elementor-pro

Code Review | Popup Trigger URL for Elementor Pro

WordPress plugin Popup Trigger URL for Elementor Pro scored 90% from 54 tests.

About plugin

  • Plugin page: popup-trigger-url...
  • Plugin version: 1.0.5
  • PHP compatiblity: 5.4+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.6-5.4
  • WordPress version: 6.3.1
  • First release: Jan 28, 2019
  • Latest release: Jun 16, 2020
  • Number of updates: 15
  • Update frequency: every 33.7 days
  • Top authors: sukiwp (100%)

Code review

54 tests

User reviews

19 reviews

Install metrics

10,000+ active / 64,701 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors

Server metrics [RAM: ▲0.00MB] [CPU: ▼1.94ms] Passed 4 tests

A check of server-side resources used by Popup Trigger URL for Elementor Pro
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.46 ▲0.0040.69 ▼3.51
Dashboard /wp-admin3.31 ▲0.0047.55 ▼2.16
Posts /wp-admin/edit.php3.36 ▲0.0043.80 ▼2.45
Add New Post /wp-admin/post-new.php5.89 ▲0.0091.85 ▲6.49
Media Library /wp-admin/upload.php3.23 ▲0.0036.50 ▲0.35

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

How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options
widget_theysaidso_widget
theysaidso_admin_options
widget_recent-posts
db_upgraded
widget_recent-comments
can_compress_scripts

Browser metrics Passed 4 tests

Checking browser requirements for Popup Trigger URL for Elementor Pro
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲4313.21 ▼1.161.82 ▼0.2144.06 ▼10.36
Dashboard /wp-admin2,209 ▲215.92 ▲1.0699.53 ▼2.5940.91 ▲0.57
Posts /wp-admin/edit.php2,092 ▲31.97 ▼0.0437.16 ▼1.5531.47 ▼2.28
Add New Post /wp-admin/post-new.php1,533 ▲523.35 ▲5.29643.65 ▲47.8156.15 ▲9.42
Media Library /wp-admin/upload.php1,382 ▼94.23 ▲0.0498.76 ▲0.8642.24 ▼0.90

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
  • Zombie WordPress options were found after uninstall: 6 options
    • db_upgraded
    • widget_recent-posts
    • widget_theysaidso_widget
    • can_compress_scripts
    • widget_recent-comments
    • theysaidso_admin_options

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)
The smoke test was a success, however most plugin functionality was not tested

SRP Passed 2 tests

🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Looking good! No server-side errors or output 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 97% from 29 tests

readme.txt 94% from 16 tests

Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Attributes that need to be fixed:
  • Tags: Please add at least on tag
The official readme.txt might help

popup-trigger-url-for-elementor-pro/popup-trigger-url-for-elementor-pro.php Passed 13 tests

The main PHP script in "Popup Trigger URL for Elementor Pro" version 1.0.5 is automatically included on every request by WordPress
100 characters long description:
Helps you to trigger Elementor Pro's popups (open, close, or toggle) from menus or any kind of link.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Everything looks great! No dangerous files found in this plugin97 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP1155697

PHP code Passed 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity
Average complexity per logical line of code0.45
Average class complexity13.00
▷ Minimum class complexity13.00
▷ Maximum class complexity13.00
Average method complexity3.00
▷ Minimum method complexity1.00
▷ Maximum method complexity6.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods6
▷ Static methods116.67%
▷ Public methods583.33%
▷ Protected methods116.67%
▷ Private methods00.00%
Functions1
▷ Named functions1100.00%
▷ Anonymous functions00.00%
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
There are no PNG files in this plugin