Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.64MB] [CPU: ▼2.99ms] Passed 4 tests
An overview of server-side resources used by SPOT® – Permanent Transaction Control
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.12 ▲0.66 | 42.12 ▲2.10 |
Dashboard /wp-admin | 3.95 ▲0.61 | 48.30 ▼9.42 |
Posts /wp-admin/edit.php | 4.01 ▲0.65 | 53.27 ▲7.55 |
Add New Post /wp-admin/post-new.php | 6.56 ▲0.67 | 92.01 ▼7.97 |
Media Library /wp-admin/upload.php | 3.88 ▲0.65 | 41.47 ▲3.32 |
Server storage [IO: ▲0.92MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 282 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by SPOT® – Permanent Transaction Control
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,904 ▲158 | 13.79 ▼0.93 | 7.30 ▲5.72 | 37.91 ▼2.75 |
Dashboard /wp-admin | 2,202 ▲22 | 5.64 ▼0.01 | 103.85 ▲16.90 | 51.29 ▲12.29 |
Posts /wp-admin/edit.php | 2,107 ▲7 | 2.01 ▼0.01 | 45.60 ▲11.03 | 37.02 ▲3.03 |
Add New Post /wp-admin/post-new.php | 1,544 ▲16 | 18.35 ▼4.68 | 622.52 ▼1.46 | 77.82 ▲27.73 |
Media Library /wp-admin/upload.php | 1,407 ▲10 | 4.19 ▲0.01 | 98.94 ▼2.61 | 42.65 ▼2.13 |
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
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 0% 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
- 3× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/eclear-spot/vendor/ilabs/ilabs-plugin/src/Templates/Woocommerce/Metabox_form_group_footer.php
- > /wp-content/plugins/eclear-spot/Templates/desc.php
- > /wp-content/plugins/eclear-spot/vendor/ilabs/ilabs-plugin/src/Templates/Woocommerce/Metabox_footer.php
- 117× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Isolated\\Eclear_Spot\\Ilabs\\Ilabs_Plugin\\Event_Chain\\Abstracts\\Abstract_Event' not found in wp-content/plugins/eclear-spot/vendor/ilabs/ilabs-plugin/src/Event_Chain/Event/Wp_Init.php:7
- > PHP Fatal error
Uncaught Error: Interface 'Isolated\\Eclear_Spot\\Isolated_Guzzlehttp\\Psr\\Http\\Message\\RequestInterface' not found in wp-content/plugins/eclear-spot/vendor/ilabs/isolated-guzzlehttp/vendor/guzzlehttp/psr7/src/Request.php:13
- > PHP Fatal error
Uncaught Error: Class 'Isolated\\Eclear_Spot\\Ilabs\\Ilabs_Plugin\\Event_Chain\\Abstracts\\Abstract_Event' not found in wp-content/plugins/eclear-spot/vendor/ilabs/ilabs-plugin/src/Event_Chain/Event/Wp_Cron_Every_N_Minutes.php:8
- > PHP Fatal error
Uncaught Error: Class 'Isolated\\Eclear_Spot\\Ilabs\\Ilabs_Plugin\\Event_Chain\\Abstracts\\Abstract_Action' not found in wp-content/plugins/eclear-spot/vendor/ilabs/ilabs-plugin/src/Presentation/Woocommerce/Event_Chain/Actions/Action_Wc_render_Metabox.php:9
- > PHP Fatal error
Uncaught Error: Class 'Isolated\\Eclear_Spot\\Isolated_Guzzlehttp\\GuzzleHttp\\Promise\\RejectionException' not found in wp-content/plugins/eclear-spot/vendor/ilabs/isolated-guzzlehttp/vendor/guzzlehttp/promises/src/AggregateException.php:8
- > PHP Fatal error
Uncaught Error: Class 'Isolated\\Eclear_Spot\\Isolated_Guzzlehttp\\GuzzleHttp\\Exception\\TransferException' not found in wp-content/plugins/eclear-spot/vendor/ilabs/isolated-guzzlehttp/vendor/guzzlehttp/guzzle/src/Exception/ConnectException.php:12
- > PHP Fatal error
Uncaught Error: Interface 'Isolated\\Eclear_Spot\\Isolated_Guzzlehttp\\GuzzleHttp\\Promise\\PromiseInterface' not found in wp-content/plugins/eclear-spot/vendor/ilabs/isolated-guzzlehttp/vendor/guzzlehttp/promises/src/FulfilledPromise.php:11
- > PHP Fatal error
Uncaught Error: Interface 'Isolated\\Eclear_Spot\\Ilabs\\Ilabs_Plugin\\Event_Chain\\Interfaces\\Event_Interface' not found in wp-content/plugins/eclear-spot/vendor/ilabs/ilabs-plugin/src/Event_Chain/Abstracts/Abstract_Event.php:10
- > PHP Fatal error
Uncaught Error: Class 'Isolated\\Eclear_Spot\\Ilabs\\Ilabs_Plugin\\Presentation\\Form\\Abstract_Group_Walker' not found in wp-content/plugins/eclear-spot/vendor/ilabs/ilabs-plugin/src/Presentation/Form/Request_Group_Extractor.php:10
- > PHP Fatal error
Uncaught Error: Interface 'Isolated\\Eclear_Spot\\Ilabs\\Ilabs_Plugin\\Event_Chain\\Interfaces\\Cache_Interface' not found in wp-content/plugins/eclear-spot/vendor/ilabs/ilabs-plugin/src/Event_Chain/Wc_Session_Cache.php:9
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that require attention:
- Contributors: Contributors not specified
- Tags: Please delete some tags, you are using 14 tag instead of maximum 10
eclear-spot/eclear-spot.php 92% from 13 tests
This is the main PHP file of "SPOT® – Permanent Transaction Control" version 1.0.8, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
You should first fix the following items:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 153 characters long)
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
Good job! No executable or dangerous file extensions detected14,205 lines of code in 270 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 265 | 918 | 7,993 | 13,476 |
JSON | 3 | 0 | 0 | 667 |
PO File | 1 | 19 | 0 | 56 |
CSS | 1 | 1 | 0 | 6 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 8.28 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 88.00 |
Average method complexity | 2.28 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 26.00 |
Code structure | ||
---|---|---|
Namespaces | 40 | |
Interfaces | 51 | |
Traits | 9 | |
Classes | 177 | |
▷ Abstract classes | 6 | 3.39% |
▷ Concrete classes | 171 | 96.61% |
▷ Final classes | 35 | 20.47% |
Methods | 1,407 | |
▷ Static methods | 188 | 13.36% |
▷ Public methods | 1,229 | 87.35% |
▷ Protected methods | 33 | 2.35% |
▷ Private methods | 145 | 10.31% |
Functions | 168 | |
▷ Named functions | 37 | 22.02% |
▷ Anonymous functions | 131 | 77.98% |
Constants | 78 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 78 | 100.00% |
▷ Public constants | 67 | 85.90% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG images were found in this plugin