Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▼1.71MB] [CPU: ▼55.43ms] Passed 4 tests
This is a short check of server-side resources used by TapTree Payments for WooCommerce
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.28 ▼1.18 | 9.79 ▼32.85 |
Dashboard /wp-admin | 2.30 ▼1.00 | 6.18 ▼49.59 |
Posts /wp-admin/edit.php | 2.30 ▼1.05 | 6.80 ▼48.44 |
Add New Post /wp-admin/post-new.php | 2.30 ▼3.59 | 6.07 ▼90.83 |
Media Library /wp-admin/upload.php | 2.30 ▼0.93 | 6.54 ▼31.63 |
Server storage [IO: ▲0.82MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 199 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
TapTree Payments for WooCommerce: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,823 ▲62 | 14.76 ▲0.41 | 2.68 ▲0.84 | 43.15 ▲1.14 |
Dashboard /wp-admin | 2,201 ▲24 | 5.62 ▼0.00 | 83.81 ▼19.79 | 45.30 ▲1.71 |
Posts /wp-admin/edit.php | 2,109 ▲12 | 2.10 ▲0.07 | 36.36 ▲0.33 | 38.42 ▼0.07 |
Add New Post /wp-admin/post-new.php | 1,535 ▲7 | 23.00 ▼0.03 | 681.60 ▲7.41 | 54.87 ▼4.85 |
Media Library /wp-admin/upload.php | 1,406 ▲6 | 4.18 ▲0.03 | 98.09 ▼16.71 | 49.07 ▲2.01 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- This plugin did not uninstall without warnings or errors
- > Warning in wp-content/plugins/taptree-payments-for-woocommerce/taptree-payments-for-woocommerce.php+82
Use of undefined constant WC_PLUGIN_FILE - assumed 'WC_PLUGIN_FILE' (this will throw an Error in a future version of PHP)
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following items
- 109× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Monolog\\Handler\\AbstractProcessingHandler' not found in wp-content/plugins/taptree-payments-for-woocommerce/vendor/monolog/monolog/src/Monolog/Handler/RedisPubSubHandler.php:29
- > PHP Fatal error
Uncaught Error: Interface 'Monolog\\Formatter\\FormatterInterface' not found in wp-content/plugins/taptree-payments-for-woocommerce/vendor/monolog/monolog/src/Monolog/Formatter/ChromePHPFormatter.php:21
- > PHP Fatal error
Uncaught Error: Interface 'Monolog\\Processor\\ProcessorInterface' not found in wp-content/plugins/taptree-payments-for-woocommerce/vendor/monolog/monolog/src/Monolog/Processor/IntrospectionProcessor.php:31
- > PHP Fatal error
Uncaught Error: Class 'Monolog\\Handler\\AbstractProcessingHandler' not found in wp-content/plugins/taptree-payments-for-woocommerce/vendor/monolog/monolog/src/Monolog/Handler/GelfHandler.php:25
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Container\\ContainerExceptionInterface' not found in wp-content/plugins/taptree-payments-for-woocommerce/vendor/psr/container/src/NotFoundExceptionInterface.php:11
- > PHP Fatal error
Uncaught Error: Class 'Monolog\\Handler\\SocketHandler' not found in wp-content/plugins/taptree-payments-for-woocommerce/vendor/monolog/monolog/src/Monolog/Handler/InsightOpsHandler.php:22
- > PHP Fatal error
Uncaught Error: Class 'Monolog\\Formatter\ormalizerFormatter' not found in wp-content/plugins/taptree-payments-for-woocommerce/vendor/monolog/monolog/src/Monolog/Formatter/ElasticsearchFormatter.php:21
- > PHP Fatal error
Uncaught Error: Interface 'Monolog\\Processor\\ProcessorInterface' not found in wp-content/plugins/taptree-payments-for-woocommerce/vendor/monolog/monolog/src/Monolog/Processor/ProcessIdProcessor.php:19
- > PHP Fatal error
Uncaught Error: Class 'Monolog\\Handler\\AbstractProcessingHandler' not found in wp-content/plugins/taptree-payments-for-woocommerce/vendor/monolog/monolog/src/Monolog/Handler/IFTTTHandler.php:28
- > PHP Fatal error
Uncaught Error: Class 'Monolog\\Handler\\SocketHandler' not found in wp-content/plugins/taptree-payments-for-woocommerce/vendor/monolog/monolog/src/Monolog/Handler/PushoverHandler.php:28
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Please fix the following attributes:
- Tags: Please reduce the number of tags, currently 12 tag instead of maximum 10
taptree-payments-for-woocommerce/taptree-payments-for-woocommerce.php Passed 13 tests
The main PHP script in "TapTree Payments for WooCommerce" version 1.2.5 is automatically included on every request by WordPress
99 characters long description:
Accept payments and protect the climate in WooCommerce with the official TapTree WooCommerce plugin
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Success! There were no dangerous files found in this plugin13,218 lines of code in 191 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 172 | 2,875 | 7,116 | 11,236 |
Markdown | 10 | 400 | 0 | 1,088 |
JSON | 6 | 0 | 0 | 535 |
JavaScript | 1 | 62 | 10 | 339 |
YAML | 1 | 13 | 10 | 17 |
CSS | 1 | 0 | 0 | 3 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 9.34 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 105.00 |
Average method complexity | 2.57 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 26.00 |
Code structure | ||
---|---|---|
Namespaces | 27 | |
Interfaces | 20 | |
Traits | 6 | |
Classes | 137 | |
▷ Abstract classes | 8 | 5.84% |
▷ Concrete classes | 129 | 94.16% |
▷ Final classes | 3 | 2.33% |
Methods | 905 | |
▷ Static methods | 60 | 6.63% |
▷ Public methods | 637 | 70.39% |
▷ Protected methods | 175 | 19.34% |
▷ Private methods | 93 | 10.28% |
Functions | 54 | |
▷ Named functions | 8 | 14.81% |
▷ Anonymous functions | 46 | 85.19% |
Constants | 117 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 117 | 100.00% |
▷ Public constants | 87 | 74.36% |
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
PNG images were not found in this plugin