Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼0.58MB] [CPU: ▼11.29ms] Passed 4 tests
A check of server-side resources used by Popup Lead - Optin Email Marketing Tool for WooCommerce and Wordpress
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.57 ▲0.10 | 44.29 ▲1.24 |
Dashboard /wp-admin | 3.42 ▲0.11 | 51.34 ▼1.55 |
Posts /wp-admin/edit.php | 3.53 ▲0.17 | 68.26 ▲15.38 |
Add New Post /wp-admin/post-new.php | 3.27 ▼2.63 | 43.25 ▼49.27 |
Media Library /wp-admin/upload.php | 3.34 ▲0.11 | 46.29 ▲4.43 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 25 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
can_compress_scripts |
mikehit_display_options |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for Popup Lead - Optin Email Marketing Tool for WooCommerce and Wordpress
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,928 ▲139 | 13.73 ▲0.42 | 6.06 ▲1.15 | 44.52 ▲5.18 |
Dashboard /wp-admin | 2,226 ▲20 | 4.86 ▼1.19 | 110.72 ▲13.98 | 38.28 ▲0.90 |
Posts /wp-admin/edit.php | 2,109 ▲17 | 2.00 ▼0.01 | 39.88 ▲4.86 | 34.25 ▼3.06 |
Add New Post /wp-admin/post-new.php | 1,384 ▼158 | 17.60 ▼0.79 | 706.55 ▲40.78 | 45.76 ▼32.94 |
Media Library /wp-admin/upload.php | 1,408 ▲23 | 4.23 ▲0.00 | 96.19 ▼8.12 | 42.94 ▼2.43 |
Uninstaller [IO: ✅] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- This plugin did not uninstall successfully, leaving 7 options in the database
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
- mikehit_display_options
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please take a closer look at the following
- 2× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/popup-lead/public/partials/popup-lead-public-display.php
- > /wp-content/plugins/popup-lead/admin/partials/popup-lead-admin-display.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
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
These attributes need your attention:
- Screenshots: No descriptions were found for these screenshots #3, #4, #5 in popup-lead/assets to your readme.txt
popup-lead/popup-lead.php Passed 13 tests
The main file in "Popup Lead - Optin Email Marketing Tool for WooCommerce and Wordpress" v. 1.1.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
113 characters long description:
Tools to boost your marketing and lead gen efforts. Using popup lead is a to to increase your site's conversions!
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
Good job! No executable or dangerous file extensions detected483 lines of code in 18 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 13 | 210 | 638 | 441 |
PO File | 1 | 11 | 11 | 36 |
JavaScript | 2 | 2 | 27 | 6 |
CSS | 2 | 0 | 8 | 0 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.19 |
Average class complexity | 4.12 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 24.00 |
Average method complexity | 1.57 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 12.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 44 | |
▷ Static methods | 2 | 4.55% |
▷ Public methods | 38 | 86.36% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 6 | 13.64% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
PNG images were not found in this plugin