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.01MB] [CPU: ▼2.68ms] Passed 4 tests
An overview of server-side resources used by {eac}SoftwareRegistry WooCommerce Webhook Endpoints
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 41.95 ▲1.72 |
Dashboard /wp-admin | 3.32 ▲0.01 | 43.77 ▼4.89 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 45.88 ▼3.66 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 94.58 ▼3.87 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 38.15 ▲4.44 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for {eac}SoftwareRegistry WooCommerce Webhook Endpoints
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.19 ▼1.45 | 1.74 ▲0.11 | 40.38 ▲2.11 |
Dashboard /wp-admin | 2,203 ▲11 | 4.83 ▼0.13 | 107.12 ▼2.28 | 38.56 ▲0.14 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.01 ▲0.00 | 41.46 ▲5.44 | 40.60 ▲3.76 |
Add New Post /wp-admin/post-new.php | 1,514 ▼0 | 17.44 ▼0.06 | 683.25 ▲30.96 | 53.91 ▲1.16 |
Media Library /wp-admin/upload.php | 1,388 ▼3 | 4.25 ▲0.03 | 100.43 ▼0.75 | 42.38 ▼0.94 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-posts
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
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
- 2× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'EarthAsylumConsulting\\abstract_extension' not found in wp-content/plugins/eacsoftwareregistry-webhook-endpoints/Extensions/class.woocommerce_webhooks.extension.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function EarthAsylumConsulting\\add_filter() in wp-content/plugins/eacsoftwareregistry-webhook-endpoints/eacSoftwareRegistry_Webhook_Endpoints.php:50
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 86% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
7 plugin tags: subscriptions, software registration, software registry, eacsoftwareregistry, webhooks...
eacsoftwareregistry-webhook-endpoints/eacSoftwareRegistry_Webhook_Endpoints.php 69% from 13 tests
The principal PHP file in "{eac}SoftwareRegistry WooCommerce Webhook Endpoints" v. 1.0.10 is loaded by WordPress automatically on each request
Please take the time to fix the following:
- Text Domain: The text domain should only use lowercase characters and dashes
- Domain Path: The domain path points to a folder that does not exist ("/languages")
- Description: Please don't use more than 140 characters for the plugin description (currently 145 characters long)
- Main file name: The principal plugin file should be the same as the plugin slug ("eacsoftwareregistry-webhook-endpoints.php" instead of "eacSoftwareRegistry_Webhook_Endpoints.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Success! There were no dangerous files found in this plugin1,260 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 125 | 281 | 696 |
Markdown | 1 | 111 | 0 | 564 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.51 |
Average class complexity | 58.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 116.00 |
Average method complexity | 5.86 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 23.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 24 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 9 | 37.50% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 15 | 62.50% |
Functions | 3 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 3 | 100.00% |
Constants | 3 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 3 | 100.00% |
▷ Public constants | 3 | 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
There are no PNG files in this plugin