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.37MB] [CPU: ▼4.89ms] Passed 4 tests
Server-side resources used by Spotler Mail+ Forms
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.85 ▲0.39 | 51.96 ▼13.70 |
Dashboard /wp-admin | 3.70 ▲0.40 | 54.50 ▲4.57 |
Posts /wp-admin/edit.php | 3.76 ▲0.40 | 53.59 ▲0.23 |
Add New Post /wp-admin/post-new.php | 6.24 ▲0.36 | 87.34 ▼7.72 |
Media Library /wp-admin/upload.php | 3.57 ▲0.34 | 39.20 ▲1.63 |
Spotler Mail+ Forms /wp-admin/options-general.php?page=spotler_forms | 3.53 | 35.34 |
Server storage [IO: ▲0.91MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 202 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
spotler_settings_migrated |
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for Spotler Mail+ Forms
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,795 ▲34 | 14.35 ▼0.01 | 2.19 ▲0.47 | 45.65 ▲1.86 |
Dashboard /wp-admin | 2,201 ▲21 | 5.64 ▼0.02 | 104.42 ▲14.78 | 42.45 ▲3.03 |
Posts /wp-admin/edit.php | 2,106 ▲6 | 1.98 ▼0.01 | 36.10 ▼0.42 | 35.75 ▼1.09 |
Add New Post /wp-admin/post-new.php | 6,193 ▲4,667 | 19.53 ▼3.49 | 913.44 ▲253.35 | 55.90 ▲5.46 |
Media Library /wp-admin/upload.php | 1,406 ▲6 | 4.18 ▼0.01 | 99.40 ▼2.37 | 47.38 ▲2.31 |
Spotler Mail+ Forms /wp-admin/options-general.php?page=spotler_forms | 883 | 2.04 | 25.38 | 29.84 |
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
- Zombie WordPress options were found after uninstall: 7 options
- widget_theysaidso_widget
- can_compress_scripts
- spotler_settings_migrated
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not 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 fix the following items
- 61× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Http\\Message\\StreamInterface' not found in wp-content/plugins/mailplus-forms/vendor/guzzlehttp/psr7/src/NoSeekStream.php:12
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Http\\Client\\ClientExceptionInterface' not found in wp-content/plugins/mailplus-forms/vendor/guzzlehttp/guzzle/src/Exception/GuzzleException.php:7
- > PHP Fatal error
Uncaught Error: Class 'GuzzleHttp\\Cookie\\CookieJar' not found in wp-content/plugins/mailplus-forms/vendor/guzzlehttp/guzzle/src/Cookie/SessionCookieJar.php:8
- > PHP Fatal error
Uncaught Error: Class 'SpotlerAbstract' not found in wp-content/plugins/mailplus-forms/general/classes/Api.class.php:17
- > PHP Fatal error
Uncaught Error: Class 'SpotlerAbstract' not found in wp-content/plugins/mailplus-forms/general/classes/TinyMCE.class.php:9
- > PHP Fatal error
Uncaught Error: Class 'SpotlerAbstract' not found in wp-content/plugins/mailplus-forms/general/classes/Ajax.class.php:7
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Http\\Message\\MessageInterface' not found in wp-content/plugins/mailplus-forms/vendor/psr/http-message/src/ResponseInterface.php:20
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Http\\Client\\ClientExceptionInterface' not found in wp-content/plugins/mailplus-forms/vendor/psr/http-client/src/RequestExceptionInterface.php:14
- > PHP Fatal error
Uncaught Error: Interface 'GuzzleHttp\\BodySummarizerInterface' not found in wp-content/plugins/mailplus-forms/vendor/guzzlehttp/guzzle/src/BodySummarizer.php:7
- > PHP Fatal error
Uncaught Error: Class 'SpotlerAbstract' not found in wp-content/plugins/mailplus-forms/general/classes/Form.class.php:6
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Please take a look at the following user-side issues
- > GET request to /wp-admin/options-general.php?page=spotler_forms
- > Javascript (severe) in unknown
/wp-content/plugins/mailplus-forms/admin/assets/js/gutenberg_plugin.js?ver=1690266142 1:21 Uncaught TypeError: Cannot read properties of undefined (reading 'createElement')
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
4 plugin tags: mailplus, forms, spotler mail forms, spotler
mailplus-forms/mailplus-forms.php 92% from 13 tests
The main PHP script in "Spotler Mail+ Forms" version 1.2.5 is automatically included on every request by WordPress
The following require your attention:
- Description: Please don't use more than 140 characters for the plugin description (currently 924 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
No dangerous file extensions were detected16,176 lines of code in 178 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 143 | 2,323 | 6,061 | 11,075 |
Markdown | 16 | 1,268 | 0 | 3,646 |
JSON | 11 | 0 | 0 | 1,109 |
JavaScript | 3 | 36 | 7 | 183 |
PO File | 1 | 27 | 39 | 67 |
CSS | 1 | 15 | 0 | 62 |
reStructuredText | 1 | 32 | 60 | 18 |
make | 1 | 4 | 0 | 9 |
YAML | 1 | 0 | 0 | 7 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
Average class complexity | 12.17 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 88.00 |
Average method complexity | 2.78 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 26.00 |
Code structure | ||
---|---|---|
Namespaces | 17 | |
Interfaces | 26 | |
Traits | 3 | |
Classes | 98 | |
▷ Abstract classes | 1 | 1.02% |
▷ Concrete classes | 97 | 98.98% |
▷ Final classes | 35 | 36.08% |
Methods | 815 | |
▷ Static methods | 154 | 18.90% |
▷ Public methods | 680 | 83.44% |
▷ Protected methods | 5 | 0.61% |
▷ Private methods | 130 | 15.95% |
Functions | 129 | |
▷ Named functions | 37 | 28.68% |
▷ Anonymous functions | 92 | 71.32% |
Constants | 80 | |
▷ Global constants | 4 | 5.00% |
▷ Class constants | 76 | 95.00% |
▷ Public constants | 65 | 85.53% |
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
2 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/assets/images/spotler-icon.png | 1.30KB | 0.60KB | ▼ 54.04% |
admin/assets/images/spotler.png | 4.73KB | 3.74KB | ▼ 21.04% |