Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼0.23MB] [CPU: ▼297.85ms] Passed 4 tests
Server-side resources used by SendSquared - Email Marketing, Lead Generation, Popup & Post Emailer
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.68 ▲0.16 | 56.68 ▲6.25 |
Dashboard /wp-admin | 3.37 ▼0.04 | 23.24 ▼9.01 |
Posts /wp-admin/edit.php | 3.50 ▼0.14 | 26.25 ▼6.96 |
Add New Post /wp-admin/post-new.php | 6.15 ▼0.82 | 78.54 ▼1,173.22 |
Media Library /wp-admin/upload.php | 3.38 ▲0.08 | 20.69 ▼2.21 |
SendSquared /wp-admin/options-general.php?page=ad-base-wordpress-modal | 3.35 | 22.25 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 6 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
This is an overview of browser requirements for SendSquared - Email Marketing, Lead Generation, Popup & Post Emailer
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,808 ▲54 | 16.46 ▲0.79 | 6.83 ▲0.91 | 2.63 ▲0.04 |
Dashboard /wp-admin | 2,897 ▲43 | 6.10 ▼0.09 | 114.94 ▼23.16 | 153.75 ▼6.19 |
Posts /wp-admin/edit.php | 2,696 ▲8 | 3.23 ▼0.01 | 62.43 ▲0.24 | 138.75 ▲0.38 |
Add New Post /wp-admin/post-new.php | 1,664 ▲4 | 16.09 ▼0.83 | 398.76 ▼20.54 | 154.95 ▼6.90 |
Media Library /wp-admin/upload.php | 1,703 ▲5 | 5.50 ▲0.07 | 145.83 ▲3.91 | 192.17 ▲1.70 |
SendSquared /wp-admin/options-general.php?page=ad-base-wordpress-modal | 1,201 | 2.37 | 55.59 | 113.57 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The plugin uninstalled completely, with no zombie files or tables
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Smoke test failed, please fix the following
- > 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 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following items
- 4× GET requests to PHP files have triggered server-side errors or warnings:
- > 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: 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/settings.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need to be fixed:
- Tags: Please delete some tags, you are using 18 tag instead of maximum 10
adbase-ai-popup-growth/adbase-ai-modal.php 77% from 13 tests
This is the main PHP file of "SendSquared - Email Marketing, Lead Generation, Popup & Post Emailer" version 1.0.12, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
You should first fix the following items:
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("adbase-ai-popup-growth.php" instead of "adbase-ai-modal.php")
- Description: Please don't use more than 140 characters for the plugin description (currently 149 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
There were no executable files found in this plugin889 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
A short review of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG files were detected