Benchmarks
Plugin footprint 83% 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.54MB] [CPU: ▼18.13ms] Passed 4 tests
This is a short check of server-side resources used by WP Data Track
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.61 ▲0.15 | 50.27 ▲10.45 |
Dashboard /wp-admin | 3.45 ▲0.10 | 51.03 ▼12.19 |
Posts /wp-admin/edit.php | 3.56 ▲0.21 | 53.30 ▲1.87 |
Add New Post /wp-admin/post-new.php | 3.32 ▼2.56 | 37.33 ▼62.25 |
Media Library /wp-admin/upload.php | 3.37 ▲0.14 | 37.07 ▲0.04 |
Field Types /wp-admin/edit-tags.php?taxonomy=wpdt_types&post_type=wpdt_data | 3.36 | 37.58 |
All Data Tracking /wp-admin/edit.php?post_type=wpdt_data | 3.42 | 38.24 |
Manage Data Track Fields /wp-admin/options-general.php?page=wpdt-plugin | 3.32 | 32.26 |
Add Data Tracking /wp-admin/post-new.php?post_type=wpdt_data | 3.32 | 35.14 |
Server storage [IO: ▲0.21MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 23 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
recovery_mode_email_last_sent |
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
WP Data Track: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,920 ▲174 | 14.45 ▲0.08 | 14.35 ▲12.63 | 41.32 ▲1.00 |
Dashboard /wp-admin | 2,240 ▲63 | 5.63 ▲0.04 | 94.58 ▲5.39 | 42.21 ▲0.46 |
Posts /wp-admin/edit.php | 2,142 ▲45 | 2.03 ▲0.00 | 35.87 ▼2.55 | 33.34 ▼0.06 |
Add New Post /wp-admin/post-new.php | 1,562 ▲36 | 23.03 ▼0.46 | 669.93 ▼21.00 | 58.62 ▼0.13 |
Media Library /wp-admin/upload.php | 1,445 ▲42 | 4.19 ▼0.02 | 94.74 ▼6.90 | 41.57 ▼4.13 |
Field Types /wp-admin/edit-tags.php?taxonomy=wpdt_types&post_type=wpdt_data | 1,316 | 2.12 | 26.78 | 30.49 |
All Data Tracking /wp-admin/edit.php?post_type=wpdt_data | 1,162 | 1.97 | 30.64 | 29.83 |
Manage Data Track Fields /wp-admin/options-general.php?page=wpdt-plugin | 721 | 1.51 | 6.51 | 15.76 |
Add Data Tracking /wp-admin/post-new.php?post_type=wpdt_data | 6,217 | 19.70 | 851.01 | 36.04 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- This plugin did not uninstall successfully, leaving 7 options in the database
- widget_recent-comments
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- recovery_mode_email_last_sent
- can_compress_scripts
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Smoke test failed, please fix the following
- > GET request to /wp-admin/options-general.php?page=wpdt-plugin
- > Error in wp-content/plugins/data-track/inc/admin/options.php+151
Uncaught Error: Call to undefined function wpdt_admin_options_get_tab() in wp-content/plugins/data-track/inc/admin/options.php:151
Stack trace:
#0 wp-content/plugins/data-track/inc/admin/options.php(162): wpdt_options_page_tab_nav()
#1 wp-includes/class-wp-hook.php(310): wpdt_options_page()
#2 wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters()
#3 wp-includes/plugin.php(517): WP_Hook->do_action()
#4 wp-admin/admin.php(259): do_action()
#5 wp-admin/options-general.php(10): require_once('/var/www/wordpr...')
#6 {main}
thrown- > GET request to /wp-admin/post-new.php?post_type=wpdt_data
- > User notice in wp-includes/functions.php+5905
Function register_rest_route was called incorrectly. The REST API route definition for wp-data-track/v1/metaboxes 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.)
- > GET request to /wp-admin/post-new.php?post_type=wpdt_data
- > User notice in wp-includes/functions.php+5905
Function register_rest_route was called incorrectly. The REST API route definition for wp-data-track/v1/remove-field 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
Please take a closer look at the following
- 4× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_rest_url() in wp-content/plugins/data-track/inc/views/admin/options-existing-field.php:21
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/data-track/inc/views/admin/post-metabox-input.php:22
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/data-track/inc/views/post/chart-data.php:21
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr_e() in wp-content/plugins/data-track/inc/views/admin/options-new-field.php:23
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
These are user-side errors you should fix
- 3 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=wpdt_data
- > Javascript (severe) in unknown
/wp-content/plugins/data-track//js/admin.js?ver=1.0.1 104:20 Uncaught SyntaxError: Unexpected token '?'
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Please fix the following attributes:
- Screenshots: No descriptions were found for these screenshots #1, #2, #3, #4, #5 in data-track/assets to your readme.txt
data-track/wp-data-track.php 85% from 13 tests
The main file in "WP Data Track" v. 1.1.7 serves as a complement to information provided in readme.txt and as the entry point to the plugin
It is important to fix the following:
- Domain Path: The domain path is invalid: folder "/languages" does not exist
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("data-track.php" instead of "wp-data-track.php")
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 plugin976 lines of code in 22 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 17 | 142 | 496 | 833 |
JavaScript | 3 | 25 | 92 | 135 |
CSS | 2 | 1 | 0 | 8 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.21 |
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 | 46 | |
▷ Named functions | 29 | 63.04% |
▷ Anonymous functions | 17 | 36.96% |
Constants | 15 | |
▷ Global constants | 15 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There are no PNG files in this plugin