Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.00MB] [CPU: ▼3.49ms] Passed 4 tests
Server-side resources used by EduAdmin - SveaWebPay WordPress-plugin
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 41.08 ▼0.61 |
Dashboard /wp-admin | 3.31 ▲0.00 | 47.86 ▼6.84 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 49.98 ▼1.31 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 95.35 ▼4.94 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 38.20 ▼0.85 |
Server storage [IO: ▲1.22MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 397 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by EduAdmin - SveaWebPay WordPress-plugin
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,815 ▲54 | 13.30 ▼1.08 | 1.82 ▼0.03 | 41.50 ▼5.67 |
Dashboard /wp-admin | 2,221 ▲21 | 5.86 ▼0.01 | 97.91 ▼5.26 | 42.28 ▲1.78 |
Posts /wp-admin/edit.php | 2,103 ▼0 | 2.06 ▲0.02 | 44.67 ▲2.95 | 35.46 ▲0.69 |
Add New Post /wp-admin/post-new.php | 1,531 ▲5 | 23.13 ▲5.60 | 655.57 ▼15.54 | 50.65 ▼6.07 |
Media Library /wp-admin/upload.php | 1,394 ▼3 | 4.24 ▲0.04 | 100.17 ▼18.09 | 42.25 ▼4.76 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- This plugin did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
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 | 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
Almost there! Just fix the following items
- 2× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/eduadmin-sveawebpay/eduadmin-wordpress-sveawebpay.php
- > /wp-content/plugins/eduadmin-sveawebpay/class/class-edu-sveawebpay.php
- 244× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Svea\\WebPay\\AdminService\\AdminServiceRequest' not found in wp-content/plugins/eduadmin-sveawebpay/vendor/sveaekonomi/webpay/src/AdminService/UpdateOrderRequest.php:14
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/eduadmin-sveawebpay/vendor/composer/installers/src/Composer/Installers/MantisBTInstaller.php:6
- > PHP Fatal error
Uncaught Error: Class 'Svea\\Checkout\\Validation\\ValidationService' not found in wp-content/plugins/eduadmin-sveawebpay/vendor/sveaekonomi/checkout/src/Validation/ValidateGetOrderData.php:9
- > PHP Fatal error
Uncaught Error: Class 'Svea\\Checkout\\Validation\\ValidationService' not found in wp-content/plugins/eduadmin-sveawebpay/vendor/sveaekonomi/checkout/src/Validation/Admin/ValidateCancelOrderRowData.php:7
- > PHP Fatal error
Uncaught Error: Class 'Svea\\WebPay\\HostedService\\HostedRequest' not found in wp-content/plugins/eduadmin-sveawebpay/vendor/sveaekonomi/webpay/src/HostedService/HostedAdminRequest/LowerTransaction.php:20
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/eduadmin-sveawebpay/vendor/composer/installers/src/Composer/Installers/ZikulaInstaller.php:4
- > PHP Fatal error
Uncaught Error: Class 'Svea\\Checkout\\Validation\\ValidationService' not found in wp-content/plugins/eduadmin-sveawebpay/vendor/sveaekonomi/checkout/src/Validation/Admin/ValidateAddOrderRowData.php:7
- > PHP Fatal error
Uncaught Error: Class 'Svea\\WebPay\\BuildOrder\\CheckoutAdminOrderBuilder' not found in wp-content/plugins/eduadmin-sveawebpay/vendor/sveaekonomi/webpay/src/BuildOrder/QueryTaskInfoBuilder.php:8
- > PHP Fatal error
Uncaught Error: Class 'Svea\\WebPay\\WebService\\WebServiceResponse\\WebServiceResponse' not found in wp-content/plugins/eduadmin-sveawebpay/vendor/sveaekonomi/webpay/src/WebService/WebServiceResponse/CreateOrderResponse.php:17
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/eduadmin-sveawebpay/vendor/composer/installers/src/Composer/Installers/AimeosInstaller.php:4
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 93% 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
8 plugin tags: events, svea, courses, eduadmin, booking...
eduadmin-sveawebpay/eduadmin-wordpress-sveawebpay.php 85% from 13 tests
Analyzing the main PHP file in "EduAdmin - SveaWebPay WordPress-plugin" version 3.0.1
You should first fix the following items:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("eduadmin-sveawebpay.php" instead of "eduadmin-wordpress-sveawebpay.php")
- Domain Path: The domain path points to an invalid folder, "/languages/" does not exist
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
No dangerous file extensions were detected21,408 lines of code in 391 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 385 | 4,571 | 9,998 | 17,718 |
Markdown | 3 | 845 | 0 | 3,308 |
JSON | 3 | 0 | 0 | 382 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 5.73 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 131.00 |
Average method complexity | 2.29 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 89.00 |
Code structure | ||
---|---|---|
Namespaces | 53 | |
Interfaces | 5 | |
Traits | 0 | |
Classes | 372 | |
▷ Abstract classes | 16 | 4.30% |
▷ Concrete classes | 356 | 95.70% |
▷ Final classes | 2 | 0.56% |
Methods | 1,422 | |
▷ Static methods | 146 | 10.27% |
▷ Public methods | 1,100 | 77.36% |
▷ Protected methods | 145 | 10.20% |
▷ Private methods | 177 | 12.45% |
Functions | 13 | |
▷ Named functions | 4 | 30.77% |
▷ Anonymous functions | 9 | 69.23% |
Constants | 134 | |
▷ Global constants | 1 | 0.75% |
▷ Class constants | 133 | 99.25% |
▷ Public constants | 133 | 100.00% |
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