Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.12MB] [CPU: ▲0.09ms] Passed 4 tests
An overview of server-side resources used by CTL Arcade Lite
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.59 ▲0.12 | 41.78 ▼1.61 |
Dashboard /wp-admin | 3.43 ▲0.13 | 50.88 ▼3.80 |
Posts /wp-admin/edit.php | 3.54 ▲0.18 | 51.86 ▲3.58 |
Add New Post /wp-admin/post-new.php | 6.01 ▲0.12 | 93.70 ▲2.17 |
Media Library /wp-admin/upload.php | 3.35 ▲0.12 | 41.01 ▲3.80 |
Documentation /wp-admin/admin.php?page=ctl_arcade_lite_page_documentation | 3.32 | 35.41 |
About us /wp-admin/admin.php?page=ctl_arcade_lite_page_company | 3.32 | 38.91 |
Manage Games /wp-admin/admin.php?page=ctl_arcade_lite_page_manage_games | 3.32 | 40.58 |
Settings (PRO) /wp-admin/admin.php?page=ctl_arcade_lite_main_menu | 3.32 | 31.32 |
Server storage [IO: ▲5.02MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 43 new files
Database: 2 new tables, 7 new options
New tables |
---|
wp_ctl_arcade_lite_games |
wp_ctl_arcade_lite_settings |
New WordPress options |
---|
db_upgraded |
CTL_ARCADE_LITE_PLUGIN_VERSION |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for CTL Arcade Lite
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,930 ▲169 | 13.58 ▼0.64 | 9.88 ▲8.15 | 41.66 ▼0.47 |
Dashboard /wp-admin | 2,256 ▲85 | 5.80 ▲0.13 | 122.79 ▲27.80 | 40.20 ▼1.44 |
Posts /wp-admin/edit.php | 2,164 ▲61 | 3.06 ▲1.03 | 79.37 ▲42.55 | 37.97 ▲2.16 |
Add New Post /wp-admin/post-new.php | 1,572 ▲46 | 23.28 ▲0.21 | 667.96 ▼43.37 | 60.33 ▲8.62 |
Media Library /wp-admin/upload.php | 1,461 ▲64 | 5.18 ▲1.07 | 118.87 ▲7.19 | 49.07 ▲0.85 |
Documentation /wp-admin/admin.php?page=ctl_arcade_lite_page_documentation | 1,894 | 9.90 | 337.91 | 112.59 |
About us /wp-admin/admin.php?page=ctl_arcade_lite_page_company | 2,148 | 16.02 | 334.74 | 104.03 |
Manage Games /wp-admin/admin.php?page=ctl_arcade_lite_page_manage_games | 951 | 2.40 | 39.05 | 32.58 |
Settings (PRO) /wp-admin/admin.php?page=ctl_arcade_lite_main_menu | 1,094 | 2.30 | 39.78 | 32.76 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
These server-side errors were triggered
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=ctl_arcade_lite_page_documentation
- > request to
- > Notice in wp-config.php+20
Undefined index: REQUEST_METHOD
SRP Passed 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
Everything seems fine, however this is by no means an exhaustive test
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Please take a look at the following user-side issues
- > GET request to /wp-admin/admin.php?page=ctl_arcade_lite_page_company
- > Security (warning) in unknown
security - Error with Permissions-Policy header: Unrecognized feature: 'ambient-light-sensor'.
- > GET request to /wp-admin/admin.php?page=ctl_arcade_lite_page_company
- > Security (warning) in unknown
security - Error with Permissions-Policy header: Unrecognized feature: 'bluetooth'.
- > GET request to /wp-admin/admin.php?page=ctl_arcade_lite_page_company
- > Deprecation (warning) in unknown
https://static.xx.fbcdn.net/rsrc.php/v3/yD/r/CxzjCMQABR5.js?_nc_x=Ij3Wp8lg5Kz 271 Listener added for a synchronous 'DOMSubtreeModified' DOM Mutation Event. This event type is deprecated (https://w3c.github.io/uievents/#legacy-event-types) and work is underway to remove it from this browser. Usage of this event listener will cause performance issues today, and represents a risk of future incompatibility. Consider using MutationObserver instead.
- > GET request to /wp-admin/admin.php?page=ctl_arcade_lite_page_company
- > Console-api (severe) in unknown
https://static.xx.fbcdn.net/rsrc.php/v3/yD/r/CxzjCMQABR5.js?_nc_x=Ij3Wp8lg5Kz 60:573 "ErrorUtils caught an error:\n\nCannot listen to an undefined element. [Caught in: Tried to listen to element of type click]\n\nSubsequent non-fatal errors won't be logged; see https://fburl.com/debugjs."
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that require attention:
- Tags: There are too many tags (11 tag instead of maximum 10)
ctl-arcade-lite/ctl-arcade-lite.php Passed 13 tests
Analyzing the main PHP file in "CTL Arcade Lite" version 1.0
67 characters long description:
Install and manage high quality HTML5 games in your wordpress site.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Everything looks great! No dangerous files found in this plugin2,820 lines of code in 23 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 8 | 320 | 71 | 1,478 |
PHP | 9 | 303 | 18 | 841 |
JavaScript | 5 | 122 | 8 | 470 |
SVG | 1 | 0 | 0 | 31 |
PHP code Passed 2 tests
This is a very shot review 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.18 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 24 | |
▷ Named functions | 24 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 7 | |
▷ Global constants | 7 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
14 PNG files occupy 4.36MB with 2.59MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/ctl_collage_2.png | 2,297.84KB | 627.96KB | ▼ 72.67% |
images/ctl_logo_white.png | 10.97KB | 5.43KB | ▼ 50.49% |
images/ctl-arcade-icon.png | 38.50KB | 13.36KB | ▼ 65.30% |
images/shortcode_game_widget.png | 127.71KB | 45.41KB | ▼ 64.45% |
images/traffic_light_circle_green.png | 2.32KB | 1.32KB | ▼ 43.33% |