Benchmarks
Plugin footprint 46% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.81MB] [CPU: ▲540.10ms] 50% from 4 tests
An overview of server-side resources used by Game application form CloudsGoods
The following require your attention
- CPU: Total CPU usage must kept under 500.00ms (currently 1,257.69ms on /wp-admin/admin.php?page=cgsrv_menu_adminpageprofile)
- Extra CPU: The extra CPU usage must be under 200.00ms (currently 540.10ms on /wp-admin/admin.php?page=cgsrv_menu_adminpageprofile)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.37 ▲0.91 | 45.02 ▲0.02 |
Dashboard /wp-admin | 4.96 ▲1.65 | 802.55 ▲748.23 |
Posts /wp-admin/edit.php | 4.96 ▲1.60 | 788.37 ▲737.20 |
Add New Post /wp-admin/post-new.php | 4.96 ▼0.93 | 779.29 ▲674.93 |
Media Library /wp-admin/upload.php | 4.96 ▲1.73 | 833.13 ▲795.54 |
My Games /wp-admin/admin.php?page=cgsrv_menu_adminpagemygames | 5.19 | 838.19 |
Packages /wp-admin/admin.php?page=cgsrv_menu_adminpagetarif | 5.15 | 1,414.29 |
CloudsGoods /wp-admin/admin.php?page=cgsrv_menu_adminpage | 5.21 | 826.08 |
Create Game /wp-admin/admin.php?page=cgsrv_menu_adminpagecreategame | 5.18 | 1,138.81 |
Issue prizes /wp-admin/admin.php?page=cgsrv_menu_adminpageissueprize | 5.17 | 777.73 |
Contacts /wp-admin/admin.php?page=cgsrv_menu_adminpagecontacts | 5.17 | 810.43 |
Profile /wp-admin/admin.php?page=cgsrv_menu_adminpageprofile | 5.19 | 1,257.69 |
Server storage [IO: ▲6.76MB] [DB: ▲0.07MB] 67% from 3 tests
Analyzing filesystem and database footprints of this plugin
Please try to fix the following items
- You have illegally modified 3 files (0.00KB) outside of "wp-content/plugins/game-application-form-cloudsgoods/" and "wp-content/uploads/"
- (new file) "wp-content/plugins/game-application-form-cloudsgoods/assets/icon-128\321\205128.png"
- (new file) "wp-content/plugins/game-application-form-cloudsgoods/assets/banner-1544\321\205500.png"
- (new file) "wp-content/plugins/game-application-form-cloudsgoods/assets/icon-256\321\205256.png"
Filesystem: 243 new files
Database: 1 new table, 7 new options
New tables |
---|
wp_cloudsgoods_data |
New WordPress options |
---|
can_compress_scripts |
widget_cgsrv_custom_widget |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Game application form CloudsGoods
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,860 ▲99 | 14.28 ▼0.15 | 1.93 ▼0.02 | 41.81 ▼1.94 |
Dashboard /wp-admin | 2,244 ▲70 | 5.59 ▼0.05 | 84.57 ▼11.37 | 81.66 ▲34.46 |
Posts /wp-admin/edit.php | 2,149 ▲49 | 2.11 ▲0.07 | 33.99 ▼6.28 | 34.46 ▼2.64 |
Add New Post /wp-admin/post-new.php | 1,564 ▲33 | 23.34 ▲0.17 | 748.70 ▲62.59 | 61.34 ▼0.29 |
Media Library /wp-admin/upload.php | 1,443 ▲43 | 4.25 ▲0.03 | 99.17 ▲1.08 | 73.46 ▲29.67 |
My Games /wp-admin/admin.php?page=cgsrv_menu_adminpagemygames | 4,878 | 1.73 | 30.49 | 66.91 |
Packages /wp-admin/admin.php?page=cgsrv_menu_adminpagetarif | 4,878 | 1.77 | 34.36 | 56.08 |
CloudsGoods /wp-admin/admin.php?page=cgsrv_menu_adminpage | 4,881 | 1.74 | 34.54 | 52.59 |
Create Game /wp-admin/admin.php?page=cgsrv_menu_adminpagecreategame | 4,838 | 1.77 | 35.35 | 57.60 |
Issue prizes /wp-admin/admin.php?page=cgsrv_menu_adminpageissueprize | 4,875 | 1.76 | 32.06 | 55.43 |
Contacts /wp-admin/admin.php?page=cgsrv_menu_adminpagecontacts | 4,881 | 1.76 | 31.07 | 55.32 |
Profile /wp-admin/admin.php?page=cgsrv_menu_adminpageprofile | 4,875 | 1.78 | 32.84 | 57.16 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 25% 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
- Uninstall procedure validation failed for this plugin
- > Notice in wp-content/plugins/game-application-form-cloudsgoods/app/Hooks/Menu/CloudsGoodsMenuClass.php+28
Undefined index: page
- The plugin did not uninstall successfully, leaving 1 table in the database
- wp_cloudsgoods_data
- Zombie WordPress options were found after uninstall: 7 options
- can_compress_scripts
- widget_cgsrv_custom_widget
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Please fix the following server-side errors
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=cgsrv_menu_adminpagetarif
- > Notice in wp-content/plugins/game-application-form-cloudsgoods/app/Hooks/Menu/CloudsGoodsTarifClass.php+35
Undefined index: data
SRP 0% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Almost there! Just fix the following items
- 13× PHP files perform the task of outputting text when accessed with GET requests (only 10 are shown):
- > /wp-content/plugins/game-application-form-cloudsgoods/views/issue-prize.blade.php
- > /wp-content/plugins/game-application-form-cloudsgoods/views/creategame/preview.blade.php
- > /wp-content/plugins/game-application-form-cloudsgoods/views/creategame/main.blade.php
- > /wp-content/plugins/game-application-form-cloudsgoods/assets/include/pagination.blade.php
- > /wp-content/plugins/game-application-form-cloudsgoods/views/admin.blade.php
- > /wp-content/plugins/game-application-form-cloudsgoods/views/creategame/choicegame.blade.php
- > /wp-content/plugins/game-application-form-cloudsgoods/views/creategame/settinggame.blade.php
- > /wp-content/plugins/game-application-form-cloudsgoods/views/statisticsgame.blade.php
- > /wp-content/plugins/game-application-form-cloudsgoods/views/tarif.blade.php
- > /wp-content/plugins/game-application-form-cloudsgoods/views/profile.blade.php
- 70× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'CloudsGoodsApp\\Hooks\\Menu\\CloudsGoodsTarifClass' not found in wp-content/plugins/game-application-form-cloudsgoods/app/Hooks/Menu/CloudsGoodsProfileClass.php:6
- > PHP Fatal error
Uncaught Error: Class 'GuzzleHttp\\Promise\\RejectionException' not found in wp-content/plugins/game-application-form-cloudsgoods/lib/guzzlehttp/promises/src/CancellationException.php:8
- > PHP Fatal error
Uncaught Error: Class 'GuzzleHttp\\Exception\\BadResponseException' not found in wp-content/plugins/game-application-form-cloudsgoods/lib/guzzlehttp/guzzle/src/Exception/ClientException.php:8
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Http\\Message\\UriInterface' not found in wp-content/plugins/game-application-form-cloudsgoods/lib/guzzlehttp/psr7/src/Uri.php:17
- > PHP Notice
Undefined variable: activeGames in wp-content/plugins/game-application-form-cloudsgoods/views/tarif.blade.php on line 96
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Http\\Message\\UploadedFileInterface' not found in wp-content/plugins/game-application-form-cloudsgoods/lib/guzzlehttp/psr7/src/UploadedFile.php:12
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Http\\Message\\RequestInterface' not found in wp-content/plugins/game-application-form-cloudsgoods/lib/guzzlehttp/psr7/src/Request.php:15
- > PHP Fatal error
Uncaught Error: Class 'GuzzleHttp\\Exception\\RequestException' not found in wp-content/plugins/game-application-form-cloudsgoods/lib/guzzlehttp/guzzle/src/Exception/TooManyRedirectsException.php:5
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Http\\Message\\StreamInterface' not found in wp-content/plugins/game-application-form-cloudsgoods/lib/guzzlehttp/psr7/src/MultipartStream.php:13
- > PHP Fatal error
Uncaught Error: Class 'GuzzleHttp\\Promise\\RejectionException' not found in wp-content/plugins/game-application-form-cloudsgoods/lib/guzzlehttp/promises/src/AggregateException.php:8
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
6 plugin tags: advertisement, contacts, game, gather, loyalty...
game-application-form-cloudsgoods/CGPlugin.php 92% from 13 tests
"Game application form CloudsGoods" version 1.0.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
The following require your attention:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("game-application-form-cloudsgoods.php" instead of "CGPlugin.php")
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 detected24,209 lines of code in 186 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 143 | 2,590 | 7,913 | 13,948 |
Blade | 15 | 666 | 15 | 4,922 |
Markdown | 15 | 1,284 | 0 | 3,672 |
JSON | 11 | 0 | 0 | 1,173 |
CSS | 1 | 75 | 0 | 487 |
YAML | 1 | 0 | 0 | 7 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 14.84 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 349.00 |
Average method complexity | 2.59 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 26.00 |
Code structure | ||
---|---|---|
Namespaces | 17 | |
Interfaces | 26 | |
Traits | 6 | |
Classes | 95 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 95 | 100.00% |
▷ Final classes | 35 | 36.84% |
Methods | 1,099 | |
▷ Static methods | 159 | 14.47% |
▷ Public methods | 846 | 76.98% |
▷ Protected methods | 136 | 12.37% |
▷ Private methods | 117 | 10.65% |
Functions | 140 | |
▷ Named functions | 36 | 25.71% |
▷ Anonymous functions | 104 | 74.29% |
Constants | 73 | |
▷ Global constants | 4 | 5.48% |
▷ Class constants | 69 | 94.52% |
▷ Public constants | 58 | 84.06% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
32 compressed PNG files occupy 5.52MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/settings/screenshots/4.png | 7.15KB | 7.16KB | 0.00% |
assets/images/tariffs/special.png | 20.76KB | 8.53KB | ▼ 58.90% |
assets/settings/screenshots/13.png | 18.16KB | 18.16KB | 0.00% |
assets/settings/screenshots/7.png | 401.12KB | 401.08KB | 0.01% |
assets/settings/instructions/4.png | 19.88KB | 20.23KB | 0.00% |