Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully
Server metrics [RAM: ▼0.06MB] [CPU: ▼9.99ms] Passed 4 tests
A check of server-side resources used by SendSquared - Email Marketing, Lead Generation, Popup & Post Emailer
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.57 ▲0.10 | 35.79 ▼5.88 |
Dashboard /wp-admin | 3.31 ▼0.00 | 40.41 ▼10.25 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 38.50 ▼6.92 |
Add New Post /wp-admin/post-new.php | 5.55 ▼0.34 | 70.40 ▼16.89 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 32.29 ▲0.29 |
SendSquared /wp-admin/options-general.php?page=ad-base-wordpress-modal | 3.28 | 30.02 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
SendSquared - Email Marketing, Lead Generation, Popup & Post Emailer: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,861 ▲126 | 13.41 ▼0.97 | 17.17 ▲15.45 | 40.84 ▼9.79 |
Dashboard /wp-admin | 2,210 ▲22 | 4.83 ▼0.07 | 103.90 ▼8.69 | 42.07 ▼5.04 |
Posts /wp-admin/edit.php | 2,093 ▲1 | 2.05 ▲0.06 | 33.27 ▼6.15 | 32.23 ▼2.44 |
Add New Post /wp-admin/post-new.php | 1,536 ▼7 | 23.18 ▲4.93 | 642.14 ▼14.83 | 44.99 ▼10.59 |
Media Library /wp-admin/upload.php | 1,392 ▲1 | 4.19 ▼0.11 | 95.18 ▼2.10 | 44.99 ▲0.57 |
SendSquared /wp-admin/options-general.php?page=ad-base-wordpress-modal | 919 | 2.06 | 23.08 | 26.87 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
These server-side errors were triggered
- > GET request to /wp-admin/options-general.php?page=ad-base-wordpress-modal
- > Warning in wp-content/plugins/adbase-ai-popup-growth/adbase-ai-modal.php+76
include_once(wp-content/plugins/adbase-ai-popup-growth//views/dashboard-notices.php): failed to open stream: No such file or directory
- > GET request to /wp-admin/options-general.php?page=ad-base-wordpress-modal
- > Warning in wp-content/plugins/adbase-ai-popup-growth/adbase-ai-modal.php+76
include_once(): Failed opening 'wp-content/plugins/adbase-ai-popup-growth//views/dashboard-notices.php' for inclusion (include_path='.:/usr/share/php')
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 fix the following
- 4× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/adbase-ai-popup-growth/views/sidebar.php:9
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/adbase-ai-popup-growth/views/dashboard_notices.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/adbase-ai-popup-growth/adbase-ai-modal.php:44
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/adbase-ai-popup-growth/views/settings.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 86% 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 your attention:
- Tags: Please reduce the number of tags, currently 18 tag instead of maximum 10
adbase-ai-popup-growth/adbase-ai-modal.php 77% from 13 tests
"SendSquared - Email Marketing, Lead Generation, Popup & Post Emailer" version 1.0.12'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:
- Description: Please keep the plugin description shorter than 140 characters (currently 149 characters long)
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
- Main file name: Name the main plugin file the same as the plugin slug ("adbase-ai-popup-growth.php" instead of "adbase-ai-modal.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
No dangerous file extensions were detected889 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 100 | 151 | 889 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 63.00 |
▷ Minimum class complexity | 63.00 |
▷ Maximum class complexity | 63.00 |
Average method complexity | 4.44 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 26.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 18 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 13 | 72.22% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 27.78% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There are no PNG files in this plugin