Benchmarks
Plugin footprint 65% 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.89MB] [CPU: ▼38.75ms] Passed 4 tests
This is a short check of server-side resources used by Tidekey
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.44 ▼0.02 | 23.07 ▼19.66 |
Dashboard /wp-admin | 3.05 ▼0.25 | 24.62 ▼34.26 |
Posts /wp-admin/edit.php | 3.05 ▼0.31 | 24.40 ▼22.24 |
Add New Post /wp-admin/post-new.php | 3.05 ▼2.84 | 24.40 ▼78.84 |
Media Library /wp-admin/upload.php | 3.05 ▼0.18 | 24.59 ▼9.66 |
Tidekey /wp-admin/options-general.php?page=tidekey | 3.05 | 19.92 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 8 new files
Database: no new tables, 9 new options
New WordPress options |
---|
tidekey_titles |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
tidekey_options |
tidekey_templates |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for Tidekey
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,806 ▲71 | 13.24 ▼1.16 | 1.60 ▼0.30 | 38.16 ▼10.76 |
Dashboard /wp-admin | 2,212 ▲27 | 5.94 ▲1.03 | 110.63 ▲5.06 | 42.12 ▼1.33 |
Posts /wp-admin/edit.php | 2,095 ▲6 | 2.04 ▼0.01 | 33.69 ▼0.23 | 32.20 ▼1.49 |
Add New Post /wp-admin/post-new.php | 1,519 ▼23 | 23.23 ▲5.09 | 628.88 ▲23.94 | 51.74 ▼5.46 |
Media Library /wp-admin/upload.php | 1,388 ▲6 | 4.22 ▲0.00 | 97.23 ▼3.31 | 41.16 ▼1.46 |
Tidekey /wp-admin/options-general.php?page=tidekey | 917 | 2.03 | 26.30 | 31.85 |
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
- This plugin cannot be uninstalled
- > User deprecated in wp-includes/functions.php+5737
Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead.
- Zombie WordPress options detected upon uninstall: 9 options
- db_upgraded
- tidekey_templates
- tidekey_options
- widget_recent-posts
- tidekey_titles
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Please fix the following server-side errors
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=tidekey
- > User deprecated in wp-includes/functions.php+5737
Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead.
- > GET request to /wp-admin/options-general.php?page=tidekey
- > Warning in wp-content/plugins/tidekey/tidekey.php+71
array_map(): Expected parameter 2 to be an array, bool given
- > GET request to /wp-admin/options-general.php?page=tidekey
- > Warning in wp-content/plugins/tidekey/tidekey.php+72
Use of undefined constant ICL_LANGUAGE_CODE - assumed 'ICL_LANGUAGE_CODE' (this will throw an Error in a future version of PHP)
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=tidekey
- > Notice in wp-content/plugins/tidekey/tidekey.php+104
Undefined index: wpml
- > GET request to /wp-admin/options-general.php?page=tidekey
- > User deprecated in wp-includes/functions.php+5463
Function screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/options-general.php?page=tidekey
- > User deprecated in wp-includes/functions.php+5463
Function get_screen_icon is deprecated since version 3.8.0 with no alternative available.
- 3 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=tidekey
- > Notice in wp-content/plugins/tidekey/tidekey.php+97
Undefined index: ind
- 3 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=tidekey
- > Notice in wp-content/plugins/tidekey/tidekey.php+97
Trying to access array offset on value of type null
SRP 50% from 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
Please take a closer look at the following
- 7× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/tidekey/template.php:4
- > PHP Notice
Undefined variable: tab in wp-content/plugins/tidekey/template.php on line 1
- > PHP Notice
Undefined variable: tab in wp-content/plugins/tidekey/template.php on line 3
- > PHP Warning
Use of undefined constant WP_PLUGIN_DIR - assumed 'WP_PLUGIN_DIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/tidekey/tidekey.php on line 13
- > PHP Notice
Undefined variable: tab in wp-content/plugins/tidekey/template.php on line 1
- > PHP Warning
Use of undefined constant WP_PLUGIN_URL - assumed 'WP_PLUGIN_URL' (this will throw an Error in a future version of PHP) in wp-content/plugins/tidekey/tidekey.php on line 14
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/tidekey/tidekey.php:16
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
7 plugin tags: custom, description, meta, seo, tags...
tidekey/tidekey.php Passed 13 tests
The primary PHP file in "Tidekey" version 1.1 is used by WordPress to initiate all plugin functionality
46 characters long description:
Custom meta tags(title, description, keywords)
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
No dangerous file extensions were detected470 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 36 | 16 | 391 |
CSS | 1 | 5 | 0 | 79 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.47 |
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 | 15 | |
▷ Named functions | 15 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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
No PNG files were detected