Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼0.87MB] [CPU: ▼32.05ms] Passed 4 tests
Analyzing server-side resources used by Easy Casino Table
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.09 | 38.50 ▼5.63 |
Dashboard /wp-admin | 3.07 ▼0.23 | 24.49 ▼22.44 |
Posts /wp-admin/edit.php | 3.07 ▼0.28 | 26.87 ▼23.63 |
Add New Post /wp-admin/post-new.php | 3.07 ▼2.81 | 25.95 ▼71.43 |
Media Library /wp-admin/upload.php | 3.07 ▼0.16 | 22.65 ▼10.69 |
Add New review /wp-admin/post-new.php?post_type=ect-casino | 3.07 | 26.41 |
Settings /wp-admin/edit.php?post_type=ect-casino&page=ect-casino | 3.07 | 25.13 |
Reviews /wp-admin/edit.php?post_type=ect-casino | 3.07 | 25.39 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 18 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by Easy Casino Table
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,836 ▲101 | 13.32 ▼1.24 | 1.62 ▼0.10 | 38.85 ▼6.64 |
Dashboard /wp-admin | 2,237 ▲49 | 5.87 ▲0.93 | 107.00 ▲2.66 | 42.01 ▼2.85 |
Posts /wp-admin/edit.php | 2,120 ▲28 | 2.02 ▼0.05 | 39.90 ▼0.36 | 34.94 ▼4.90 |
Add New Post /wp-admin/post-new.php | 6,464 ▲4,945 | 23.63 ▲0.52 | 850.30 ▲181.40 | 75.33 ▲14.27 |
Media Library /wp-admin/upload.php | 1,422 ▲40 | 4.18 ▼0.03 | 96.63 ▼0.91 | 42.26 ▼4.85 |
Add New review /wp-admin/post-new.php?post_type=ect-casino | 6,461 | 20.80 | 891.61 | 34.61 |
Settings /wp-admin/edit.php?post_type=ect-casino&page=ect-casino | 823 | 2.03 | 24.36 | 30.36 |
Reviews /wp-admin/edit.php?post_type=ect-casino | 1,084 | 2.10 | 30.09 | 29.29 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- This plugin cannot be uninstalled
- > User notice in wp-includes/functions.php+5905
Function add_submenu_page was called incorrectly. The seventh parameter passed to add_submenu_page() should be numeric representing menu position. Please see Debugging in WordPress for more information. (This message was added in version 5.3.0.)
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Almost there, just fix the following server-side errors
- 3 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=ect-casino
- > User notice in wp-includes/functions.php+5905
Function add_submenu_page was called incorrectly. The seventh parameter passed to add_submenu_page() should be numeric representing menu position. Please see Debugging in WordPress for more information. (This message was added in version 5.3.0.)
- > GET request to /wp-admin/post-new.php?post_type=ect-casino
- > User notice in wp-includes/functions.php+5905
Function register_rest_route was called incorrectly. The REST API route definition for wl/v1/ect-casino is missing the required permission_callback argument. For REST API routes that are intended to be public, use __return_true as the permission callback. Please see Debugging in WordPress for more information. (This message was added in version 5.5.0.)
SRP 50% 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
The following issues need your attention
- 5× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/easy-casino-table/includes/form.php:18
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/easy-casino-table/templates/single-ect-casino.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/easy-casino-table/includes/ect-redirect.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/easy-casino-table/includes/ect-redirect-tc.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/easy-casino-table/includes/ect-post-type.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need your attention:
- Donate link: Invalid URI found ("")
easy-casino-table/plugin.php 92% from 13 tests
The main PHP file in "Easy Casino Table" ver. 1.0.3 adds more information about the plugin and also serves as the entry point for this plugin
The following require your attention:
- Main file name: Name the main plugin file the same as the plugin slug ("easy-casino-table.php" instead of "plugin.php")
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
Good job! No executable or dangerous file extensions detected730 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 9 | 74 | 85 | 420 |
Sass | 3 | 9 | 1 | 245 |
JavaScript | 3 | 11 | 10 | 63 |
CSS | 2 | 0 | 0 | 2 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
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 | 21 | |
▷ Named functions | 20 | 95.24% |
▷ Anonymous functions | 1 | 4.76% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
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
There were not PNG files found in your plugin