Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The following installer errors require your attention
- The plugin cannot be installed
- > Notice in wp-content/plugins/ayecode-connect/ayecode-connect.php+144
Undefined index: query
Server metrics [RAM: ▲1.01MB] [CPU: ▼0.14ms] Passed 4 tests
Server-side resources used by AyeCode Connect
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.46 ▲1.00 | 58.81 ▲18.10 |
Dashboard /wp-admin | 4.34 ▲0.99 | 59.24 ▼10.01 |
Posts /wp-admin/edit.php | 4.39 ▲1.03 | 63.24 ▲0.87 |
Add New Post /wp-admin/post-new.php | 6.98 ▲1.09 | 98.40 ▼5.20 |
Media Library /wp-admin/upload.php | 4.26 ▲1.03 | 55.71 ▲13.80 |
AyeCode UI /wp-admin/options-general.php?page=ayecode-ui-settings | 4.30 | 45.12 |
Import Demo Data /wp-admin/admin.php?page=ayecode-demo-content | 4.30 | 48.38 |
AyeCode /wp-admin/admin.php?page=ayecode-connect | 4.30 | 52.12 |
Font Awesome /wp-admin/options-general.php?page=wp-font-awesome-settings | 4.23 | 39.93 |
Server storage [IO: ▲8.32MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 527 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
AyeCode Connect: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,977 ▲216 | 13.89 ▼0.44 | 16.80 ▲15.18 | 42.20 ▲1.43 |
Dashboard /wp-admin | 2,261 ▲90 | 5.51 ▼0.07 | 90.09 ▼0.07 | 38.74 ▼2.66 |
Posts /wp-admin/edit.php | 2,166 ▲66 | 2.00 ▼0.01 | 39.33 ▲0.42 | 37.39 ▲1.64 |
Add New Post /wp-admin/post-new.php | 1,572 ▲46 | 21.75 ▼1.55 | 708.89 ▲21.25 | 60.45 ▼12.42 |
Media Library /wp-admin/upload.php | 1,467 ▲70 | 4.26 ▲0.14 | 102.64 ▼14.18 | 41.44 ▼7.50 |
AyeCode UI /wp-admin/options-general.php?page=ayecode-ui-settings | 1,116 | 2.15 | 27.52 | 32.23 |
Import Demo Data /wp-admin/admin.php?page=ayecode-demo-content | 1,613 | 2.99 | 32.92 | 44.99 |
AyeCode /wp-admin/admin.php?page=ayecode-connect | 926 | 2.15 | 27.56 | 36.83 |
Font Awesome /wp-admin/options-general.php?page=wp-font-awesome-settings | 1,124 | 2.05 | 25.41 | 34.09 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- Uninstall procedure validation failed for this plugin
- > Warning in wp-includes/functions.php+7434
unlink(wp-content/mu-plugins/ayecode-connect-filter-fix.php): No such file or directory
- The uninstall procedure has failed, leaving 6 options in the database
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
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
Almost there! Just fix the following items
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/ayecode-connect/vendor/ayecode/wp-ayecode-ui/includes/inc/bs5-js.php
- 100× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/ayecode-connect/vendor/composer/installers/src/Composer/Installers/AglInstaller.php:4
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/ayecode-connect/vendor/composer/installers/src/Composer/Installers/DrupalInstaller.php:4
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/ayecode-connect/vendor/composer/installers/src/Composer/Installers/CroogoInstaller.php:4
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/ayecode-connect/vendor/composer/installers/src/Composer/Installers/SMFInstaller.php:4
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/ayecode-connect/vendor/composer/installers/src/Composer/Installers/PxcmsInstaller.php:4
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/ayecode-connect/vendor/composer/installers/src/Composer/Installers/CakePHPInstaller.php:7
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/ayecode-connect/vendor/composer/installers/src/Composer/Installers/ZikulaInstaller.php:4
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/ayecode-connect/vendor/composer/installers/src/Composer/Installers/FuelphpInstaller.php:4
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/ayecode-connect/vendor/composer/installers/src/Composer/Installers/MantisBTInstaller.php:6
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/ayecode-connect/vendor/composer/installers/src/Composer/Installers/OxidInstaller.php:6
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
5 plugin tags: getpaid, userswp, geodirectory, service, ayecode
ayecode-connect/ayecode-connect.php Passed 13 tests
The main PHP script in "AyeCode Connect" version 1.2.16 is automatically included on every request by WordPress
70 characters long description:
A service plugin letting users connect AyeCode Services to their site.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
There were no executable files found in this plugin75,451 lines of code in 485 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 25 | 6,364 | 4,213 | 36,659 |
Sass | 315 | 5,302 | 6,401 | 26,034 |
PHP | 131 | 2,972 | 3,918 | 11,931 |
PO File | 1 | 214 | 241 | 561 |
JSON | 1 | 0 | 0 | 245 |
CSS | 11 | 0 | 132 | 13 |
SVG | 1 | 0 | 0 | 8 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.53 |
Average class complexity | 16.20 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 369.00 |
Average method complexity | 5.90 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 93.00 |
Code structure | ||
---|---|---|
Namespaces | 3 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 115 | |
▷ Abstract classes | 1 | 0.87% |
▷ Concrete classes | 114 | 99.13% |
▷ Final classes | 0 | 0.00% |
Methods | 362 | |
▷ Static methods | 76 | 20.99% |
▷ Public methods | 311 | 85.91% |
▷ Protected methods | 31 | 8.56% |
▷ Private methods | 20 | 5.52% |
Functions | 20 | |
▷ Named functions | 12 | 60.00% |
▷ Anonymous functions | 8 | 40.00% |
Constants | 40 | |
▷ Global constants | 36 | 90.00% |
▷ Class constants | 4 | 10.00% |
▷ Public constants | 4 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
2 PNG files occupy 0.09MB with 0.06MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/connect-site.png | 60.32KB | 17.02KB | ▼ 71.78% |
assets/img/ayecode.png | 29.53KB | 13.40KB | ▼ 54.63% |