Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.11MB] [CPU: ▼2.24ms] Passed 4 tests
A check of server-side resources used by WP Taxi Me
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.57 ▲0.10 | 38.72 ▼1.16 |
Dashboard /wp-admin | 3.42 ▲0.12 | 51.84 ▲1.27 |
Posts /wp-admin/edit.php | 3.53 ▲0.18 | 50.48 ▲0.69 |
Add New Post /wp-admin/post-new.php | 6.00 ▲0.11 | 94.57 ▼7.09 |
Media Library /wp-admin/upload.php | 3.34 ▲0.11 | 38.91 ▼1.41 |
WP Taxi Me /wp-admin/options-general.php?page=wptaxime_options_page | 3.29 | 34.86 |
Server storage [IO: ▲0.06MB] [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: 10 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_wp_taxi_me_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for WP Taxi Me
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,836 ▲75 | 14.35 ▲0.00 | 2.06 ▲0.31 | 40.78 ▼3.23 |
Dashboard /wp-admin | 2,212 ▲35 | 5.52 ▼0.14 | 95.44 ▼12.42 | 43.23 ▼12.35 |
Posts /wp-admin/edit.php | 2,123 ▲20 | 1.99 ▲0.05 | 43.81 ▲3.48 | 37.95 ▲0.00 |
Add New Post /wp-admin/post-new.php | 1,540 ▲14 | 23.03 ▼0.22 | 659.25 ▼35.97 | 50.02 ▼3.14 |
Media Library /wp-admin/upload.php | 1,420 ▲20 | 4.22 ▲0.02 | 99.92 ▼19.19 | 43.27 ▼6.37 |
WP Taxi Me /wp-admin/options-general.php?page=wptaxime_options_page | 1,418 | 7.52 | 236.26 | 90.27 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 7 options
- widget_theysaidso_widget
- can_compress_scripts
- widget_wp_taxi_me_widget
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- widget_recent-posts
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
These server-side errors were triggered
- 7 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=wptaxime_options_page
- > Notice in wp-content/plugins/wp-taxi-me/inc/options.php+276
Trying to access array offset on value of type bool
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 fix the following
- 8× PHP files trigger errors when accessed directly with GET requests:
- > PHP Warning
require_once(WP_TAXI_ME_PLUGIN_PATH/inc/options.php): failed to open stream: No such file or directory in wp-content/plugins/wp-taxi-me/inc/core.php on line 3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-taxi-me/inc/options.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-taxi-me/inc/display-options.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/wp-taxi-me/index.php:17
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/wp-taxi-me/inc/widget.php:3
- > PHP Fatal error
require_once(): Failed opening required 'WP_TAXI_ME_PLUGIN_PATH/inc/options.php' (include_path='.:/usr/share/php') in wp-content/plugins/wp-taxi-me/inc/core.php on line 3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-taxi-me/inc/admin-notices.php:20
- > PHP Warning
Use of undefined constant WP_TAXI_ME_PLUGIN_PATH - assumed 'WP_TAXI_ME_PLUGIN_PATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/wp-taxi-me/inc/core.php on line 3
- > PHP Warning
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/options-general.php?page=wptaxime_options_page
- > Network (severe)
http://platform.stumbleupon.com/1/widgets.js - Failed to load resource: net::ERR_NAME_NOT_RESOLVED
- > GET request to /wp-admin/options-general.php?page=wptaxime_options_page
- > Javascript (severe) in unknown
https://button.buffer.com/button/?id=61252719bcf0497f&url=https%3A%2F%2Fwinwar.co.uk%2Fplugins%2Fwp-taxi-me%2F&text=Just%20been%20using%20WP%20Taxi%20Me%20%23WordPress%20plugin&via=winwaruk&count=horizontal&placement=button&utm_source=http%3A%2F%2Fwp.com%2Fwp-admin%2Foptions-general.php%3Fpage%3Dwptaxime_options_page&utm_medium=buffer_button&utm_campaign=buffer 15:647 Uncaught TypeError: Cannot set properties of null (setting 'onclick')
- > GET request to /wp-admin/options-general.php?page=wptaxime_options_page
- > Other (severe) in unknown
chrome-error://chromewebdata/ - Refused to display 'https://developers.google.com/' in a frame because it set 'X-Frame-Options' to 'sameorigin'.
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
3 plugin tags: uber, business, taxi
wp-taxi-me/index.php 92% from 13 tests
The primary PHP file in "WP Taxi Me" version 2.6.1 is used by WordPress to initiate all plugin functionality
Please take the time to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("wp-taxi-me.php" instead of "index.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
There were no executable files found in this plugin565 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 205 | 54 | 414 |
CSS | 2 | 22 | 3 | 151 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.19 |
Average class complexity | 3.00 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 3.00 |
Average method complexity | 1.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 27 | |
▷ Named functions | 27 | 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 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