Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.07MB] [CPU: ▼1.97ms] Passed 4 tests
Analyzing server-side resources used by Paloma Widget
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 41.73 ▲3.64 |
Dashboard /wp-admin | 3.37 ▲0.07 | 45.97 ▼2.52 |
Posts /wp-admin/edit.php | 3.42 ▲0.07 | 51.26 ▲6.64 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.07 | 84.83 ▼9.89 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 35.97 ▲0.89 |
Paloma Widget /wp-admin/options-general.php?page=paloma-widget-options | 3.32 | 35.66 |
Server storage [IO: ▲0.74MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 27 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
widget_recent-comments |
widget_paloma_newsletter_widget |
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for Paloma Widget
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,885 ▲139 | 13.99 ▼0.37 | 5.07 ▲3.25 | 40.76 ▲3.75 |
Dashboard /wp-admin | 2,210 ▲33 | 5.90 ▲0.01 | 110.52 ▼13.18 | 43.20 ▼3.53 |
Posts /wp-admin/edit.php | 2,093 ▲18 | 2.06 ▲0.04 | 38.93 ▼2.18 | 34.30 ▼5.40 |
Add New Post /wp-admin/post-new.php | 1,540 ▲13 | 23.25 ▲0.15 | 665.17 ▼43.32 | 59.61 ▲13.95 |
Media Library /wp-admin/upload.php | 1,389 ▲4 | 4.21 ▼0.15 | 103.94 ▼17.09 | 46.15 ▲1.08 |
Paloma Widget /wp-admin/options-general.php?page=paloma-widget-options | 821 | 2.04 | 25.94 | 26.24 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- Zombie WordPress options were found after uninstall: 7 options
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- widget_paloma_newsletter_widget
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/postman-widget/apiwrapper.php
- 17× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/postman-widget/paloma_widget.php:29
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_enqueue_script() in wp-content/plugins/postman-widget/form.php:18
- > PHP Fatal error
Uncaught Error: Class 'nusoap_base' not found in wp-content/plugins/postman-widget/lib/class.soap_transport_http.php:15
- > PHP Fatal error
Uncaught Error: Class 'nusoap_base' not found in wp-content/plugins/postman-widget/lib/class.xmlschema.php:15
- > PHP Fatal error
Uncaught Error: Class 'nusoap_base' not found in wp-content/plugins/postman-widget/lib/class.soap_fault.php:14
- > PHP Fatal error
Uncaught Error: Class 'nusoap_base' not found in wp-content/plugins/postman-widget/lib/class.soap_parser.php:15
- > PHP Fatal error
Uncaught Error: Class 'nusoap_base' not found in wp-content/plugins/postman-widget/lib/class.wsdl.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_enqueue_script() in wp-content/plugins/postman-widget/contact_form.php:18
- > PHP Notice
Undefined index: email in wp-content/plugins/postman-widget/apiwrapper.php on line 22
- > PHP Warning
require_once(Mail/mimeDecode.php): failed to open stream: No such file or directory in wp-content/plugins/postman-widget/lib/nusoapmime.php on line 42
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
8 plugin tags: email marketing, serviceware, prenumerationsruta nyhetsbrev, service, e-postmarknadsfring...
postman-widget/paloma_widget.php 92% from 13 tests
The main file in "Paloma Widget" v. 1.14 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please take the time to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("postman-widget.php" instead of "paloma_widget.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
No dangerous file extensions were detected12,470 lines of code in 23 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 20 | 1,035 | 5,230 | 12,228 |
PO File | 1 | 86 | 98 | 198 |
CSS | 1 | 7 | 0 | 33 |
JavaScript | 1 | 1 | 0 | 11 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.48 |
Average class complexity | 77.66 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 388.00 |
Average method complexity | 9.20 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 82.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 35 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 35 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 327 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 327 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 13 | |
▷ Named functions | 13 | 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
PNG files should be compressed to save space and minimize bandwidth usage
PNG images were not found in this plugin