Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.13MB] [CPU: ▼3.08ms] Passed 4 tests
Server-side resources used by Recurpay Subscription
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.58 ▲0.11 | 37.70 ▼0.89 |
Dashboard /wp-admin | 3.43 ▲0.12 | 51.16 ▲4.14 |
Posts /wp-admin/edit.php | 3.55 ▲0.19 | 46.94 ▼3.02 |
Add New Post /wp-admin/post-new.php | 6.03 ▲0.14 | 86.95 ▼10.66 |
Media Library /wp-admin/upload.php | 3.36 ▲0.12 | 36.40 ▲2.24 |
Server storage [IO: ▲0.10MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 26 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by Recurpay Subscription
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,817 ▲71 | 14.45 ▼0.14 | 1.54 ▼0.16 | 41.66 ▼4.12 |
Dashboard /wp-admin | 2,253 ▲62 | 7.90 ▲3.02 | 207.07 ▲106.11 | 52.31 ▲7.49 |
Posts /wp-admin/edit.php | 2,136 ▲47 | 5.42 ▲3.39 | 147.52 ▲107.26 | 34.78 ▲1.12 |
Add New Post /wp-admin/post-new.php | 1,548 ▲34 | 18.19 ▲0.75 | 607.51 ▼38.39 | 68.75 ▲17.27 |
Media Library /wp-admin/upload.php | 1,435 ▲47 | 6.86 ▲2.56 | 146.61 ▲49.39 | 43.28 ▲1.68 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-comments
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
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 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following items
- 2× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/recurpay/admin/partials/recurpay-admin-display.php
- > /wp-content/plugins/recurpay/public/partials/recurpay-public-display.php
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration Passed 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
10 plugin tags: subscription, mollie, stripe, payu, recurring...
recurpay/recurpay.php Passed 13 tests
The principal PHP file in "Recurpay Subscription" v. 2.1.1 is loaded by WordPress automatically on each request
51 characters long description:
Subscriptions for Woocommerce. Powered by Recurpay.
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
Success! There were no dangerous files found in this plugin1,550 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 213 | 572 | 808 |
CSS | 2 | 37 | 10 | 708 |
JavaScript | 2 | 4 | 27 | 23 |
SVG | 1 | 0 | 0 | 11 |
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.25 |
Average class complexity | 6.43 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 27.00 |
Average method complexity | 1.79 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 48 | |
▷ Static methods | 2 | 4.17% |
▷ Public methods | 39 | 81.25% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 9 | 18.75% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.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
There are no PNG files in this plugin