Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼137.91ms] Passed 4 tests
A check of server-side resources used by Asura Connector
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.85 ▲0.13 | 34.78 ▲13.22 |
Dashboard /wp-admin | 3.08 ▲0.02 | 47.93 ▲10.40 |
Posts /wp-admin/edit.php | 3.13 ▲0.02 | 45.32 ▲1.15 |
Add New Post /wp-admin/post-new.php | 5.44 ▲0.00 | 84.44 ▼558.34 |
Media Library /wp-admin/upload.php | 3.02 ▲0.02 | 30.09 ▼4.84 |
Asura Connector /wp-admin/admin.php?page=aether_m_connector | 2.99 | 29.59 |
Server storage [IO: ▲1.27MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 204 new files
Database: 2 new tables, 3 new options
New tables |
---|
wp_asura_connector_licenses |
wp_asura_connector_providers |
New WordPress options |
---|
asura_connector_installed |
asura_connector_db_version |
asura_connector_version |
Browser metrics Passed 4 tests
A check of browser resources used by Asura Connector
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,703 ▲107 | 16.11 ▲0.57 | 8.97 ▼1.85 | 53.73 ▲7.04 |
Dashboard /wp-admin | 2,973 ▲39 | 6.11 ▼0.03 | 152.26 ▼5.86 | 103.31 ▼5.80 |
Posts /wp-admin/edit.php | 2,739 ▼0 | 2.73 ▲0.02 | 63.94 ▼18.19 | 87.56 ▼5.85 |
Add New Post /wp-admin/post-new.php | 1,683 ▼0 | 18.35 ▼0.34 | 422.13 ▲34.75 | 105.83 ▲0.34 |
Media Library /wp-admin/upload.php | 1,807 ▼3 | 5.01 ▼0.05 | 160.47 ▲12.36 | 116.29 ▲2.19 |
Asura Connector /wp-admin/admin.php?page=aether_m_connector | 1,099 | 3.53 | 86.94 | 57.48 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- Zombie tables detected upon uninstall: 2 tables
- wp_asura_connector_licenses
- wp_asura_connector_providers
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following
- 64× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Medoo\\Tests\\MedooTestCase' not found in wp-content/plugins/asura-connector/vendor/catfan/medoo/tests/DropTest.php:8
- > PHP Fatal error
Uncaught Error: Interface 'GuzzleHttp\\Handler\\CurlFactoryInterface' not found in wp-content/plugins/asura-connector/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php:20
- > PHP Fatal error
Uncaught Error: Class 'Medoo\\Tests\\MedooTestCase' not found in wp-content/plugins/asura-connector/vendor/catfan/medoo/tests/SelectTest.php:11
- > PHP Fatal error
Uncaught Error: Interface 'GuzzleHttp\\Promise\\PromisorInterface' not found in wp-content/plugins/asura-connector/vendor/guzzlehttp/guzzle/src/Pool.php:24
- > PHP Fatal error
Uncaught Error: Interface 'GuzzleHttp\\Promise\\PromiseInterface' not found in wp-content/plugins/asura-connector/vendor/guzzlehttp/promises/src/Coroutine.php:45
- > PHP Fatal error
Uncaught Error: Class 'Medoo\\Tests\\MedooTestCase' not found in wp-content/plugins/asura-connector/vendor/catfan/medoo/tests/QueryTest.php:10
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Http\\Client\\ClientExceptionInterface' not found in wp-content/plugins/asura-connector/vendor/psr/http-client/src/NetworkExceptionInterface.php:14
- > PHP Fatal error
Uncaught Error: Class 'PHPUnit\\Framework\\TestCase' not found in wp-content/plugins/asura-connector/vendor/catfan/medoo/tests/MedooTestCase.php:8
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Http\\Message\\RequestInterface' not found in wp-content/plugins/asura-connector/vendor/guzzlehttp/psr7/src/Request.php:15
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Http\\Client\\ClientExceptionInterface' not found in wp-content/plugins/asura-connector/vendor/psr/http-client/src/RequestExceptionInterface.php:14
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
6 plugin tags: woocommerce, oxygen builder, design set, ecommerce, easy digital download...
asura-connector/asura-connector.php 92% from 13 tests
"Asura Connector" version 4.1.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
It is important to fix the following:
- Domain Path: The domain path folder was not found ("/languages")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Everything looks great! No dangerous files found in this plugin19,286 lines of code in 186 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 156 | 3,491 | 7,320 | 15,026 |
Markdown | 16 | 1,198 | 0 | 3,596 |
JSON | 2 | 0 | 0 | 551 |
YAML | 3 | 10 | 1 | 40 |
JavaScript | 4 | 1 | 1 | 34 |
XML | 1 | 1 | 0 | 21 |
make | 1 | 4 | 0 | 9 |
SVG | 2 | 0 | 0 | 8 |
CSS | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.44 |
Average class complexity | 15.02 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 359.00 |
Average method complexity | 2.85 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 56.00 |
Code structure | ||
---|---|---|
Namespaces | 18 | |
Interfaces | 26 | |
Traits | 3 | |
Classes | 115 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 115 | 100.00% |
▷ Final classes | 34 | 29.57% |
Methods | 1,040 | |
▷ Static methods | 207 | 19.90% |
▷ Public methods | 896 | 86.15% |
▷ Protected methods | 23 | 2.21% |
▷ Private methods | 121 | 11.63% |
Functions | 142 | |
▷ Named functions | 33 | 23.24% |
▷ Anonymous functions | 109 | 76.76% |
Constants | 70 | |
▷ Global constants | 1 | 1.43% |
▷ Class constants | 69 | 98.57% |
▷ Public constants | 58 | 84.06% |
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 files were detected