Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼2.15ms] Passed 4 tests
An overview of server-side resources used by Pronamic Pay with Mollie for Contact Form 7
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 39.37 ▼0.16 |
Dashboard /wp-admin | 3.31 ▲0.00 | 42.50 ▼2.93 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 45.65 ▼1.20 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 89.89 ▼4.29 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 37.13 ▲7.12 |
Server storage [IO: ▲12.53MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 929 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Pronamic Pay with Mollie for Contact Form 7
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,790 ▲43 | 14.67 ▲0.40 | 1.90 ▲0.19 | 44.01 ▲7.29 |
Dashboard /wp-admin | 2,198 ▲24 | 5.58 ▼0.07 | 82.70 ▼13.57 | 39.31 ▼7.34 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.00 ▼0.01 | 39.12 ▲4.47 | 37.12 ▼1.20 |
Add New Post /wp-admin/post-new.php | 1,526 ▼9 | 23.14 ▼2.05 | 664.77 ▲65.86 | 51.18 ▼17.58 |
Media Library /wp-admin/upload.php | 1,403 ▼0 | 4.21 ▲0.04 | 101.97 ▼0.68 | 43.93 ▼2.09 |
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
The following items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though everything seems fine, this is not an exhaustive test
SRP 50% 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 items
- 219× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'CronExpression_AbstractField' not found in wp-content/plugins/pronamic-pay-with-mollie-for-contact-form-7/packages/woocommerce/action-scheduler/lib/cron-expression/CronExpression_DayOfMonthField.php:21
- > PHP Fatal error
Uncaught Error: Class 'JsonSchema\\Exception\\RuntimeException' not found in wp-content/plugins/pronamic-pay-with-mollie-for-contact-form-7/vendor/justinrainbow/json-schema/src/JsonSchema/Exception/JsonDecodingException.php:15
- > PHP Fatal error
Uncaught Error: Class 'ActionScheduler_SimpleSchedule' not found in wp-content/plugins/pronamic-pay-with-mollie-for-contact-form-7/packages/woocommerce/action-scheduler/classes/schedules/ActionScheduler_CanceledSchedule.php:6
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/pronamic-pay-with-mollie-for-contact-form-7/vendor/composer/installers/src/Composer/Installers/CockpitInstaller.php:5
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/pronamic-pay-with-mollie-for-contact-form-7/vendor/composer/installers/src/Composer/Installers/TastyIgniterInstaller.php:5
- > PHP Fatal error
require_once(): Failed opening required 'wp-content/plugins/pronamic-pay-with-mollie-for-contact-form-7/vendor/automattic/jetpack-autoloader/src/jetpack-autoloader/class-autoloader.php' (include_path='.:/usr/share/php') in wp-content/plugins/pronamic-pay-with-mollie-for-contact-form-7/vendor/automattic/jetpack-autoloader/src/autoload.php on line 4
- > PHP Fatal error
Uncaught Error: Class 'ActionScheduler_Abstract_Schema' not found in wp-content/plugins/pronamic-pay-with-mollie-for-contact-form-7/packages/woocommerce/action-scheduler/classes/schema/ActionScheduler_StoreSchema.php:10
- > PHP Fatal error
Uncaught Error: Class 'JsonSchema\\Constraints\\Constraint' not found in wp-content/plugins/pronamic-pay-with-mollie-for-contact-form-7/vendor/justinrainbow/json-schema/src/JsonSchema/Constraints/ObjectConstraint.php:20
- > PHP Fatal error
Uncaught Error: Class 'JsonSchema\\Exception\\RuntimeException' not found in wp-content/plugins/pronamic-pay-with-mollie-for-contact-form-7/vendor/justinrainbow/json-schema/src/JsonSchema/Exception/InvalidConfigException.php:15
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/pronamic-pay-with-mollie-for-contact-form-7/vendor/composer/installers/src/Composer/Installers/EliasisInstaller.php:5
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
6 plugin tags: payment, contact, contact form, mollie, form...
pronamic-pay-with-mollie-for-contact-form-7/pronamic-pay-with-mollie-for-contact-form-7.php Passed 13 tests
The entry point to "Pronamic Pay with Mollie for Contact Form 7" version 1.4.0 is a PHP file that has certain tags in its header comment area
63 characters long description:
Pronamic Pay plugin with Mollie for Contact Form 7 integration.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
There were no executable files found in this plugin70,442 lines of code in 699 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 530 | 11,633 | 27,450 | 43,290 |
PO File | 5 | 5,461 | 12,060 | 8,455 |
JavaScript | 24 | 2,327 | 2,231 | 7,897 |
JSON | 40 | 31 | 0 | 4,397 |
Markdown | 27 | 1,237 | 0 | 3,023 |
XML | 4 | 0 | 0 | 1,991 |
CSS | 13 | 122 | 9 | 982 |
HTML | 1 | 55 | 0 | 150 |
YAML | 4 | 34 | 0 | 129 |
SVG | 48 | 0 | 0 | 116 |
reStructuredText | 3 | 12 | 4 | 12 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 9.69 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 211.00 |
Average method complexity | 2.54 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 40.00 |
Code structure | ||
---|---|---|
Namespaces | 48 | |
Interfaces | 12 | |
Traits | 9 | |
Classes | 434 | |
▷ Abstract classes | 28 | 6.45% |
▷ Concrete classes | 406 | 93.55% |
▷ Final classes | 0 | 0.00% |
Methods | 2,508 | |
▷ Static methods | 278 | 11.08% |
▷ Public methods | 2,076 | 82.78% |
▷ Protected methods | 235 | 9.37% |
▷ Private methods | 197 | 7.85% |
Functions | 134 | |
▷ Named functions | 39 | 29.10% |
▷ Anonymous functions | 95 | 70.90% |
Constants | 220 | |
▷ Global constants | 1 | 0.45% |
▷ Class constants | 219 | 99.55% |
▷ Public constants | 219 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
178 compressed PNG files occupy 4.27MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
packages/wp-pay/core/images/dist/cards/diners-club/card-diners-club-logo-_x80.png | 4.50KB | 4.36KB | ▼ 3.10% |
packages/wp-pay/core/images/dist/cards/american-express/card-american-express-background-480x270@3x.png | 0.29KB | 0.23KB | ▼ 19.66% |
packages/wp-pay/core/images/dist/cards/bunq/card-bunq-logo-_x80@4x.png | 7.03KB | 6.98KB | ▼ 0.78% |
packages/wp-pay/core/images/dist/cards/american-express/card-american-express-logo-_x80@2x.png | 7.59KB | 7.53KB | ▼ 0.71% |
packages/wp-pay/core/images/dist/cards/ing/card-ing-background-480x270@4x.png | 58.46KB | 56.74KB | ▼ 2.95% |