Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.23MB] [CPU: ▼3.43ms] Passed 4 tests
A check of server-side resources used by SprayPay - Gespreid betalen
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.68 ▲0.22 | 40.11 ▼4.19 |
Dashboard /wp-admin | 3.54 ▲0.24 | 51.05 ▼2.17 |
Posts /wp-admin/edit.php | 3.65 ▲0.30 | 49.83 ▼3.62 |
Add New Post /wp-admin/post-new.php | 6.12 ▲0.24 | 96.89 ▲2.79 |
Media Library /wp-admin/upload.php | 3.46 ▲0.24 | 35.02 ▼3.75 |
Server storage [IO: ▲0.39MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 45 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
spray_pay_settings |
widget_recent-posts |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for SprayPay - Gespreid betalen
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.38 ▼1.05 | 1.66 ▼0.12 | 42.24 ▼3.28 |
Dashboard /wp-admin | 2,203 ▲18 | 4.88 ▼1.06 | 111.35 ▼3.34 | 40.77 ▼2.66 |
Posts /wp-admin/edit.php | 2,092 ▼0 | 1.99 ▲0.01 | 39.26 ▼3.39 | 34.02 ▼0.32 |
Add New Post /wp-admin/post-new.php | 1,532 ▼1 | 23.18 ▼0.12 | 637.74 ▼19.49 | 50.11 ▼8.51 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.19 ▼0.01 | 94.80 ▼16.06 | 40.21 ▼7.03 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- Zombie WordPress options were found after uninstall: 7 options
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
- spray_pay_settings
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for 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 fix the following items
- 19× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Interface 'Mustache_Exception' not found in wp-content/plugins/spraypay/includes/vendors/Mustache/Exception/LogicException.php:15
- > PHP Fatal error
Uncaught Error: Interface 'Mustache_Loader' not found in wp-content/plugins/spraypay/includes/vendors/Mustache/Loader/ArrayLoader.php:27
- > PHP Fatal error
Uncaught Error: Interface 'Mustache_Exception' not found in wp-content/plugins/spraypay/includes/vendors/Mustache/Exception/SyntaxException.php:15
- > PHP Fatal error
Uncaught Error: Interface 'Mustache_Exception' not found in wp-content/plugins/spraypay/includes/vendors/Mustache/Exception/RuntimeException.php:15
- > PHP Fatal error
Uncaught Error: Interface 'Mustache_Loader' not found in wp-content/plugins/spraypay/includes/vendors/Mustache/Loader/FilesystemLoader.php:27
- > PHP Fatal error
Uncaught Error: Interface 'Mustache_Loader' not found in wp-content/plugins/spraypay/includes/vendors/Mustache/Loader/InlineLoader.php:50
- > PHP Fatal error
Uncaught Error: Interface 'Mustache_Loader' not found in wp-content/plugins/spraypay/includes/vendors/Mustache/Loader/CascadingLoader.php:16
- > PHP Fatal error
Uncaught Error: Interface 'Mustache_Logger' not found in wp-content/plugins/spraypay/includes/vendors/Mustache/Logger/AbstractLogger.php:21
- > PHP Fatal error
Uncaught Error: Interface 'Mustache_Exception' not found in wp-content/plugins/spraypay/includes/vendors/Mustache/Exception/UnknownTemplateException.php:15
- > PHP Fatal error
Uncaught Error: Interface 'Mustache_Loader' not found in wp-content/plugins/spraypay/includes/vendors/Mustache/Loader/StringLoader.php:26
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
1 plugin tags: price
spraypay/index.php 85% from 13 tests
The main PHP script in "SprayPay - Gespreid betalen" version 1.0.7 is automatically included on every request by WordPress
It is important to fix the following:
- Requires at least: The required version number did not match the one declared in readme.txt ("5.4" instead of "4.9")
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("spraypay.php" instead of "index.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Everything looks great! No dangerous files found in this plugin2,913 lines of code in 41 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 37 | 643 | 2,260 | 2,909 |
CSS | 2 | 2 | 0 | 2 |
JavaScript | 2 | 0 | 1 | 2 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 10.43 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 79.00 |
Average method complexity | 2.71 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 34.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 6 | |
Traits | 0 | |
Classes | 29 | |
▷ Abstract classes | 3 | 10.34% |
▷ Concrete classes | 26 | 89.66% |
▷ Final classes | 1 | 3.85% |
Methods | 209 | |
▷ Static methods | 6 | 2.87% |
▷ Public methods | 155 | 74.16% |
▷ Protected methods | 15 | 7.18% |
▷ Private methods | 39 | 18.66% |
Functions | 11 | |
▷ Named functions | 10 | 90.91% |
▷ Anonymous functions | 1 | 9.09% |
Constants | 64 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 64 | 100.00% |
▷ Public constants | 64 | 100.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
PNG images were not found in this plugin