Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.44MB] [CPU: ▲2.31ms] Passed 4 tests
Analyzing server-side resources used by Tipster TAP
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.66 ▲0.20 | 43.16 ▲6.48 |
Dashboard /wp-admin | 3.88 ▲0.57 | 70.12 ▲22.96 |
Posts /wp-admin/edit.php | 3.91 ▲0.56 | 47.34 ▼2.92 |
Add New Post /wp-admin/post-new.php | 6.41 ▲0.52 | 93.25 ▲2.20 |
Media Library /wp-admin/upload.php | 3.72 ▲0.49 | 39.05 ▲3.47 |
Agregar nuevo /wp-admin/post-new.php?post_type=tipster | 3.91 | 53.82 |
Manage Picks /wp-admin/admin.php?page=tipster-tap/manage-picks | 3.71 | 31.19 |
Todos los tipster /wp-admin/edit.php?post_type=tipster | 3.76 | 37.68 |
Categorias de Tipsters /wp-admin/edit-tags.php?taxonomy=tipsters&post_type=tipster | 3.71 | 36.73 |
Informacion /wp-admin/admin.php?page=tipster-tap | 3.69 | 30.75 |
Troubleshoot /wp-admin/admin.php?page=tipster-tap/troubleshoot | 3.70 | 28.66 |
Manage Tipsters /wp-admin/admin.php?page=tipster-tap/manage-tipsters | 3.74 | 34.09 |
Server storage [IO: ▲12.49MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 316 new files
Database: 2 new tables, 7 new options
New tables |
---|
wp_picks |
statistics |
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
tipster_tap_version |
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for Tipster TAP
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,869 ▲123 | 13.31 ▼0.98 | 4.48 ▲2.46 | 48.75 ▲1.87 |
Dashboard /wp-admin | 2,272 ▲84 | 4.86 ▲0.02 | 110.16 ▼2.55 | 40.49 ▼5.99 |
Posts /wp-admin/edit.php | 2,160 ▲68 | 2.01 ▲0.00 | 40.02 ▲5.11 | 35.12 ▲1.79 |
Add New Post /wp-admin/post-new.php | 1,585 ▲63 | 18.18 ▼4.85 | 629.12 ▲19.43 | 35.61 ▼18.05 |
Media Library /wp-admin/upload.php | 1,457 ▲72 | 4.20 ▼0.00 | 98.30 ▼7.60 | 42.42 ▼0.76 |
Agregar nuevo /wp-admin/post-new.php?post_type=tipster | 2,368 | 7.94 | 190.79 | 78.63 |
Manage Picks /wp-admin/admin.php?page=tipster-tap/manage-picks | 1,750 | 2.77 | 75.65 | 38.87 |
Todos los tipster /wp-admin/edit.php?post_type=tipster | 1,138 | 1.95 | 31.63 | 30.47 |
Categorias de Tipsters /wp-admin/edit-tags.php?taxonomy=tipsters&post_type=tipster | 1,331 | 2.14 | 25.48 | 28.35 |
Informacion /wp-admin/admin.php?page=tipster-tap | 877 | 2.02 | 23.44 | 27.95 |
Troubleshoot /wp-admin/admin.php?page=tipster-tap/troubleshoot | 884 | 2.03 | 23.51 | 25.02 |
Manage Tipsters /wp-admin/admin.php?page=tipster-tap/manage-tipsters | 879 | 2.06 | 24.06 | 26.24 |
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
- The plugin did not uninstall successfully, leaving 2 tables in the database
- statistics
- wp_picks
- Zombie WordPress options detected upon uninstall: 7 options
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- tipster_tap_version
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
Smoke tests 25% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following items
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/tipster-tap/public/views/public.php
- 9× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/tipster-tap/admin/views/troubleshoot.php:45
- > PHP Fatal error
Uncaught Error: Call to undefined function get_transient() in wp-content/plugins/tipster-tap/admin/views/troubleshoot_cache_information.php:17
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/tipster-tap/admin/views/troubleshoot_request_bookies.php:17
- > PHP Fatal error
Uncaught Error: Call to undefined function get_posts() in wp-content/plugins/tipster-tap/admin/views/manage-picks.php:28
- > PHP Fatal error
Uncaught Error: Call to undefined function get_posts() in wp-content/plugins/tipster-tap/admin/views/manage-tipsters.php:30
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/tipster-tap/admin/views/admin.php:21
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/tipster-tap/admin/views/troubleshoot_request_competitions.php:17
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/tipster-tap/admin/views/troubleshoot_request_sports.php:17
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/tipster-tap/admin/views/update-picks-information.php:18
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There are user-side issues you should fix
- > GET request to /wp-admin/admin.php?page=tipster-tap/manage-picks
- > Console-api (warning) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1 1:28609 "jQuery.Deferred exception: wpApiSettings is not defined" "ReferenceError: wpApiSettings is not defined\n at executeFiltrar (/wp-content/plugins/tipster-tap/admin/assets/js/manage-pick.js?ver=4.2.2:97:24)\n at HTMLSelectElement.\u003Canonymous> (/wp-content/plugins/tipster-tap/admin/assets/js/manage-pick.js?ver=4.2.2:121:32)\n at Function.each (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:3129)\n at e.\u003Ccomputed>.each (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:1594)\n at handleTipstersSelect (/wp-content/plugins/tipster-tap/admin/assets/js/manage-pick.js?ver=4.2.2:121:14)\n at Object.init (/wp-content/plugins/tipster-tap/admin/assets/js/manage-pick.js?ver=4.2.2:131:13)\n at HTMLDocument.\u003Canonymous> (/wp-content/plugins/tipster-tap/admin/assets/js/manage-pick.js?ver=4.2.2:139:17)\n at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:26990)\n at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:27292)" undefined
- > GET request to /wp-admin/admin.php?page=tipster-tap/manage-picks
- > Javascript (severe) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1 1:28721 Uncaught ReferenceError: wpApiSettings is not defined
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
2 plugin tags: picks, tipster
tipster-tap/tipster-tap.php Passed 13 tests
This is the main PHP file of "Tipster TAP" version 4.2.2, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
38 characters long description:
Plugin para gestionar tipsters y picks
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
There were no executable files found in this plugin128,702 lines of code in 241 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 98 | 27,006 | 54,602 | 119,340 |
CSS | 121 | 225 | 219 | 6,352 |
PHP | 19 | 414 | 934 | 2,446 |
PO File | 1 | 166 | 177 | 427 |
Sass | 2 | 28 | 3 | 137 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 30.33 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 115.00 |
Average method complexity | 3.39 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 26.00 |
Code structure | ||
---|---|---|
Namespaces | 6 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 73 | |
▷ Static methods | 11 | 15.07% |
▷ Public methods | 63 | 86.30% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 10 | 13.70% |
Functions | 4 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 4 | 100.00% |
Constants | 12 | |
▷ Global constants | 1 | 8.33% |
▷ Class constants | 11 | 91.67% |
▷ Public constants | 11 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
12 PNG files occupy 0.05MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/assets/js/DataTables/DataTables-1.10.16/images/sort_desc_disabled.png | 0.14KB | 0.25KB | 0.00% |
admin/assets/css/jquery-ui/images/ui-icons_444444_256x240.png | 6.83KB | 4.17KB | ▼ 38.86% |
admin/assets/js/DataTables/DataTables-1.10.16/images/sort_desc.png | 0.15KB | 0.25KB | 0.00% |
admin/assets/js/DataTables/DataTables-1.10.16/images/sort_asc.png | 0.16KB | 0.25KB | 0.00% |
assets/img/tipster.png | 15.54KB | 7.55KB | ▼ 51.40% |